Class: AWSCDK::CloudFront::CfnDistributionTenant::WebAclCustomizationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudFront::CfnDistributionTenant::WebAclCustomizationProperty
- Defined in:
- cloud_front/cfn_distribution_tenant.rb
Overview
The AWS WAF web ACL customization specified for the distribution tenant.
Instance Attribute Summary collapse
-
#action ⇒ String?
readonly
The action for the AWS WAF web ACL customization.
-
#arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the AWS WAF web ACL.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(action: nil, arn: nil) ⇒ WebAclCustomizationProperty
constructor
A new instance of WebAclCustomizationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(action: nil, arn: nil) ⇒ WebAclCustomizationProperty
Returns a new instance of WebAclCustomizationProperty.
951 952 953 954 955 956 |
# File 'cloud_front/cfn_distribution_tenant.rb', line 951 def initialize(action: nil, arn: nil) @action = action Jsii::Type.check_type(@action, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "action") unless @action.nil? @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") unless @arn.nil? end |
Instance Attribute Details
#action ⇒ String? (readonly)
The action for the AWS WAF web ACL customization.
You can specify override to specify a separate AWS WAF web ACL for the distribution tenant. If you specify disable , the distribution tenant won't have AWS WAF web ACL protections and won't inherit from the multi-tenant distribution.
964 965 966 |
# File 'cloud_front/cfn_distribution_tenant.rb', line 964 def action @action end |
#arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the AWS WAF web ACL.
969 970 971 |
# File 'cloud_front/cfn_distribution_tenant.rb', line 969 def arn @arn end |
Class Method Details
.jsii_properties ⇒ Object
971 972 973 974 975 976 |
# File 'cloud_front/cfn_distribution_tenant.rb', line 971 def self.jsii_properties { :action => "action", :arn => "arn", } end |
Instance Method Details
#to_jsii ⇒ Object
978 979 980 981 982 983 984 985 |
# File 'cloud_front/cfn_distribution_tenant.rb', line 978 def to_jsii result = {} result.merge!({ "action" => @action, "arn" => @arn, }) result.compact end |