Class: AWSCDK::IoT::CfnDomainConfiguration::AuthorizerConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoT::CfnDomainConfiguration::AuthorizerConfigProperty
- Defined in:
- io_t/cfn_domain_configuration.rb
Overview
An object that specifies the authorization service for a domain.
Instance Attribute Summary collapse
-
#allow_authorizer_override ⇒ Boolean, ...
readonly
A Boolean that specifies whether the domain configuration's authorization service can be overridden.
-
#default_authorizer_name ⇒ String?
readonly
The name of the authorization service for a domain configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(allow_authorizer_override: nil, default_authorizer_name: nil) ⇒ AuthorizerConfigProperty
constructor
A new instance of AuthorizerConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(allow_authorizer_override: nil, default_authorizer_name: nil) ⇒ AuthorizerConfigProperty
Returns a new instance of AuthorizerConfigProperty.
722 723 724 725 726 727 |
# File 'io_t/cfn_domain_configuration.rb', line 722 def initialize(allow_authorizer_override: nil, default_authorizer_name: nil) @allow_authorizer_override = Jsii::Type.check_type(@allow_authorizer_override, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "allowAuthorizerOverride") unless @allow_authorizer_override.nil? @default_authorizer_name = Jsii::Type.check_type(@default_authorizer_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "defaultAuthorizerName") unless @default_authorizer_name.nil? end |
Instance Attribute Details
#allow_authorizer_override ⇒ Boolean, ... (readonly)
A Boolean that specifies whether the domain configuration's authorization service can be overridden.
733 734 735 |
# File 'io_t/cfn_domain_configuration.rb', line 733 def @allow_authorizer_override end |
#default_authorizer_name ⇒ String? (readonly)
The name of the authorization service for a domain configuration.
738 739 740 |
# File 'io_t/cfn_domain_configuration.rb', line 738 def @default_authorizer_name end |
Class Method Details
.jsii_properties ⇒ Object
740 741 742 743 744 745 |
# File 'io_t/cfn_domain_configuration.rb', line 740 def self.jsii_properties { :allow_authorizer_override => "allowAuthorizerOverride", :default_authorizer_name => "defaultAuthorizerName", } end |
Instance Method Details
#to_jsii ⇒ Object
747 748 749 750 751 752 753 754 |
# File 'io_t/cfn_domain_configuration.rb', line 747 def to_jsii result = {} result.merge!({ "allowAuthorizerOverride" => @allow_authorizer_override, "defaultAuthorizerName" => @default_authorizer_name, }) result.compact end |