Class: AWSCDK::DataZone::CfnGroupProfileProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnGroupProfileProps
- Defined in:
- data_zone/cfn_group_profile_props.rb
Overview
Properties for defining a CfnGroupProfile.
Instance Attribute Summary collapse
-
#domain_identifier ⇒ String
readonly
The identifier of the Amazon DataZone domain in which a group profile exists.
-
#group_identifier ⇒ String?
readonly
The ID of the group of a project member.
-
#group_type ⇒ String?
readonly
The type of the group.
-
#role_principal_arn ⇒ String?
readonly
The ARN of the role principal for the group profile.
-
#status ⇒ String?
readonly
The status of a group profile.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(domain_identifier:, group_identifier: nil, group_type: nil, role_principal_arn: nil, status: nil) ⇒ CfnGroupProfileProps
constructor
A new instance of CfnGroupProfileProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(domain_identifier:, group_identifier: nil, group_type: nil, role_principal_arn: nil, status: nil) ⇒ CfnGroupProfileProps
Returns a new instance of CfnGroupProfileProps.
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_identifier ⇒ String (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_identifier ⇒ String? (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_type ⇒ String? (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_arn ⇒ String? (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 |
#status ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |