CfnVirtualGatewayMixinProps
- class aws_cdk.mixins_preview.aws_appmesh.mixins.CfnVirtualGatewayMixinProps(*, mesh_name=None, mesh_owner=None, spec=None, tags=None, virtual_gateway_name=None)
Bases:
objectProperties for CfnVirtualGatewayPropsMixin.
- Parameters:
mesh_name (
Optional[str]) – The name of the service mesh that the virtual gateway resides in.mesh_owner (
Optional[str]) – The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes .spec (
Union[IResolvable,VirtualGatewaySpecProperty,Dict[str,Any],None]) – The specifications of the virtual gateway.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – Optional metadata that you can apply to the virtual gateway 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.virtual_gateway_name (
Optional[str]) – The name of the virtual gateway.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_appmesh import mixins as appmesh_mixins cfn_virtual_gateway_mixin_props = appmesh_mixins.CfnVirtualGatewayMixinProps( mesh_name="meshName", mesh_owner="meshOwner", spec=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewaySpecProperty( backend_defaults=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayBackendDefaultsProperty( client_policy=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayClientPolicyProperty( tls=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayClientPolicyTlsProperty( certificate=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayClientTlsCertificateProperty( file=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayListenerTlsFileCertificateProperty( certificate_chain="certificateChain", private_key="privateKey" ), sds=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayListenerTlsSdsCertificateProperty( secret_name="secretName" ) ), enforce=False, ports=[123], validation=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayTlsValidationContextProperty( subject_alternative_names=appmesh_mixins.CfnVirtualGatewayPropsMixin.SubjectAlternativeNamesProperty( match=appmesh_mixins.CfnVirtualGatewayPropsMixin.SubjectAlternativeNameMatchersProperty( exact=["exact"] ) ), trust=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayTlsValidationContextTrustProperty( acm=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayTlsValidationContextAcmTrustProperty( certificate_authority_arns=["certificateAuthorityArns"] ), file=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayTlsValidationContextFileTrustProperty( certificate_chain="certificateChain" ), sds=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayTlsValidationContextSdsTrustProperty( secret_name="secretName" ) ) ) ) ) ), listeners=[appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayListenerProperty( connection_pool=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayConnectionPoolProperty( grpc=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayGrpcConnectionPoolProperty( max_requests=123 ), http=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayHttpConnectionPoolProperty( max_connections=123, max_pending_requests=123 ), http2=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayHttp2ConnectionPoolProperty( max_requests=123 ) ), health_check=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayHealthCheckPolicyProperty( healthy_threshold=123, interval_millis=123, path="path", port=123, protocol="protocol", timeout_millis=123, unhealthy_threshold=123 ), port_mapping=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayPortMappingProperty( port=123, protocol="protocol" ), tls=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayListenerTlsProperty( certificate=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayListenerTlsCertificateProperty( acm=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayListenerTlsAcmCertificateProperty( certificate_arn="certificateArn" ), file=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayListenerTlsFileCertificateProperty( certificate_chain="certificateChain", private_key="privateKey" ), sds=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayListenerTlsSdsCertificateProperty( secret_name="secretName" ) ), mode="mode", validation=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayListenerTlsValidationContextProperty( subject_alternative_names=appmesh_mixins.CfnVirtualGatewayPropsMixin.SubjectAlternativeNamesProperty( match=appmesh_mixins.CfnVirtualGatewayPropsMixin.SubjectAlternativeNameMatchersProperty( exact=["exact"] ) ), trust=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayListenerTlsValidationContextTrustProperty( file=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayTlsValidationContextFileTrustProperty( certificate_chain="certificateChain" ), sds=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayTlsValidationContextSdsTrustProperty( secret_name="secretName" ) ) ) ) )], logging=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayLoggingProperty( access_log=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayAccessLogProperty( file=appmesh_mixins.CfnVirtualGatewayPropsMixin.VirtualGatewayFileAccessLogProperty( format=appmesh_mixins.CfnVirtualGatewayPropsMixin.LoggingFormatProperty( json=[appmesh_mixins.CfnVirtualGatewayPropsMixin.JsonFormatRefProperty( key="key", value="value" )], text="text" ), path="path" ) ) ) ), tags=[CfnTag( key="key", value="value" )], virtual_gateway_name="virtualGatewayName" )
Attributes
- mesh_name
The name of the service mesh that the virtual gateway resides in.
- mesh_owner
The AWS IAM account ID of the service mesh owner.
If the account ID is not your own, then it’s the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes .
- spec
The specifications of the virtual gateway.
- tags
Optional metadata that you can apply to the virtual gateway 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.
- virtual_gateway_name
The name of the virtual gateway.