aws-cdk-lib.aws_apprunner.CfnService.EgressConfigurationProperty

interface EgressConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.AppRunner.CfnService.EgressConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsapprunner#CfnService_EgressConfigurationProperty
Javasoftware.amazon.awscdk.services.apprunner.CfnService.EgressConfigurationProperty
Pythonaws_cdk.aws_apprunner.CfnService.EgressConfigurationProperty
TypeScript aws-cdk-lib » 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 { aws_apprunner as apprunner } from 'aws-cdk-lib';
const egressConfigurationProperty: apprunner.CfnService.EgressConfigurationProperty = {
  egressType: 'egressType',

  // the properties below are optional
  vpcConnectorArn: 'vpcConnectorArn',
};

Properties

NameTypeDescription
egressTypestringThe type of egress configuration.
vpcConnectorArn?stringThe 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 .