Class: AWSCDK::IoT::CfnDomainConfiguration::AuthorizerConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t/cfn_domain_configuration.rb

Overview

An object that specifies the authorization service for a domain.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(allow_authorizer_override: nil, default_authorizer_name: nil) ⇒ AuthorizerConfigProperty

Returns a new instance of AuthorizerConfigProperty.

Parameters:

  • allow_authorizer_override (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    A Boolean that specifies whether the domain configuration's authorization service can be overridden.

  • default_authorizer_name (String, nil) (defaults to: nil)

    The name of the authorization service for a domain configuration.



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 = 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 = 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_overrideBoolean, ... (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
  @allow_authorizer_override
end

#default_authorizer_nameString? (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
  @default_authorizer_name
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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