Class: AWSCDK::MPA::CfnIdentitySourceProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MPA::CfnIdentitySourceProps
- Defined in:
- mpa/cfn_identity_source_props.rb
Overview
Properties for defining a CfnIdentitySource.
Instance Attribute Summary collapse
-
#identity_source_parameters ⇒ AWSCDK::IResolvable, AWSCDK::MPA::CfnIdentitySource::IdentitySourceParametersProperty
readonly
A
IdentitySourceParametersobject. -
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
Tags that you have added to the specified resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(identity_source_parameters:, tags: nil) ⇒ CfnIdentitySourceProps
constructor
A new instance of CfnIdentitySourceProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(identity_source_parameters:, tags: nil) ⇒ CfnIdentitySourceProps
Returns a new instance of CfnIdentitySourceProps.
11 12 13 14 15 16 |
# File 'mpa/cfn_identity_source_props.rb', line 11 def initialize(identity_source_parameters:, tags: nil) @identity_source_parameters = identity_source_parameters.is_a?(Hash) ? ::AWSCDK::MPA::CfnIdentitySource::IdentitySourceParametersProperty.new(**identity_source_parameters.transform_keys(&:to_sym)) : identity_source_parameters Jsii::Type.check_type(@identity_source_parameters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tcGEuQ2ZuSWRlbnRpdHlTb3VyY2UuSWRlbnRpdHlTb3VyY2VQYXJhbWV0ZXJzUHJvcGVydHkifV19fQ==")), "identitySourceParameters") @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#identity_source_parameters ⇒ AWSCDK::IResolvable, AWSCDK::MPA::CfnIdentitySource::IdentitySourceParametersProperty (readonly)
A IdentitySourceParameters object.
Contains details for the resource that provides identities to the identity source. For example, an IAM Identity Center instance.
24 25 26 |
# File 'mpa/cfn_identity_source_props.rb', line 24 def identity_source_parameters @identity_source_parameters end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
Tags that you have added to the specified resource.
29 30 31 |
# File 'mpa/cfn_identity_source_props.rb', line 29 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
31 32 33 34 35 36 |
# File 'mpa/cfn_identity_source_props.rb', line 31 def self.jsii_properties { :identity_source_parameters => "identitySourceParameters", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
38 39 40 41 42 43 44 45 |
# File 'mpa/cfn_identity_source_props.rb', line 38 def to_jsii result = {} result.merge!({ "identitySourceParameters" => @identity_source_parameters, "tags" => @tags, }) result.compact end |