
com.pulumi.azurenative.awsconnector.outputs.ProxyConfigurationResponse Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.awsconnector.outputs;
import com.pulumi.azurenative.awsconnector.outputs.KeyValuePairResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ProxyConfigurationResponse {
/**
* @return The name of the container that will serve as the App Mesh proxy.
*
*/
private @Nullable String containerName;
/**
* @return 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.
*
*/
private @Nullable List proxyConfigurationProperties;
/**
* @return The proxy type. The only supported value is ``APPMESH``.
*
*/
private @Nullable String type;
private ProxyConfigurationResponse() {}
/**
* @return The name of the container that will serve as the App Mesh proxy.
*
*/
public Optional containerName() {
return Optional.ofNullable(this.containerName);
}
/**
* @return 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.
*
*/
public List proxyConfigurationProperties() {
return this.proxyConfigurationProperties == null ? List.of() : this.proxyConfigurationProperties;
}
/**
* @return The proxy type. The only supported value is ``APPMESH``.
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ProxyConfigurationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String containerName;
private @Nullable List proxyConfigurationProperties;
private @Nullable String type;
public Builder() {}
public Builder(ProxyConfigurationResponse defaults) {
Objects.requireNonNull(defaults);
this.containerName = defaults.containerName;
this.proxyConfigurationProperties = defaults.proxyConfigurationProperties;
this.type = defaults.type;
}
@CustomType.Setter
public Builder containerName(@Nullable String containerName) {
this.containerName = containerName;
return this;
}
@CustomType.Setter
public Builder proxyConfigurationProperties(@Nullable List proxyConfigurationProperties) {
this.proxyConfigurationProperties = proxyConfigurationProperties;
return this;
}
public Builder proxyConfigurationProperties(KeyValuePairResponse... proxyConfigurationProperties) {
return proxyConfigurationProperties(List.of(proxyConfigurationProperties));
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public ProxyConfigurationResponse build() {
final var _resultValue = new ProxyConfigurationResponse();
_resultValue.containerName = containerName;
_resultValue.proxyConfigurationProperties = proxyConfigurationProperties;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy