Class: AWSCDK::Route53GlobalResolver::CfnFirewallDomainListProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Route53GlobalResolver::CfnFirewallDomainListProps
- Defined in:
- route53_global_resolver/cfn_firewall_domain_list_props.rb
Overview
Properties for defining a CfnFirewallDomainList.
Instance Attribute Summary collapse
- #client_token ⇒ String? readonly
- #description ⇒ String? readonly
-
#domain_file_url ⇒ String?
readonly
S3 URL to import domains from.
-
#domains ⇒ Array<String>?
readonly
An inline list of domains to use for this domain list.
- #global_resolver_id ⇒ String readonly
- #name ⇒ String readonly
- #tags ⇒ Array<AWSCDK::CfnTag>? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(global_resolver_id:, name:, client_token: nil, description: nil, domain_file_url: nil, domains: nil, tags: nil) ⇒ CfnFirewallDomainListProps
constructor
A new instance of CfnFirewallDomainListProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(global_resolver_id:, name:, client_token: nil, description: nil, domain_file_url: nil, domains: nil, tags: nil) ⇒ CfnFirewallDomainListProps
Returns a new instance of CfnFirewallDomainListProps.
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'route53_global_resolver/cfn_firewall_domain_list_props.rb', line 16 def initialize(global_resolver_id:, name:, client_token: nil, description: nil, domain_file_url: nil, domains: nil, tags: nil) @global_resolver_id = global_resolver_id Jsii::Type.check_type(@global_resolver_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "globalResolverId") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @client_token = client_token Jsii::Type.check_type(@client_token, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clientToken") unless @client_token.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @domain_file_url = domain_file_url Jsii::Type.check_type(@domain_file_url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainFileUrl") unless @domain_file_url.nil? @domains = domains Jsii::Type.check_type(@domains, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "domains") unless @domains.nil? @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
#client_token ⇒ String? (readonly)
41 42 43 |
# File 'route53_global_resolver/cfn_firewall_domain_list_props.rb', line 41 def client_token @client_token end |
#description ⇒ String? (readonly)
44 45 46 |
# File 'route53_global_resolver/cfn_firewall_domain_list_props.rb', line 44 def description @description end |
#domain_file_url ⇒ String? (readonly)
S3 URL to import domains from.
49 50 51 |
# File 'route53_global_resolver/cfn_firewall_domain_list_props.rb', line 49 def domain_file_url @domain_file_url end |
#domains ⇒ Array<String>? (readonly)
An inline list of domains to use for this domain list.
54 55 56 |
# File 'route53_global_resolver/cfn_firewall_domain_list_props.rb', line 54 def domains @domains end |
#global_resolver_id ⇒ String (readonly)
35 36 37 |
# File 'route53_global_resolver/cfn_firewall_domain_list_props.rb', line 35 def global_resolver_id @global_resolver_id end |
#name ⇒ String (readonly)
38 39 40 |
# File 'route53_global_resolver/cfn_firewall_domain_list_props.rb', line 38 def name @name end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
57 58 59 |
# File 'route53_global_resolver/cfn_firewall_domain_list_props.rb', line 57 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
59 60 61 62 63 64 65 66 67 68 69 |
# File 'route53_global_resolver/cfn_firewall_domain_list_props.rb', line 59 def self.jsii_properties { :global_resolver_id => "globalResolverId", :name => "name", :client_token => "clientToken", :description => "description", :domain_file_url => "domainFileUrl", :domains => "domains", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'route53_global_resolver/cfn_firewall_domain_list_props.rb', line 71 def to_jsii result = {} result.merge!({ "globalResolverId" => @global_resolver_id, "name" => @name, "clientToken" => @client_token, "description" => @description, "domainFileUrl" => @domain_file_url, "domains" => @domains, "tags" => @tags, }) result.compact end |