Class CfnVpcIngressConnection

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.apprunner.CfnVpcIngressConnection
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-12T19:33:57.571Z") @Stability(Stable) public class CfnVpcIngressConnection extends CfnResource implements IInspectable, ITaggable
Specify an AWS App Runner VPC Ingress Connection by using the AWS::AppRunner::VpcIngressConnection resource in an AWS CloudFormation template.

The AWS::AppRunner::VpcIngressConnection resource is an AWS App Runner resource type that specifies an App Runner VPC Ingress Connection.

App Runner requires this resource when you want to associate your App Runner service to an Amazon VPC endpoint.

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.apprunner.*;
 CfnVpcIngressConnection cfnVpcIngressConnection = CfnVpcIngressConnection.Builder.create(this, "MyCfnVpcIngressConnection")
         .ingressVpcConfiguration(IngressVpcConfigurationProperty.builder()
                 .vpcEndpointId("vpcEndpointId")
                 .vpcId("vpcId")
                 .build())
         .serviceArn("serviceArn")
         // the properties below are optional
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .vpcIngressConnectionName("vpcIngressConnectionName")
         .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

    • CfnVpcIngressConnection

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

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

      @Stability(Stable) public CfnVpcIngressConnection(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnVpcIngressConnectionProps 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. 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.
    • getAttrDomainName

      @Stability(Stable) @NotNull public String getAttrDomainName()
      The domain name associated with the VPC Ingress Connection resource.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The current status of the VPC Ingress Connection.

      The VPC Ingress Connection displays one of the following statuses: AVAILABLE , PENDING_CREATION , PENDING_UPDATE , PENDING_DELETION , FAILED_CREATION , FAILED_UPDATE , FAILED_DELETION , and DELETED ..

    • getAttrVpcIngressConnectionArn

      @Stability(Stable) @NotNull public String getAttrVpcIngressConnectionArn()
      The Amazon Resource Name (ARN) of the VPC Ingress 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
    • getIngressVpcConfiguration

      @Stability(Stable) @NotNull public Object getIngressVpcConfiguration()
      Specifications for the customer’s Amazon VPC and the related AWS PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource.
    • setIngressVpcConfiguration

      @Stability(Stable) public void setIngressVpcConfiguration(@NotNull IResolvable value)
      Specifications for the customer’s Amazon VPC and the related AWS PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource.
    • setIngressVpcConfiguration

      @Stability(Stable) public void setIngressVpcConfiguration(@NotNull CfnVpcIngressConnection.IngressVpcConfigurationProperty value)
      Specifications for the customer’s Amazon VPC and the related AWS PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource.
    • getServiceArn

      @Stability(Stable) @NotNull public String getServiceArn()
      The Amazon Resource Name (ARN) for this App Runner service that is used to create the VPC Ingress Connection resource.
    • setServiceArn

      @Stability(Stable) public void setServiceArn(@NotNull String value)
      The Amazon Resource Name (ARN) for this App Runner service that is used to create the VPC Ingress Connection resource.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      An optional list of metadata items that you can associate with the VPC Ingress Connection resource.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      An optional list of metadata items that you can associate with the VPC Ingress Connection resource.
    • getVpcIngressConnectionName

      @Stability(Stable) @Nullable public String getVpcIngressConnectionName()
      The customer-provided VPC Ingress Connection name.
    • setVpcIngressConnectionName

      @Stability(Stable) public void setVpcIngressConnectionName(@Nullable String value)
      The customer-provided VPC Ingress Connection name.