Class VpcIngressConnection
(experimental) The App Runner VPC Ingress Connection.
Inherited Members
Namespace: Amazon.CDK.AWS.AppRunner.Alpha
Assembly: Amazon.CDK.AWS.AppRunner.Alpha.dll
Syntax (csharp)
public class VpcIngressConnection : Resource, IVpcIngressConnection, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class VpcIngressConnection Inherits Resource Implements IVpcIngressConnection, IResource, IConstruct, IDependable, IEnvironmentAware
Remarks
Stability: Experimental
Resource: AWS::AppRunner::VpcIngressConnection
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.EC2;
Vpc vpc;
var interfaceVpcEndpoint = new InterfaceVpcEndpoint(this, "MyVpcEndpoint", new InterfaceVpcEndpointProps {
Vpc = vpc,
Service = InterfaceVpcEndpointAwsService.APP_RUNNER_REQUESTS,
PrivateDnsEnabled = false
});
var service = new Service(this, "Service", new ServiceProps {
Source = Source.FromEcrPublic(new EcrPublicProps {
ImageConfiguration = new ImageConfiguration {
Port = 8000
},
ImageIdentifier = "public.ecr.aws/aws-containers/hello-app-runner:latest"
}),
IsPubliclyAccessible = false
});
new VpcIngressConnection(this, "VpcIngressConnection", new VpcIngressConnectionProps {
Vpc = vpc,
InterfaceVpcEndpoint = interfaceVpcEndpoint,
Service = service
});
Synopsis
Constructors
| VpcIngressConnection(Construct, string, IVpcIngressConnectionProps) | (experimental) The App Runner VPC Ingress Connection. |
Properties
| DomainName | (experimental) The domain name associated with the VPC Ingress Connection resource. |
| PROPERTY_INJECTION_ID | (experimental) Uniquely identifies this class. |
| Status | (experimental) The current status of the VPC Ingress Connection. |
| VpcIngressConnectionArn | (experimental) The ARN of the VPC Ingress Connection. |
| VpcIngressConnectionName | (experimental) The name of the VPC Ingress Connection. |
Methods
| FromArn(Construct, string, string) | (experimental) Imports an App Runner VPC Ingress Connection from its ARN. |
| FromVpcIngressConnectionAttributes(Construct, string, IVpcIngressConnectionAttributes) | (experimental) Import from VPC Ingress Connection from attributes. |
Constructors
VpcIngressConnection(Construct, string, IVpcIngressConnectionProps)
(experimental) The App Runner VPC Ingress Connection.
public VpcIngressConnection(Construct scope, string id, IVpcIngressConnectionProps props)
Parameters
- scope Construct
- id string
- props IVpcIngressConnectionProps
Remarks
Stability: Experimental
Properties
DomainName
(experimental) The domain name associated with the VPC Ingress Connection resource.
public virtual string DomainName { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
Stability: Experimental
Status
(experimental) The current status of the VPC Ingress Connection.
public virtual string Status { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
VpcIngressConnectionArn
(experimental) The ARN of the VPC Ingress Connection.
public virtual string VpcIngressConnectionArn { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
VpcIngressConnectionName
(experimental) The name of the VPC Ingress Connection.
public virtual string VpcIngressConnectionName { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
Methods
FromArn(Construct, string, string)
(experimental) Imports an App Runner VPC Ingress Connection from its ARN.
public static IVpcIngressConnection FromArn(Construct scope, string id, string vpcIngressConnectionArn)
Parameters
Returns
Remarks
Stability: Experimental
FromVpcIngressConnectionAttributes(Construct, string, IVpcIngressConnectionAttributes)
(experimental) Import from VPC Ingress Connection from attributes.
public static IVpcIngressConnection FromVpcIngressConnectionAttributes(Construct scope, string id, IVpcIngressConnectionAttributes attrs)
Parameters
- scope Construct
- id string
- attrs IVpcIngressConnectionAttributes
Returns
Remarks
Stability: Experimental