AppMeshProxyConfigurationConfigProps Struct
The configuration to use when setting an App Mesh proxy configuration.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const appMeshProxyConfigurationConfigProps: ecs.AppMeshProxyConfigurationConfigProps = {
containerName: 'containerName',
properties: {
appPorts: [123],
proxyEgressPort: 123,
proxyIngressPort: 123,
// the properties below are optional
egressIgnoredIPs: ['egressIgnoredIPs'],
egressIgnoredPorts: [123],
ignoredGID: 123,
ignoredUID: 123,
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ecs as ecs
app_mesh_proxy_configuration_config_props = ecs.AppMeshProxyConfigurationConfigProps(
container_name="containerName",
properties=ecs.AppMeshProxyConfigurationProps(
app_ports=[123],
proxy_egress_port=123,
proxy_ingress_port=123,
# the properties below are optional
egress_ignored_i_ps=["egressIgnoredIPs"],
egress_ignored_ports=[123],
ignored_gid=123,
ignored_uid=123
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecs.*;
AppMeshProxyConfigurationConfigProps appMeshProxyConfigurationConfigProps = AppMeshProxyConfigurationConfigProps.builder()
.containerName("containerName")
.properties(AppMeshProxyConfigurationProps.builder()
.appPorts(List.of(123))
.proxyEgressPort(123)
.proxyIngressPort(123)
// the properties below are optional
.egressIgnoredIPs(List.of("egressIgnoredIPs"))
.egressIgnoredPorts(List.of(123))
.ignoredGID(123)
.ignoredUID(123)
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var appMeshProxyConfigurationConfigProps = new AppMeshProxyConfigurationConfigProps {
ContainerName = "containerName",
Properties = new AppMeshProxyConfigurationProps {
AppPorts = new [] { 123 },
ProxyEgressPort = 123,
ProxyIngressPort = 123,
// the properties below are optional
EgressIgnoredIPs = new [] { "egressIgnoredIPs" },
EgressIgnoredPorts = new [] { 123 },
IgnoredGID = 123,
IgnoredUID = 123
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
appMeshProxyConfigurationConfigProps := &AppMeshProxyConfigurationConfigProps{
ContainerName: jsii.String("containerName"),
Properties: &AppMeshProxyConfigurationProps{
AppPorts: []*f64{
jsii.Number(123),
},
ProxyEgressPort: jsii.Number(123),
ProxyIngressPort: jsii.Number(123),
// the properties below are optional
EgressIgnoredIPs: []*string{
jsii.String("egressIgnoredIPs"),
},
EgressIgnoredPorts: []*f64{
jsii.Number(123),
},
IgnoredGID: jsii.Number(123),
IgnoredUID: jsii.Number(123),
},
}
Properties
containerNamestringcontainer_namestrcontainerNameStringContainerNamestringContainerName*stringrequired#The name of the container that will serve as the App Mesh proxy.
propertiesAppMeshProxyConfigurationPropspropertiesAppMeshProxyConfigurationPropspropertiesAppMeshProxyConfigurationPropsPropertiesAppMeshProxyConfigurationPropsPropertiesAppMeshProxyConfigurationPropsrequired#The set of network configuration parameters to provide the Container Network Interface (CNI) plugin.