interface CfnVirtualNodeMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnVirtualNodeMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnVirtualNodeMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnVirtualNodeMixinProps |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnVirtualNodeMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » CfnVirtualNodeMixinProps |
Properties for CfnVirtualNodePropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualnode.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as appmesh_mixins } from '@aws-cdk/mixins-preview/aws-appmesh';
const cfnVirtualNodeMixinProps: appmesh_mixins.CfnVirtualNodeMixinProps = {
meshName: 'meshName',
meshOwner: 'meshOwner',
spec: {
backendDefaults: {
clientPolicy: {
tls: {
certificate: {
file: {
certificateChain: 'certificateChain',
privateKey: 'privateKey',
},
sds: {
secretName: 'secretName',
},
},
enforce: false,
ports: [123],
validation: {
subjectAlternativeNames: {
match: {
exact: ['exact'],
},
},
trust: {
acm: {
certificateAuthorityArns: ['certificateAuthorityArns'],
},
file: {
certificateChain: 'certificateChain',
},
sds: {
secretName: 'secretName',
},
},
},
},
},
},
backends: [{
virtualService: {
clientPolicy: {
tls: {
certificate: {
file: {
certificateChain: 'certificateChain',
privateKey: 'privateKey',
},
sds: {
secretName: 'secretName',
},
},
enforce: false,
ports: [123],
validation: {
subjectAlternativeNames: {
match: {
exact: ['exact'],
},
},
trust: {
acm: {
certificateAuthorityArns: ['certificateAuthorityArns'],
},
file: {
certificateChain: 'certificateChain',
},
sds: {
secretName: 'secretName',
},
},
},
},
},
virtualServiceName: 'virtualServiceName',
},
}],
listeners: [{
connectionPool: {
grpc: {
maxRequests: 123,
},
http: {
maxConnections: 123,
maxPendingRequests: 123,
},
http2: {
maxRequests: 123,
},
tcp: {
maxConnections: 123,
},
},
healthCheck: {
healthyThreshold: 123,
intervalMillis: 123,
path: 'path',
port: 123,
protocol: 'protocol',
timeoutMillis: 123,
unhealthyThreshold: 123,
},
outlierDetection: {
baseEjectionDuration: {
unit: 'unit',
value: 123,
},
interval: {
unit: 'unit',
value: 123,
},
maxEjectionPercent: 123,
maxServerErrors: 123,
},
portMapping: {
port: 123,
protocol: 'protocol',
},
timeout: {
grpc: {
idle: {
unit: 'unit',
value: 123,
},
perRequest: {
unit: 'unit',
value: 123,
},
},
http: {
idle: {
unit: 'unit',
value: 123,
},
perRequest: {
unit: 'unit',
value: 123,
},
},
http2: {
idle: {
unit: 'unit',
value: 123,
},
perRequest: {
unit: 'unit',
value: 123,
},
},
tcp: {
idle: {
unit: 'unit',
value: 123,
},
},
},
tls: {
certificate: {
acm: {
certificateArn: 'certificateArn',
},
file: {
certificateChain: 'certificateChain',
privateKey: 'privateKey',
},
sds: {
secretName: 'secretName',
},
},
mode: 'mode',
validation: {
subjectAlternativeNames: {
match: {
exact: ['exact'],
},
},
trust: {
file: {
certificateChain: 'certificateChain',
},
sds: {
secretName: 'secretName',
},
},
},
},
}],
logging: {
accessLog: {
file: {
format: {
json: [{
key: 'key',
value: 'value',
}],
text: 'text',
},
path: 'path',
},
},
},
serviceDiscovery: {
awsCloudMap: {
attributes: [{
key: 'key',
value: 'value',
}],
ipPreference: 'ipPreference',
namespaceName: 'namespaceName',
serviceName: 'serviceName',
},
dns: {
hostname: 'hostname',
ipPreference: 'ipPreference',
responseType: 'responseType',
},
},
},
tags: [{
key: 'key',
value: 'value',
}],
virtualNodeName: 'virtualNodeName',
};
Properties
| Name | Type | Description |
|---|---|---|
| mesh | string | The name of the service mesh to create the virtual node in. |
| mesh | string | The AWS IAM account ID of the service mesh owner. |
| spec? | IResolvable | Virtual | The virtual node specification to apply. |
| tags? | Cfn[] | Optional metadata that you can apply to the virtual node to assist with categorization and organization. |
| virtual | string | The name to use for the virtual node. |
meshName?
Type:
string
(optional)
The name of the service mesh to create the virtual node in.
meshOwner?
Type:
string
(optional)
The AWS IAM account ID of the service mesh owner.
If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes .
spec?
Type:
IResolvable | Virtual
(optional)
The virtual node specification to apply.
tags?
Type:
Cfn[]
(optional)
Optional metadata that you can apply to the virtual node to assist with categorization and organization.
Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
virtualNodeName?
Type:
string
(optional)
The name to use for the virtual node.

.NET
Go
Java
Python
TypeScript