Class CfnVirtualGatewayPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnVirtualGatewayPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:55.812Z")
@Stability(Stable)
public class CfnVirtualGatewayPropsMixin
extends Mixin
implements software.constructs.IMixin
Creates a virtual gateway.
A virtual gateway allows resources outside your mesh to communicate to resources that are inside your mesh. The virtual gateway represents an Envoy proxy running in an Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual node, which represents an Envoy running with an application, a virtual gateway represents Envoy deployed by itself.
For more information about virtual gateways, see Virtual gateways .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.appmesh.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnVirtualGatewayPropsMixin cfnVirtualGatewayPropsMixin = CfnVirtualGatewayPropsMixin.Builder.create(CfnVirtualGatewayMixinProps.builder()
.meshName("meshName")
.meshOwner("meshOwner")
.spec(VirtualGatewaySpecProperty.builder()
.backendDefaults(VirtualGatewayBackendDefaultsProperty.builder()
.clientPolicy(VirtualGatewayClientPolicyProperty.builder()
.tls(VirtualGatewayClientPolicyTlsProperty.builder()
.certificate(VirtualGatewayClientTlsCertificateProperty.builder()
.file(VirtualGatewayListenerTlsFileCertificateProperty.builder()
.certificateChain("certificateChain")
.privateKey("privateKey")
.build())
.sds(VirtualGatewayListenerTlsSdsCertificateProperty.builder()
.secretName("secretName")
.build())
.build())
.enforce(false)
.ports(List.of(123))
.validation(VirtualGatewayTlsValidationContextProperty.builder()
.subjectAlternativeNames(SubjectAlternativeNamesProperty.builder()
.match(SubjectAlternativeNameMatchersProperty.builder()
.exact(List.of("exact"))
.build())
.build())
.trust(VirtualGatewayTlsValidationContextTrustProperty.builder()
.acm(VirtualGatewayTlsValidationContextAcmTrustProperty.builder()
.certificateAuthorityArns(List.of("certificateAuthorityArns"))
.build())
.file(VirtualGatewayTlsValidationContextFileTrustProperty.builder()
.certificateChain("certificateChain")
.build())
.sds(VirtualGatewayTlsValidationContextSdsTrustProperty.builder()
.secretName("secretName")
.build())
.build())
.build())
.build())
.build())
.build())
.listeners(List.of(VirtualGatewayListenerProperty.builder()
.connectionPool(VirtualGatewayConnectionPoolProperty.builder()
.grpc(VirtualGatewayGrpcConnectionPoolProperty.builder()
.maxRequests(123)
.build())
.http(VirtualGatewayHttpConnectionPoolProperty.builder()
.maxConnections(123)
.maxPendingRequests(123)
.build())
.http2(VirtualGatewayHttp2ConnectionPoolProperty.builder()
.maxRequests(123)
.build())
.build())
.healthCheck(VirtualGatewayHealthCheckPolicyProperty.builder()
.healthyThreshold(123)
.intervalMillis(123)
.path("path")
.port(123)
.protocol("protocol")
.timeoutMillis(123)
.unhealthyThreshold(123)
.build())
.portMapping(VirtualGatewayPortMappingProperty.builder()
.port(123)
.protocol("protocol")
.build())
.tls(VirtualGatewayListenerTlsProperty.builder()
.certificate(VirtualGatewayListenerTlsCertificateProperty.builder()
.acm(VirtualGatewayListenerTlsAcmCertificateProperty.builder()
.certificateArn("certificateArn")
.build())
.file(VirtualGatewayListenerTlsFileCertificateProperty.builder()
.certificateChain("certificateChain")
.privateKey("privateKey")
.build())
.sds(VirtualGatewayListenerTlsSdsCertificateProperty.builder()
.secretName("secretName")
.build())
.build())
.mode("mode")
.validation(VirtualGatewayListenerTlsValidationContextProperty.builder()
.subjectAlternativeNames(SubjectAlternativeNamesProperty.builder()
.match(SubjectAlternativeNameMatchersProperty.builder()
.exact(List.of("exact"))
.build())
.build())
.trust(VirtualGatewayListenerTlsValidationContextTrustProperty.builder()
.file(VirtualGatewayTlsValidationContextFileTrustProperty.builder()
.certificateChain("certificateChain")
.build())
.sds(VirtualGatewayTlsValidationContextSdsTrustProperty.builder()
.secretName("secretName")
.build())
.build())
.build())
.build())
.build()))
.logging(VirtualGatewayLoggingProperty.builder()
.accessLog(VirtualGatewayAccessLogProperty.builder()
.file(VirtualGatewayFileAccessLogProperty.builder()
.format(LoggingFormatProperty.builder()
.json(List.of(JsonFormatRefProperty.builder()
.key("key")
.value("value")
.build()))
.text("text")
.build())
.path("path")
.build())
.build())
.build())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.virtualGatewayName("virtualGatewayName")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnVirtualGatewayPropsMixin.static interfaceAn object that represents the key value pairs for the JSON.static interfaceAn object that represents the format for the logs.static interfaceAn object that represents the methods by which a subject alternative name on a peer Transport Layer Security (TLS) certificate can be matched.static interfaceAn object that represents the subject alternative names secured by the certificate.static interfaceThe access log configuration for a virtual gateway.static interfaceAn object that represents the default properties for a backend.static interfaceAn object that represents a client policy.static interfaceAn object that represents a Transport Layer Security (TLS) client policy.static interfaceAn object that represents the virtual gateway's client's Transport Layer Security (TLS) certificate.static interfaceAn object that represents the type of virtual gateway connection pool.static interfaceAn object that represents an access log file.static interfaceAn object that represents a type of connection pool.static interfaceAn object that represents the health check policy for a virtual gateway's listener.static interfaceAn object that represents a type of connection pool.static interfaceAn object that represents a type of connection pool.static interfaceAn object that represents a listener for a virtual gateway.static interfaceAn object that represents an Certificate Manager certificate.static interfaceAn object that represents a listener's Transport Layer Security (TLS) certificate.static interfaceAn object that represents a local file certificate.static interfaceAn object that represents the Transport Layer Security (TLS) properties for a listener.static interfaceAn object that represents the virtual gateway's listener's Secret Discovery Service certificate.The proxy must be configured with a local SDS provider via a Unix Domain Socket.static interfaceAn object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context.static interfaceAn object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context trust.static interfaceAn object that represents logging information.static interfaceAn object that represents a port mapping.static interfaceAn object that represents the specification of a service mesh resource.static interfaceAn object that represents a Transport Layer Security (TLS) validation context trust for an Certificate Manager certificate.static interfaceAn object that represents a Transport Layer Security (TLS) validation context trust for a local file.static interfaceAn object that represents a Transport Layer Security (TLS) validation context.static interfaceAn object that represents a virtual gateway's listener's Transport Layer Security (TLS) Secret Discovery Service validation context trust.static interfaceAn object that represents a Transport Layer Security (TLS) validation context trust.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::AppMesh::VirtualGateway.Create a mixin to apply properties toAWS::AppMesh::VirtualGateway.protectedCfnVirtualGatewayPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnVirtualGatewayPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnVirtualGatewayMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnVirtualGatewayPropsMixin
protected CfnVirtualGatewayPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnVirtualGatewayPropsMixin
protected CfnVirtualGatewayPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnVirtualGatewayPropsMixin
@Stability(Stable) public CfnVirtualGatewayPropsMixin(@NotNull CfnVirtualGatewayMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::AppMesh::VirtualGateway.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnVirtualGatewayPropsMixin
Create a mixin to apply properties toAWS::AppMesh::VirtualGateway.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-