VirtualGatewayBaseProps
- class aws_cdk.aws_appmesh.VirtualGatewayBaseProps(*, access_log=None, backend_defaults=None, listeners=None, virtual_gateway_name=None)
Bases:
object
Basic configuration properties for a VirtualGateway.
- Parameters:
access_log (
Optional
[AccessLog
]) – Access Logging Configuration for the VirtualGateway. Default: - no access loggingbackend_defaults (
Union
[BackendDefaults
,Dict
[str
,Any
],None
]) – Default Configuration Virtual Node uses to communicate with Virtual Service. Default: - No Configlisteners (
Optional
[Sequence
[VirtualGatewayListener
]]) – Listeners for the VirtualGateway. Only one is supported. Default: - Single HTTP listener on port 8080virtual_gateway_name (
Optional
[str
]) – Name of the VirtualGateway. Default: - A name is automatically determined
- ExampleMetadata:
infused
Example:
# mesh: appmesh.Mesh gateway = mesh.add_virtual_gateway("gateway", access_log=appmesh.AccessLog.from_file_path("/dev/stdout"), virtual_gateway_name="virtualGateway", listeners=[appmesh.VirtualGatewayListener.http( port=443, health_check=appmesh.HealthCheck.http( interval=Duration.seconds(10) ) )] )
Attributes
- access_log
Access Logging Configuration for the VirtualGateway.
- Default:
no access logging
- backend_defaults
Default Configuration Virtual Node uses to communicate with Virtual Service.
- Default:
No Config
- listeners
Listeners for the VirtualGateway.
Only one is supported.
- Default:
Single HTTP listener on port 8080
- virtual_gateway_name
Name of the VirtualGateway.
- Default:
A name is automatically determined