@Stability(value=Stable) public static final class CfnTaskDefinition.ProxyConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTaskDefinition.ProxyConfigurationProperty>
CfnTaskDefinition.ProxyConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnTaskDefinition.ProxyConfigurationProperty |
build()
Builds the configured instance.
|
CfnTaskDefinition.ProxyConfigurationProperty.Builder |
containerName(String containerName)
Sets the value of
CfnTaskDefinition.ProxyConfigurationProperty.getContainerName() |
CfnTaskDefinition.ProxyConfigurationProperty.Builder |
proxyConfigurationProperties(IResolvable proxyConfigurationProperties)
|
CfnTaskDefinition.ProxyConfigurationProperty.Builder |
proxyConfigurationProperties(List<? extends Object> proxyConfigurationProperties)
|
CfnTaskDefinition.ProxyConfigurationProperty.Builder |
type(String type)
Sets the value of
CfnTaskDefinition.ProxyConfigurationProperty.getType() |
@Stability(value=Stable) public CfnTaskDefinition.ProxyConfigurationProperty.Builder containerName(String containerName)
CfnTaskDefinition.ProxyConfigurationProperty.getContainerName()containerName - The name of the container that will serve as the App Mesh proxy. This parameter is required.this@Stability(value=Stable) public CfnTaskDefinition.ProxyConfigurationProperty.Builder proxyConfigurationProperties(IResolvable proxyConfigurationProperties)
proxyConfigurationProperties - The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as key-value pairs.
IgnoredUID - (Required) The user ID (UID) of the proxy container as defined by the user parameter in a container definition. This is used to ensure the proxy ignores its own traffic. If IgnoredGID is specified, this field can be empty.IgnoredGID - (Required) The group ID (GID) of the proxy container as defined by the user parameter in a container definition. This is used to ensure the proxy ignores its own traffic. If IgnoredUID is specified, this field can be empty.AppPorts - (Required) The list of ports that the application uses. Network traffic to these ports is forwarded to the ProxyIngressPort and ProxyEgressPort .ProxyIngressPort - (Required) Specifies the port that incoming traffic to the AppPorts is directed to.ProxyEgressPort - (Required) Specifies the port that outgoing traffic from the AppPorts is directed to.EgressIgnoredPorts - (Required) The egress traffic going to the specified ports is ignored and not redirected to the ProxyEgressPort . It can be an empty list.EgressIgnoredIPs - (Required) The egress traffic going to the specified IP addresses is ignored and not redirected to the ProxyEgressPort . It can be an empty list.this@Stability(value=Stable) public CfnTaskDefinition.ProxyConfigurationProperty.Builder proxyConfigurationProperties(List<? extends Object> proxyConfigurationProperties)
proxyConfigurationProperties - The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as key-value pairs.
IgnoredUID - (Required) The user ID (UID) of the proxy container as defined by the user parameter in a container definition. This is used to ensure the proxy ignores its own traffic. If IgnoredGID is specified, this field can be empty.IgnoredGID - (Required) The group ID (GID) of the proxy container as defined by the user parameter in a container definition. This is used to ensure the proxy ignores its own traffic. If IgnoredUID is specified, this field can be empty.AppPorts - (Required) The list of ports that the application uses. Network traffic to these ports is forwarded to the ProxyIngressPort and ProxyEgressPort .ProxyIngressPort - (Required) Specifies the port that incoming traffic to the AppPorts is directed to.ProxyEgressPort - (Required) Specifies the port that outgoing traffic from the AppPorts is directed to.EgressIgnoredPorts - (Required) The egress traffic going to the specified ports is ignored and not redirected to the ProxyEgressPort . It can be an empty list.EgressIgnoredIPs - (Required) The egress traffic going to the specified IP addresses is ignored and not redirected to the ProxyEgressPort . It can be an empty list.this@Stability(value=Stable) public CfnTaskDefinition.ProxyConfigurationProperty.Builder type(String type)
CfnTaskDefinition.ProxyConfigurationProperty.getType()type - The proxy type.
The only supported value is APPMESH .this@Stability(value=Stable) public CfnTaskDefinition.ProxyConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnTaskDefinition.ProxyConfigurationProperty>CfnTaskDefinition.ProxyConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.