Class: AWSCDK::QuickSight::CfnVPCConnectionProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_vpc_connection_props.rb

Overview

Properties for defining a CfnVPCConnection.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(availability_status: nil, aws_account_id: nil, dns_resolvers: nil, name: nil, role_arn: nil, security_group_ids: nil, subnet_ids: nil, tags: nil, vpc_connection_id: nil) ⇒ CfnVPCConnectionProps

Returns a new instance of CfnVPCConnectionProps.

Parameters:

  • availability_status (String, nil) (defaults to: nil)

    The availability status of the VPC connection.

  • aws_account_id (String, nil) (defaults to: nil)

    The AWS account ID of the account where you want to create a new VPC connection.

  • dns_resolvers (Array<String>, nil) (defaults to: nil)

    A list of IP addresses of DNS resolver endpoints for the VPC connection.

  • name (String, nil) (defaults to: nil)

    The display name for the VPC connection.

  • role_arn (String, nil) (defaults to: nil)

    The ARN of the IAM role associated with the VPC connection.

  • security_group_ids (Array<String>, nil) (defaults to: nil)

    The Amazon EC2 security group IDs associated with the VPC connection.

  • subnet_ids (Array<String>, nil) (defaults to: nil)

    A list of subnet IDs for the VPC connection.

  • tags (Array<AWSCDK::CfnTag>, nil) (defaults to: nil)

    A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.

  • vpc_connection_id (String, nil) (defaults to: nil)

    The ID of the VPC connection that you're creating.



18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'quick_sight/cfn_vpc_connection_props.rb', line 18

def initialize(availability_status: nil, aws_account_id: nil, dns_resolvers: nil, name: nil, role_arn: nil, security_group_ids: nil, subnet_ids: nil, tags: nil, vpc_connection_id: nil)
  @availability_status = availability_status
  Jsii::Type.check_type(@availability_status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "availabilityStatus") unless @availability_status.nil?
  @aws_account_id = 
  Jsii::Type.check_type(@aws_account_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "awsAccountId") unless @aws_account_id.nil?
  @dns_resolvers = dns_resolvers
  Jsii::Type.check_type(@dns_resolvers, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "dnsResolvers") unless @dns_resolvers.nil?
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil?
  @role_arn = role_arn
  Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") unless @role_arn.nil?
  @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?
  @subnet_ids = subnet_ids
  Jsii::Type.check_type(@subnet_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "subnetIds") unless @subnet_ids.nil?
  @tags = tags.is_a?(Array) ? tags.map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : tags
  Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil?
  @vpc_connection_id = vpc_connection_id
  Jsii::Type.check_type(@vpc_connection_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcConnectionId") unless @vpc_connection_id.nil?
end

Instance Attribute Details

#availability_statusString? (readonly)

The availability status of the VPC connection.



43
44
45
# File 'quick_sight/cfn_vpc_connection_props.rb', line 43

def availability_status
  @availability_status
end

#aws_account_idString? (readonly)

The AWS account ID of the account where you want to create a new VPC connection.



48
49
50
# File 'quick_sight/cfn_vpc_connection_props.rb', line 48

def 
  @aws_account_id
end

#dns_resolversArray<String>? (readonly)

A list of IP addresses of DNS resolver endpoints for the VPC connection.



53
54
55
# File 'quick_sight/cfn_vpc_connection_props.rb', line 53

def dns_resolvers
  @dns_resolvers
end

#nameString? (readonly)

The display name for the VPC connection.



58
59
60
# File 'quick_sight/cfn_vpc_connection_props.rb', line 58

def name
  @name
end

#role_arnString? (readonly)

The ARN of the IAM role associated with the VPC connection.



63
64
65
# File 'quick_sight/cfn_vpc_connection_props.rb', line 63

def role_arn
  @role_arn
end

#security_group_idsArray<String>? (readonly)

The Amazon EC2 security group IDs associated with the VPC connection.



68
69
70
# File 'quick_sight/cfn_vpc_connection_props.rb', line 68

def security_group_ids
  @security_group_ids
end

#subnet_idsArray<String>? (readonly)

A list of subnet IDs for the VPC connection.



73
74
75
# File 'quick_sight/cfn_vpc_connection_props.rb', line 73

def subnet_ids
  @subnet_ids
end

#tagsArray<AWSCDK::CfnTag>? (readonly)

A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.



78
79
80
# File 'quick_sight/cfn_vpc_connection_props.rb', line 78

def tags
  @tags
end

#vpc_connection_idString? (readonly)

The ID of the VPC connection that you're creating.

This ID is a unique identifier for each AWS Region in an AWS account.



85
86
87
# File 'quick_sight/cfn_vpc_connection_props.rb', line 85

def vpc_connection_id
  @vpc_connection_id
end

Class Method Details

.jsii_propertiesObject



87
88
89
90
91
92
93
94
95
96
97
98
99
# File 'quick_sight/cfn_vpc_connection_props.rb', line 87

def self.jsii_properties
  {
    :availability_status => "availabilityStatus",
    :aws_account_id => "awsAccountId",
    :dns_resolvers => "dnsResolvers",
    :name => "name",
    :role_arn => "roleArn",
    :security_group_ids => "securityGroupIds",
    :subnet_ids => "subnetIds",
    :tags => "tags",
    :vpc_connection_id => "vpcConnectionId",
  }
end

Instance Method Details

#to_jsiiObject



101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# File 'quick_sight/cfn_vpc_connection_props.rb', line 101

def to_jsii
  result = {}
  result.merge!({
    "availabilityStatus" => @availability_status,
    "awsAccountId" => @aws_account_id,
    "dnsResolvers" => @dns_resolvers,
    "name" => @name,
    "roleArn" => @role_arn,
    "securityGroupIds" => @security_group_ids,
    "subnetIds" => @subnet_ids,
    "tags" => @tags,
    "vpcConnectionId" => @vpc_connection_id,
  })
  result.compact
end