Class: AWSCDK::Route53::CaaRecordValue

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
route53/caa_record_value.rb

Overview

Properties for a CAA record value.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(flag:, tag:, value:) ⇒ CaaRecordValue

Returns a new instance of CaaRecordValue.

Parameters:

  • flag (Numeric)

    The flag.

  • tag (AWSCDK::Route53::CaaTag)

    The tag.

  • value (String)

    The value associated with the tag.



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

#flagNumeric (readonly)

The flag.

Returns:

  • (Numeric)


22
23
24
# File 'route53/caa_record_value.rb', line 22

def flag
  @flag
end

#tagAWSCDK::Route53::CaaTag (readonly)

The tag.



26
27
28
# File 'route53/caa_record_value.rb', line 26

def tag
  @tag
end

#valueString (readonly)

The value associated with the tag.

Returns:

  • (String)


30
31
32
# File 'route53/caa_record_value.rb', line 30

def value
  @value
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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