interface EgressConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppRunner.CfnService.EgressConfigurationProperty |
Java | software.amazon.awscdk.services.apprunner.CfnService.EgressConfigurationProperty |
Python | aws_cdk.aws_apprunner.CfnService.EgressConfigurationProperty |
TypeScript | @aws-cdk/aws-apprunner » CfnService » EgressConfigurationProperty |
Describes configuration settings related to outbound network traffic of an AWS App Runner service.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apprunner from '@aws-cdk/aws-apprunner';
const egressConfigurationProperty: apprunner.CfnService.EgressConfigurationProperty = {
egressType: 'egressType',
// the properties below are optional
vpcConnectorArn: 'vpcConnectorArn',
};
Properties
Name | Type | Description |
---|---|---|
egress | string | The type of egress configuration. |
vpc | string | The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner service. |
egressType
Type:
string
The type of egress configuration.
Set to DEFAULT
for access to resources hosted on public networks.
Set to VPC
to associate your service to a custom VPC specified by VpcConnectorArn
.
vpcConnectorArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner service.
Only valid when EgressType = VPC
.