Class: AWSCDK::DataZone::CfnPolicyGrant::GroupPolicyGrantPrincipalProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnPolicyGrant::GroupPolicyGrantPrincipalProperty
- Defined in:
- data_zone/cfn_policy_grant.rb
Overview
The group principal to whom the policy is granted.
Instance Attribute Summary collapse
-
#group_identifier ⇒ String
readonly
The ID Of the group of the group principal.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(group_identifier:) ⇒ GroupPolicyGrantPrincipalProperty
constructor
A new instance of GroupPolicyGrantPrincipalProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(group_identifier:) ⇒ GroupPolicyGrantPrincipalProperty
Returns a new instance of GroupPolicyGrantPrincipalProperty.
989 990 991 992 |
# File 'data_zone/cfn_policy_grant.rb', line 989 def initialize(group_identifier:) @group_identifier = group_identifier Jsii::Type.check_type(@group_identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "groupIdentifier") end |
Instance Attribute Details
#group_identifier ⇒ String (readonly)
The ID Of the group of the group principal.
998 999 1000 |
# File 'data_zone/cfn_policy_grant.rb', line 998 def group_identifier @group_identifier end |
Class Method Details
.jsii_properties ⇒ Object
1000 1001 1002 1003 1004 |
# File 'data_zone/cfn_policy_grant.rb', line 1000 def self.jsii_properties { :group_identifier => "groupIdentifier", } end |
Instance Method Details
#to_jsii ⇒ Object
1006 1007 1008 1009 1010 1011 1012 |
# File 'data_zone/cfn_policy_grant.rb', line 1006 def to_jsii result = {} result.merge!({ "groupIdentifier" => @group_identifier, }) result.compact end |