Class CfnVPCConnection

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:34.880Z") @Stability(Stable) public class CfnVPCConnection extends CfnResource implements IInspectable
A CloudFormation AWS::QuickSight::VPCConnection.

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();
 
  • 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 Construct scope, @NotNull String id, @Nullable CfnVPCConnectionProps props)
      Create a new AWS::QuickSight::VPCConnection.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
    • CfnVPCConnection

      @Stability(Stable) public CfnVPCConnection(@NotNull Construct scope, @NotNull String id)
      Create a new AWS::QuickSight::VPCConnection.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      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 ID of the VPC connection that you're creating.

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

    • getCfnProperties

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

      @Stability(Stable) @NotNull public TagManager getTags()
      A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
    • 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.
    • getVpcConnectionId

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

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

    • setVpcConnectionId

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

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