Class: AWSCDK::Route53::CaaRecordValue
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Route53::CaaRecordValue
- Defined in:
- route53/caa_record_value.rb
Overview
Properties for a CAA record value.
Instance Attribute Summary collapse
-
#flag ⇒ Numeric
readonly
The flag.
-
#tag ⇒ AWSCDK::Route53::CaaTag
readonly
The tag.
-
#value ⇒ String
readonly
The value associated with the tag.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(flag:, tag:, value:) ⇒ CaaRecordValue
constructor
A new instance of CaaRecordValue.
- #to_jsii ⇒ Object
Constructor Details
#initialize(flag:, tag:, value:) ⇒ CaaRecordValue
Returns a new instance of CaaRecordValue.
10 11 12 13 14 15 16 17 |
# File 'route53/caa_record_value.rb', line 10 def initialize(flag:, tag:, value:) @flag = flag Jsii::Type.check_type(@flag, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "flag") @tag = tag Jsii::Type.check_type(@tag, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfcm91dGU1My5DYWFUYWcifQ==")), "tag") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#flag ⇒ Numeric (readonly)
The flag.
22 23 24 |
# File 'route53/caa_record_value.rb', line 22 def flag @flag end |
#tag ⇒ AWSCDK::Route53::CaaTag (readonly)
The tag.
26 27 28 |
# File 'route53/caa_record_value.rb', line 26 def tag @tag end |
#value ⇒ String (readonly)
The value associated with the tag.
30 31 32 |
# File 'route53/caa_record_value.rb', line 30 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'route53/caa_record_value.rb', line 32 def self.jsii_properties { :flag => "flag", :tag => "tag", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'route53/caa_record_value.rb', line 40 def to_jsii result = {} result.merge!({ "flag" => @flag, "tag" => @tag, "value" => @value, }) result.compact end |