Class: AWSCDK::Grafana::CfnWorkspace::IdpMetadataProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Grafana::CfnWorkspace::IdpMetadataProperty
- Defined in:
- grafana/cfn_workspace.rb
Overview
A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.
You can specify the metadata either by providing a URL to its location in the url parameter, or by specifying the full metadata in XML format in the xml parameter. Specifying both will cause an error.
Instance Attribute Summary collapse
-
#url ⇒ String?
readonly
The URL of the location containing the IdP metadata.
-
#xml ⇒ String?
readonly
The full IdP metadata, in XML format.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(url: nil, xml: nil) ⇒ IdpMetadataProperty
constructor
A new instance of IdpMetadataProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(url: nil, xml: nil) ⇒ IdpMetadataProperty
Returns a new instance of IdpMetadataProperty.
875 876 877 878 879 880 |
# File 'grafana/cfn_workspace.rb', line 875 def initialize(url: nil, xml: nil) @url = url Jsii::Type.check_type(@url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "url") unless @url.nil? @xml = xml Jsii::Type.check_type(@xml, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "xml") unless @xml.nil? end |
Instance Attribute Details
#url ⇒ String? (readonly)
The URL of the location containing the IdP metadata.
886 887 888 |
# File 'grafana/cfn_workspace.rb', line 886 def url @url end |
#xml ⇒ String? (readonly)
The full IdP metadata, in XML format.
891 892 893 |
# File 'grafana/cfn_workspace.rb', line 891 def xml @xml end |
Class Method Details
.jsii_properties ⇒ Object
893 894 895 896 897 898 |
# File 'grafana/cfn_workspace.rb', line 893 def self.jsii_properties { :url => "url", :xml => "xml", } end |
Instance Method Details
#to_jsii ⇒ Object
900 901 902 903 904 905 906 907 |
# File 'grafana/cfn_workspace.rb', line 900 def to_jsii result = {} result.merge!({ "url" => @url, "xml" => @xml, }) result.compact end |