Class CfnVPCConnection

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-22T22:42:56.903Z") @Stability(Stable) public class CfnVPCConnection extends CfnResource implements IInspectable, ITaggable
Creates a new VPC connection.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.quicksight.*;
 CfnVPCConnection cfnVPCConnection = CfnVPCConnection.Builder.create(this, "MyCfnVPCConnection")
         .availabilityStatus("availabilityStatus")
         .awsAccountId("awsAccountId")
         .dnsResolvers(List.of("dnsResolvers"))
         .name("name")
         .roleArn("roleArn")
         .securityGroupIds(List.of("securityGroupIds"))
         .subnetIds(List.of("subnetIds"))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .vpcConnectionId("vpcConnectionId")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnVPCConnection

      protected CfnVPCConnection(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnVPCConnection

      protected CfnVPCConnection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnVPCConnection

      @Stability(Stable) public CfnVPCConnection(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnVPCConnectionProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnVPCConnection

      @Stability(Stable) public CfnVPCConnection(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the VPC connection.
    • getAttrCreatedTime

      @Stability(Stable) @NotNull public String getAttrCreatedTime()
      The time that the VPC connection was created.
    • getAttrLastUpdatedTime

      @Stability(Stable) @NotNull public String getAttrLastUpdatedTime()
      The time that the VPC connection was last updated.
    • getAttrNetworkInterfaces

      @Stability(Stable) @NotNull public IResolvable getAttrNetworkInterfaces()
      A list of network interfaces.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The HTTP status of the request.
    • getAttrVpcId

      @Stability(Stable) @NotNull public String getAttrVpcId()
      The Amazon EC2 VPC ID associated with the VPC connection.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getAvailabilityStatus

      @Stability(Stable) @Nullable public String getAvailabilityStatus()
      The availability status of the VPC connection.
    • setAvailabilityStatus

      @Stability(Stable) public void setAvailabilityStatus(@Nullable String value)
      The availability status of the VPC connection.
    • getAwsAccountId

      @Stability(Stable) @Nullable public String getAwsAccountId()
      The AWS account ID of the account where you want to create a new VPC connection.
    • setAwsAccountId

      @Stability(Stable) public void setAwsAccountId(@Nullable String value)
      The AWS account ID of the account where you want to create a new VPC connection.
    • getDnsResolvers

      @Stability(Stable) @Nullable public List<String> getDnsResolvers()
      A list of IP addresses of DNS resolver endpoints for the VPC connection.
    • setDnsResolvers

      @Stability(Stable) public void setDnsResolvers(@Nullable List<String> value)
      A list of IP addresses of DNS resolver endpoints for the VPC connection.
    • getName

      @Stability(Stable) @Nullable public String getName()
      The display name for the VPC connection.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The display name for the VPC connection.
    • getRoleArn

      @Stability(Stable) @Nullable public String getRoleArn()
      The ARN of the IAM role associated with the VPC connection.
    • setRoleArn

      @Stability(Stable) public void setRoleArn(@Nullable String value)
      The ARN of the IAM role associated with the VPC connection.
    • getSecurityGroupIds

      @Stability(Stable) @Nullable public List<String> getSecurityGroupIds()
      The Amazon EC2 security group IDs associated with the VPC connection.
    • setSecurityGroupIds

      @Stability(Stable) public void setSecurityGroupIds(@Nullable List<String> value)
      The Amazon EC2 security group IDs associated with the VPC connection.
    • getSubnetIds

      @Stability(Stable) @Nullable public List<String> getSubnetIds()
      A list of subnet IDs for the VPC connection.
    • setSubnetIds

      @Stability(Stable) public void setSubnetIds(@Nullable List<String> value)
      A list of subnet IDs for the VPC connection.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
    • getVpcConnectionId

      @Stability(Stable) @Nullable public String getVpcConnectionId()
      The ID of the VPC connection that you're creating.
    • setVpcConnectionId

      @Stability(Stable) public void setVpcConnectionId(@Nullable String value)
      The ID of the VPC connection that you're creating.