Class: AWSCDK::EC2::InterfaceVPCEndpointAWSServiceProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::InterfaceVPCEndpointAWSServiceProps
- Defined in:
- ec2/interface_vpc_endpoint_aws_service_props.rb
Overview
Optional properties for the InterfaceVpcEndpointAwsService class.
Instance Attribute Summary collapse
-
#global ⇒ Boolean?
readonly
If true, the service is a global endpoint and its name will not be prefixed with the stack's region.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(global: nil) ⇒ InterfaceVPCEndpointAWSServiceProps
constructor
A new instance of InterfaceVPCEndpointAWSServiceProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(global: nil) ⇒ InterfaceVPCEndpointAWSServiceProps
Returns a new instance of InterfaceVPCEndpointAWSServiceProps.
8 9 10 11 |
# File 'ec2/interface_vpc_endpoint_aws_service_props.rb', line 8 def initialize(global: nil) @global = global Jsii::Type.check_type(@global, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "global") unless @global.nil? end |
Instance Attribute Details
#global ⇒ Boolean? (readonly)
Note:
Default: false
If true, the service is a global endpoint and its name will not be prefixed with the stack's region.
17 18 19 |
# File 'ec2/interface_vpc_endpoint_aws_service_props.rb', line 17 def global @global end |
Class Method Details
.jsii_properties ⇒ Object
19 20 21 22 23 |
# File 'ec2/interface_vpc_endpoint_aws_service_props.rb', line 19 def self.jsii_properties { :global => "global", } end |
Instance Method Details
#to_jsii ⇒ Object
25 26 27 28 29 30 31 |
# File 'ec2/interface_vpc_endpoint_aws_service_props.rb', line 25 def to_jsii result = {} result.merge!({ "global" => @global, }) result.compact end |