Class: AWSCDK::DataZone::CfnGroupProfileProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
data_zone/cfn_group_profile_props.rb

Overview

Properties for defining a CfnGroupProfile.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain_identifier:, group_identifier: nil, group_type: nil, role_principal_arn: nil, status: nil) ⇒ CfnGroupProfileProps

Returns a new instance of CfnGroupProfileProps.

Parameters:

  • domain_identifier (String)

    The identifier of the Amazon DataZone domain in which a group profile exists.

  • group_identifier (String, nil) (defaults to: nil)

    The ID of the group of a project member.

  • group_type (String, nil) (defaults to: nil)

    The type of the group.

  • role_principal_arn (String, nil) (defaults to: nil)

    The ARN of the role principal for the group profile.

  • status (String, nil) (defaults to: nil)

    The status of a group profile.



14
15
16
17
18
19
20
21
22
23
24
25
# File 'data_zone/cfn_group_profile_props.rb', line 14

def initialize(domain_identifier:, group_identifier: nil, group_type: nil, role_principal_arn: nil, status: nil)
  @domain_identifier = domain_identifier
  Jsii::Type.check_type(@domain_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainIdentifier")
  @group_identifier = group_identifier
  Jsii::Type.check_type(@group_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "groupIdentifier") unless @group_identifier.nil?
  @group_type = group_type
  Jsii::Type.check_type(@group_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "groupType") unless @group_type.nil?
  @role_principal_arn = role_principal_arn
  Jsii::Type.check_type(@role_principal_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "rolePrincipalArn") unless @role_principal_arn.nil?
  @status = status
  Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.nil?
end

Instance Attribute Details

#domain_identifierString (readonly)

The identifier of the Amazon DataZone domain in which a group profile exists.



31
32
33
# File 'data_zone/cfn_group_profile_props.rb', line 31

def domain_identifier
  @domain_identifier
end

#group_identifierString? (readonly)

The ID of the group of a project member.



36
37
38
# File 'data_zone/cfn_group_profile_props.rb', line 36

def group_identifier
  @group_identifier
end

#group_typeString? (readonly)

The type of the group.



41
42
43
# File 'data_zone/cfn_group_profile_props.rb', line 41

def group_type
  @group_type
end

#role_principal_arnString? (readonly)

The ARN of the role principal for the group profile.



46
47
48
# File 'data_zone/cfn_group_profile_props.rb', line 46

def role_principal_arn
  @role_principal_arn
end

#statusString? (readonly)

The status of a group profile.



51
52
53
# File 'data_zone/cfn_group_profile_props.rb', line 51

def status
  @status
end

Class Method Details

.jsii_propertiesObject



53
54
55
56
57
58
59
60
61
# File 'data_zone/cfn_group_profile_props.rb', line 53

def self.jsii_properties
  {
    :domain_identifier => "domainIdentifier",
    :group_identifier => "groupIdentifier",
    :group_type => "groupType",
    :role_principal_arn => "rolePrincipalArn",
    :status => "status",
  }
end

Instance Method Details

#to_jsiiObject



63
64
65
66
67
68
69
70
71
72
73
# File 'data_zone/cfn_group_profile_props.rb', line 63

def to_jsii
  result = {}
  result.merge!({
    "domainIdentifier" => @domain_identifier,
    "groupIdentifier" => @group_identifier,
    "groupType" => @group_type,
    "rolePrincipalArn" => @role_principal_arn,
    "status" => @status,
  })
  result.compact
end