Class: AWSCDK::DeviceFarm::CfnVPCEConfigurationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DeviceFarm::CfnVPCEConfigurationProps
- Defined in:
- device_farm/cfn_vpce_configuration_props.rb
Overview
Properties for defining a CfnVPCEConfiguration.
Instance Attribute Summary collapse
-
#service_dns_name ⇒ String
readonly
The DNS name that Device Farm will use to map to the private service you want to access.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
An array of key-value pairs to apply to this resource.
-
#vpce_configuration_description ⇒ String?
readonly
An optional description that provides details about your VPC endpoint configuration.
-
#vpce_configuration_name ⇒ String
readonly
The friendly name you give to your VPC endpoint configuration to manage your configurations more easily.
-
#vpce_service_name ⇒ String
readonly
The name of the VPC endpoint service that you want to access from Device Farm.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(service_dns_name:, vpce_configuration_name:, vpce_service_name:, tags: nil, vpce_configuration_description: nil) ⇒ CfnVPCEConfigurationProps
constructor
A new instance of CfnVPCEConfigurationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(service_dns_name:, vpce_configuration_name:, vpce_service_name:, tags: nil, vpce_configuration_description: nil) ⇒ CfnVPCEConfigurationProps
Returns a new instance of CfnVPCEConfigurationProps.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'device_farm/cfn_vpce_configuration_props.rb', line 14 def initialize(service_dns_name:, vpce_configuration_name:, vpce_service_name:, tags: nil, vpce_configuration_description: nil) @service_dns_name = service_dns_name Jsii::Type.check_type(@service_dns_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "serviceDnsName") @vpce_configuration_name = vpce_configuration_name Jsii::Type.check_type(@vpce_configuration_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpceConfigurationName") @vpce_service_name = vpce_service_name Jsii::Type.check_type(@vpce_service_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpceServiceName") @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? @vpce_configuration_description = vpce_configuration_description Jsii::Type.check_type(@vpce_configuration_description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpceConfigurationDescription") unless @vpce_configuration_description.nil? end |
Instance Attribute Details
#service_dns_name ⇒ String (readonly)
The DNS name that Device Farm will use to map to the private service you want to access.
31 32 33 |
# File 'device_farm/cfn_vpce_configuration_props.rb', line 31 def service_dns_name @service_dns_name end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
An array of key-value pairs to apply to this resource.
For more information, see Tag in the guide .
50 51 52 |
# File 'device_farm/cfn_vpce_configuration_props.rb', line 50 def @tags end |
#vpce_configuration_description ⇒ String? (readonly)
An optional description that provides details about your VPC endpoint configuration.
55 56 57 |
# File 'device_farm/cfn_vpce_configuration_props.rb', line 55 def vpce_configuration_description @vpce_configuration_description end |
#vpce_configuration_name ⇒ String (readonly)
The friendly name you give to your VPC endpoint configuration to manage your configurations more easily.
36 37 38 |
# File 'device_farm/cfn_vpce_configuration_props.rb', line 36 def vpce_configuration_name @vpce_configuration_name end |
#vpce_service_name ⇒ String (readonly)
The name of the VPC endpoint service that you want to access from Device Farm.
The name follows the format com.amazonaws.vpce.us-west-2.vpce-svc-id .
43 44 45 |
# File 'device_farm/cfn_vpce_configuration_props.rb', line 43 def vpce_service_name @vpce_service_name end |
Class Method Details
.jsii_properties ⇒ Object
57 58 59 60 61 62 63 64 65 |
# File 'device_farm/cfn_vpce_configuration_props.rb', line 57 def self.jsii_properties { :service_dns_name => "serviceDnsName", :vpce_configuration_name => "vpceConfigurationName", :vpce_service_name => "vpceServiceName", :tags => "tags", :vpce_configuration_description => "vpceConfigurationDescription", } end |
Instance Method Details
#to_jsii ⇒ Object
67 68 69 70 71 72 73 74 75 76 77 |
# File 'device_farm/cfn_vpce_configuration_props.rb', line 67 def to_jsii result = {} result.merge!({ "serviceDnsName" => @service_dns_name, "vpceConfigurationName" => @vpce_configuration_name, "vpceServiceName" => @vpce_service_name, "tags" => @tags, "vpceConfigurationDescription" => @vpce_configuration_description, }) result.compact end |