@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.569Z") @Stability(value=Stable) public interface AppMeshProxyConfigurationProps extends software.amazon.jsii.JsiiSerializable
Example:
// 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.*;
AppMeshProxyConfigurationProps appMeshProxyConfigurationProps = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AppMeshProxyConfigurationProps.Builder
A builder for
AppMeshProxyConfigurationProps |
static class |
AppMeshProxyConfigurationProps.Jsii$Proxy
An implementation for
AppMeshProxyConfigurationProps |
| Modifier and Type | Method and Description |
|---|---|
static AppMeshProxyConfigurationProps.Builder |
builder() |
List<Number> |
getAppPorts()
The list of ports that the application uses.
|
default List<String> |
getEgressIgnoredIPs()
The egress traffic going to these specified IP addresses is ignored and not redirected to the ProxyEgressPort.
|
default List<Number> |
getEgressIgnoredPorts()
The egress traffic going to these specified ports is ignored and not redirected to the ProxyEgressPort.
|
default Number |
getIgnoredGID()
The group ID (GID) of the proxy container as defined by the user parameter in a container definition.
|
default Number |
getIgnoredUID()
The user ID (UID) of the proxy container as defined by the user parameter in a container definition.
|
Number |
getProxyEgressPort()
Specifies the port that outgoing traffic from the AppPorts is directed to.
|
Number |
getProxyIngressPort()
Specifies the port that incoming traffic to the AppPorts is directed to.
|
@Stability(value=Stable) @NotNull List<Number> getAppPorts()
Network traffic to these ports is forwarded to the ProxyIngressPort and ProxyEgressPort.
@Stability(value=Stable) @NotNull Number getProxyEgressPort()
@Stability(value=Stable) @NotNull Number getProxyIngressPort()
@Stability(value=Stable) @Nullable default List<String> getEgressIgnoredIPs()
It can be an empty list.
@Stability(value=Stable) @Nullable default List<Number> getEgressIgnoredPorts()
It can be an empty list.
@Stability(value=Stable) @Nullable default Number getIgnoredGID()
This is used to ensure the proxy ignores its own traffic. If IgnoredUID is specified, this field can be empty.
@Stability(value=Stable) @Nullable default Number getIgnoredUID()
This is used to ensure the proxy ignores its own traffic. If IgnoredGID is specified, this field can be empty.
@Stability(value=Stable) static AppMeshProxyConfigurationProps.Builder builder()
Copyright © 2022. All rights reserved.