Class: AWSCDK::OpenSearchService::CfnDomain::IdpProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
open_search_service/cfn_domain.rb

Overview

The SAML Identity Provider's information.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(entity_id:, metadata_content:) ⇒ IdpProperty

Returns a new instance of IdpProperty.

Parameters:

  • entity_id (String)

    The unique entity ID of the application in the SAML identity provider.

  • metadata_content (String)

    The metadata of the SAML application, in XML format.



1808
1809
1810
1811
1812
1813
# File 'open_search_service/cfn_domain.rb', line 1808

def initialize(entity_id:, metadata_content:)
  @entity_id = entity_id
  Jsii::Type.check_type(@entity_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "entityId")
  @metadata_content = 
  Jsii::Type.check_type(@metadata_content, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "metadataContent")
end

Instance Attribute Details

#entity_idString (readonly)

The unique entity ID of the application in the SAML identity provider.



1819
1820
1821
# File 'open_search_service/cfn_domain.rb', line 1819

def entity_id
  @entity_id
end

#metadata_contentString (readonly)

The metadata of the SAML application, in XML format.



1824
1825
1826
# File 'open_search_service/cfn_domain.rb', line 1824

def 
  @metadata_content
end

Class Method Details

.jsii_propertiesObject



1826
1827
1828
1829
1830
1831
# File 'open_search_service/cfn_domain.rb', line 1826

def self.jsii_properties
  {
    :entity_id => "entityId",
    :metadata_content => "metadataContent",
  }
end

Instance Method Details

#to_jsiiObject



1833
1834
1835
1836
1837
1838
1839
1840
# File 'open_search_service/cfn_domain.rb', line 1833

def to_jsii
  result = {}
  result.merge!({
    "entityId" => @entity_id,
    "metadataContent" => @metadata_content,
  })
  result.compact
end