Class: AWSCDK::Deadline::CfnLicenseEndpointProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Deadline::CfnLicenseEndpointProps
- Defined in:
- deadline/cfn_license_endpoint_props.rb
Overview
Properties for defining a CfnLicenseEndpoint.
Instance Attribute Summary collapse
-
#security_group_ids ⇒ Array<String>
readonly
The identifier of the Amazon EC2 security group that controls access to the license endpoint.
-
#subnet_ids ⇒ Array<String>
readonly
Identifies the VPC subnets that can connect to a license endpoint.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
The tags to add to your license endpoint.
-
#vpc_id ⇒ String
readonly
The VPC (virtual private cloud) ID associated with the license endpoint.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(security_group_ids:, subnet_ids:, vpc_id:, tags: nil) ⇒ CfnLicenseEndpointProps
constructor
A new instance of CfnLicenseEndpointProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(security_group_ids:, subnet_ids:, vpc_id:, tags: nil) ⇒ CfnLicenseEndpointProps
Returns a new instance of CfnLicenseEndpointProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'deadline/cfn_license_endpoint_props.rb', line 13 def initialize(security_group_ids:, subnet_ids:, vpc_id:, tags: nil) @security_group_ids = security_group_ids Jsii::Type.check_type(@security_group_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "securityGroupIds") @subnet_ids = subnet_ids Jsii::Type.check_type(@subnet_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "subnetIds") @vpc_id = vpc_id Jsii::Type.check_type(@vpc_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcId") @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
#security_group_ids ⇒ Array<String> (readonly)
The identifier of the Amazon EC2 security group that controls access to the license endpoint.
28 29 30 |
# File 'deadline/cfn_license_endpoint_props.rb', line 28 def security_group_ids @security_group_ids end |
#subnet_ids ⇒ Array<String> (readonly)
Identifies the VPC subnets that can connect to a license endpoint.
33 34 35 |
# File 'deadline/cfn_license_endpoint_props.rb', line 33 def subnet_ids @subnet_ids end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
The tags to add to your license endpoint.
Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.
45 46 47 |
# File 'deadline/cfn_license_endpoint_props.rb', line 45 def @tags end |
#vpc_id ⇒ String (readonly)
The VPC (virtual private cloud) ID associated with the license endpoint.
38 39 40 |
# File 'deadline/cfn_license_endpoint_props.rb', line 38 def vpc_id @vpc_id end |
Class Method Details
.jsii_properties ⇒ Object
47 48 49 50 51 52 53 54 |
# File 'deadline/cfn_license_endpoint_props.rb', line 47 def self.jsii_properties { :security_group_ids => "securityGroupIds", :subnet_ids => "subnetIds", :vpc_id => "vpcId", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
56 57 58 59 60 61 62 63 64 65 |
# File 'deadline/cfn_license_endpoint_props.rb', line 56 def to_jsii result = {} result.merge!({ "securityGroupIds" => @security_group_ids, "subnetIds" => @subnet_ids, "vpcId" => @vpc_id, "tags" => @tags, }) result.compact end |