Class: AWSCDK::Verifiedpermissions::CfnIdentitySource::CognitoGroupConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
verifiedpermissions/cfn_identity_source.rb

Overview

The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(group_entity_type:) ⇒ CognitoGroupConfigurationProperty

Returns a new instance of CognitoGroupConfigurationProperty.

Parameters:

  • group_entity_type (String)

    The name of the schema entity type that's mapped to the user pool group.



569
570
571
572
# File 'verifiedpermissions/cfn_identity_source.rb', line 569

def initialize(group_entity_type:)
  @group_entity_type = group_entity_type
  Jsii::Type.check_type(@group_entity_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "groupEntityType")
end

Instance Attribute Details

#group_entity_typeString (readonly)

The name of the schema entity type that's mapped to the user pool group.

Defaults to AWS::CognitoGroup .



580
581
582
# File 'verifiedpermissions/cfn_identity_source.rb', line 580

def group_entity_type
  @group_entity_type
end

Class Method Details

.jsii_propertiesObject



582
583
584
585
586
# File 'verifiedpermissions/cfn_identity_source.rb', line 582

def self.jsii_properties
  {
    :group_entity_type => "groupEntityType",
  }
end

Instance Method Details

#to_jsiiObject



588
589
590
591
592
593
594
# File 'verifiedpermissions/cfn_identity_source.rb', line 588

def to_jsii
  result = {}
  result.merge!({
    "groupEntityType" => @group_entity_type,
  })
  result.compact
end