Class: AWSCDK::Route53::CfnCIDRCollectionProps

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

Overview

Properties for defining a CfnCidrCollection.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, locations: nil) ⇒ CfnCIDRCollectionProps

Returns a new instance of CfnCIDRCollectionProps.

Parameters:



11
12
13
14
15
16
# File 'route53/cfn_cidr_collection_props.rb', line 11

def initialize(name:, locations: nil)
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @locations = locations
  Jsii::Type.check_type(@locations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfcm91dGU1My5DZm5DaWRyQ29sbGVjdGlvbi5Mb2NhdGlvblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "locations") unless @locations.nil?
end

Instance Attribute Details

#locationsAWSCDK::IResolvable, ... (readonly)

A complex type that contains information about the list of CIDR locations.



27
28
29
# File 'route53/cfn_cidr_collection_props.rb', line 27

def locations
  @locations
end

#nameString (readonly)

The name of a CIDR collection.



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

def name
  @name
end

Class Method Details

.jsii_propertiesObject



29
30
31
32
33
34
# File 'route53/cfn_cidr_collection_props.rb', line 29

def self.jsii_properties
  {
    :name => "name",
    :locations => "locations",
  }
end

Instance Method Details

#to_jsiiObject



36
37
38
39
40
41
42
43
# File 'route53/cfn_cidr_collection_props.rb', line 36

def to_jsii
  result = {}
  result.merge!({
    "name" => @name,
    "locations" => @locations,
  })
  result.compact
end