Class CfnVpcIngressConnection
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.apprunner.CfnVpcIngressConnection
- 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:40.036Z")
@Stability(Stable)
public class CfnVpcIngressConnection
extends CfnResource
implements IInspectable
A CloudFormation
AWS::AppRunner::VpcIngressConnection.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnVpcIngressConnection.static interfaceSpecifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with the VPC Ingress Connection resource.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnVpcIngressConnection(Construct scope, String id, CfnVpcIngressConnectionProps props) Create a newAWS::AppRunner::VpcIngressConnection.protectedCfnVpcIngressConnection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnVpcIngressConnection(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe domain name associated with the VPC Ingress Connection resource.The current status of the VPC Ingress Connection.The Amazon Resource Name (ARN) of the VPC Ingress Connection.Specifications for the customer’s Amazon VPC and the related AWS PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource.The Amazon Resource Name (ARN) for this App Runner service that is used to create the VPC Ingress Connection resource.getTags()An optional list of metadata items that you can associate with the VPC Ingress Connection resource.The customer-provided VPC Ingress Connection name.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidSpecifications for the customer’s Amazon VPC and the related AWS PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource.voidSpecifications for the customer’s Amazon VPC and the related AWS PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource.voidsetServiceArn(String value) The Amazon Resource Name (ARN) for this App Runner service that is used to create the VPC Ingress Connection resource.voidThe customer-provided VPC Ingress Connection name.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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 Construct scope, @NotNull String id, @NotNull CfnVpcIngressConnectionProps props) Create a newAWS::AppRunner::VpcIngressConnection.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrDomainName
The domain name associated with the VPC Ingress Connection resource. -
getAttrStatus
The current status of the VPC Ingress Connection.The VPC Ingress Connection displays one of the following statuses:
AVAILABLE,PENDING_CREATION,PENDING_DELETION,FAILED_CREATION,FAILED_DELETION,PENDNG_UPDATE,FAILED_UPDATE, andDELETED. -
getAttrVpcIngressConnectionArn
The Amazon Resource Name (ARN) of the VPC Ingress Connection. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
An optional list of metadata items that you can associate with the VPC Ingress Connection resource.A tag is a key-value pair.
-
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
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
The Amazon Resource Name (ARN) for this App Runner service that is used to create the VPC Ingress Connection resource. -
setServiceArn
The Amazon Resource Name (ARN) for this App Runner service that is used to create the VPC Ingress Connection resource. -
getVpcIngressConnectionName
The customer-provided VPC Ingress Connection name. -
setVpcIngressConnectionName
The customer-provided VPC Ingress Connection name.
-