Class: AWSCDK::OSIS::CfnPipeline::VPCOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::OSIS::CfnPipeline::VPCOptionsProperty
- Defined in:
- osis/cfn_pipeline.rb
Overview
Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.
Instance Attribute Summary collapse
-
#security_group_ids ⇒ Array<String>?
readonly
A list of security groups associated with the VPC endpoint.
-
#subnet_ids ⇒ Array<String>
readonly
A list of subnet IDs associated with the VPC endpoint.
-
#vpc_attachment_options ⇒ AWSCDK::IResolvable, ...
readonly
Options for attaching a VPC to a pipeline.
-
#vpc_endpoint_management ⇒ String?
readonly
Defines whether you or Amazon OpenSearch Ingestion service create and manage the VPC endpoint configured for the pipeline.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(subnet_ids:, security_group_ids: nil, vpc_attachment_options: nil, vpc_endpoint_management: nil) ⇒ VPCOptionsProperty
constructor
A new instance of VPCOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(subnet_ids:, security_group_ids: nil, vpc_attachment_options: nil, vpc_endpoint_management: nil) ⇒ VPCOptionsProperty
Returns a new instance of VPCOptionsProperty.
958 959 960 961 962 963 964 965 966 967 |
# File 'osis/cfn_pipeline.rb', line 958 def initialize(subnet_ids:, security_group_ids: nil, vpc_attachment_options: nil, vpc_endpoint_management: nil) @subnet_ids = subnet_ids Jsii::Type.check_type(@subnet_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "subnetIds") @security_group_ids = security_group_ids Jsii::Type.check_type(@security_group_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "securityGroupIds") unless @security_group_ids.nil? @vpc_attachment_options = .is_a?(Hash) ? ::AWSCDK::OSIS::CfnPipeline::VPCAttachmentOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@vpc_attachment_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vc2lzLkNmblBpcGVsaW5lLlZwY0F0dGFjaG1lbnRPcHRpb25zUHJvcGVydHkifV19fQ==")), "vpcAttachmentOptions") unless @vpc_attachment_options.nil? @vpc_endpoint_management = vpc_endpoint_management Jsii::Type.check_type(@vpc_endpoint_management, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcEndpointManagement") unless @vpc_endpoint_management.nil? end |
Instance Attribute Details
#security_group_ids ⇒ Array<String>? (readonly)
A list of security groups associated with the VPC endpoint.
978 979 980 |
# File 'osis/cfn_pipeline.rb', line 978 def security_group_ids @security_group_ids end |
#subnet_ids ⇒ Array<String> (readonly)
A list of subnet IDs associated with the VPC endpoint.
973 974 975 |
# File 'osis/cfn_pipeline.rb', line 973 def subnet_ids @subnet_ids end |
#vpc_attachment_options ⇒ AWSCDK::IResolvable, ... (readonly)
Options for attaching a VPC to a pipeline.
983 984 985 |
# File 'osis/cfn_pipeline.rb', line 983 def @vpc_attachment_options end |
#vpc_endpoint_management ⇒ String? (readonly)
Defines whether you or Amazon OpenSearch Ingestion service create and manage the VPC endpoint configured for the pipeline.
988 989 990 |
# File 'osis/cfn_pipeline.rb', line 988 def vpc_endpoint_management @vpc_endpoint_management end |
Class Method Details
.jsii_properties ⇒ Object
990 991 992 993 994 995 996 997 |
# File 'osis/cfn_pipeline.rb', line 990 def self.jsii_properties { :subnet_ids => "subnetIds", :security_group_ids => "securityGroupIds", :vpc_attachment_options => "vpcAttachmentOptions", :vpc_endpoint_management => "vpcEndpointManagement", } end |
Instance Method Details
#to_jsii ⇒ Object
999 1000 1001 1002 1003 1004 1005 1006 1007 1008 |
# File 'osis/cfn_pipeline.rb', line 999 def to_jsii result = {} result.merge!({ "subnetIds" => @subnet_ids, "securityGroupIds" => @security_group_ids, "vpcAttachmentOptions" => @vpc_attachment_options, "vpcEndpointManagement" => @vpc_endpoint_management, }) result.compact end |