@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:15.924Z") @Stability(value=Stable) public class CfnVirtualGateway extends CfnResource implements IInspectable
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.appmesh.*;
CfnVirtualGateway cfnVirtualGateway = CfnVirtualGateway.Builder.create(this, "MyCfnVirtualGateway")
.meshName("meshName")
.spec(VirtualGatewaySpecProperty.builder()
.listeners(List.of(VirtualGatewayListenerProperty.builder()
.portMapping(VirtualGatewayPortMappingProperty.builder()
.port(123)
.protocol("protocol")
.build())
// the properties below are optional
.connectionPool(VirtualGatewayConnectionPoolProperty.builder()
.grpc(VirtualGatewayGrpcConnectionPoolProperty.builder()
.maxRequests(123)
.build())
.http(VirtualGatewayHttpConnectionPoolProperty.builder()
.maxConnections(123)
// the properties below are optional
.maxPendingRequests(123)
.build())
.http2(VirtualGatewayHttp2ConnectionPoolProperty.builder()
.maxRequests(123)
.build())
.build())
.healthCheck(VirtualGatewayHealthCheckPolicyProperty.builder()
.healthyThreshold(123)
.intervalMillis(123)
.protocol("protocol")
.timeoutMillis(123)
.unhealthyThreshold(123)
// the properties below are optional
.path("path")
.port(123)
.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")
// the properties below are optional
.validation(VirtualGatewayListenerTlsValidationContextProperty.builder()
.trust(VirtualGatewayListenerTlsValidationContextTrustProperty.builder()
.file(VirtualGatewayTlsValidationContextFileTrustProperty.builder()
.certificateChain("certificateChain")
.build())
.sds(VirtualGatewayTlsValidationContextSdsTrustProperty.builder()
.secretName("secretName")
.build())
.build())
// the properties below are optional
.subjectAlternativeNames(SubjectAlternativeNamesProperty.builder()
.match(SubjectAlternativeNameMatchersProperty.builder()
.exact(List.of("exact"))
.build())
.build())
.build())
.build())
.build()))
// the properties below are optional
.backendDefaults(VirtualGatewayBackendDefaultsProperty.builder()
.clientPolicy(VirtualGatewayClientPolicyProperty.builder()
.tls(VirtualGatewayClientPolicyTlsProperty.builder()
.validation(VirtualGatewayTlsValidationContextProperty.builder()
.trust(VirtualGatewayTlsValidationContextTrustProperty.builder()
.acm(VirtualGatewayTlsValidationContextAcmTrustProperty.builder()
.certificateAuthorityArns(List.of("certificateAuthorityArns"))
.build())
.file(VirtualGatewayTlsValidationContextFileTrustProperty.builder()
.certificateChain("certificateChain")
.build())
.sds(VirtualGatewayTlsValidationContextSdsTrustProperty.builder()
.secretName("secretName")
.build())
.build())
// the properties below are optional
.subjectAlternativeNames(SubjectAlternativeNamesProperty.builder()
.match(SubjectAlternativeNameMatchersProperty.builder()
.exact(List.of("exact"))
.build())
.build())
.build())
// the properties below are optional
.certificate(VirtualGatewayClientTlsCertificateProperty.builder()
.file(VirtualGatewayListenerTlsFileCertificateProperty.builder()
.certificateChain("certificateChain")
.privateKey("privateKey")
.build())
.sds(VirtualGatewayListenerTlsSdsCertificateProperty.builder()
.secretName("secretName")
.build())
.build())
.enforce(false)
.ports(List.of(123))
.build())
.build())
.build())
.logging(VirtualGatewayLoggingProperty.builder()
.accessLog(VirtualGatewayAccessLogProperty.builder()
.file(VirtualGatewayFileAccessLogProperty.builder()
.path("path")
.build())
.build())
.build())
.build())
// the properties below are optional
.meshOwner("meshOwner")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.virtualGatewayName("virtualGatewayName")
.build();
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnVirtualGateway(software.constructs.Construct scope,
String id,
CfnVirtualGatewayProps props)
Create a new `AWS::AppMesh::VirtualGateway`.
|
protected |
CfnVirtualGateway(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnVirtualGateway(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
String |
getAttrMeshName() |
String |
getAttrMeshOwner() |
String |
getAttrResourceOwner() |
String |
getAttrUid() |
String |
getAttrVirtualGatewayName() |
protected Map<String,Object> |
getCfnProperties() |
String |
getMeshName()
`AWS::AppMesh::VirtualGateway.MeshName`.
|
String |
getMeshOwner()
`AWS::AppMesh::VirtualGateway.MeshOwner`.
|
Object |
getSpec()
`AWS::AppMesh::VirtualGateway.Spec`.
|
TagManager |
getTags()
`AWS::AppMesh::VirtualGateway.Tags`.
|
String |
getVirtualGatewayName()
`AWS::AppMesh::VirtualGateway.VirtualGatewayName`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setMeshName(String value)
`AWS::AppMesh::VirtualGateway.MeshName`.
|
void |
setMeshOwner(String value)
`AWS::AppMesh::VirtualGateway.MeshOwner`.
|
void |
setSpec(CfnVirtualGateway.VirtualGatewaySpecProperty value)
`AWS::AppMesh::VirtualGateway.Spec`.
|
void |
setSpec(IResolvable value)
`AWS::AppMesh::VirtualGateway.Spec`.
|
void |
setVirtualGatewayName(String value)
`AWS::AppMesh::VirtualGateway.VirtualGatewayName`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnVirtualGateway(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnVirtualGateway(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnVirtualGateway(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnVirtualGatewayProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrMeshName()
@Stability(value=Stable) @NotNull public String getAttrMeshOwner()
@Stability(value=Stable) @NotNull public String getAttrResourceOwner()
@Stability(value=Stable) @NotNull public String getAttrUid()
@Stability(value=Stable) @NotNull public String getAttrVirtualGatewayName()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getMeshName()
@Stability(value=Stable)
public void setMeshName(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getMeshOwner()
@Stability(value=Stable)
public void setMeshOwner(@Nullable
String value)
@Stability(value=Stable) @NotNull public Object getSpec()
@Stability(value=Stable)
public void setSpec(@NotNull
CfnVirtualGateway.VirtualGatewaySpecProperty value)
@Stability(value=Stable)
public void setSpec(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public String getVirtualGatewayName()
@Stability(value=Stable)
public void setVirtualGatewayName(@Nullable
String value)
Copyright © 2021. All rights reserved.