CfnVirtualServiceProps

class aws_cdk.aws_appmesh.CfnVirtualServiceProps(*, mesh_name, mesh_owner=None, spec, tags=None, virtual_service_name)

Bases: object

Properties for defining a AWS::AppMesh::VirtualService.

Parameters
  • mesh_name (str) – AWS::AppMesh::VirtualService.MeshName.

  • mesh_owner (Optional[str]) – AWS::AppMesh::VirtualService.MeshOwner.

  • spec (Union[IResolvable, VirtualServiceSpecProperty]) – AWS::AppMesh::VirtualService.Spec.

  • tags (Optional[Sequence[CfnTag]]) – AWS::AppMesh::VirtualService.Tags.

  • virtual_service_name (str) – AWS::AppMesh::VirtualService.VirtualServiceName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualservice.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_appmesh as appmesh

cfn_virtual_service_props = appmesh.CfnVirtualServiceProps(
    mesh_name="meshName",
    spec=appmesh.CfnVirtualService.VirtualServiceSpecProperty(
        provider=appmesh.CfnVirtualService.VirtualServiceProviderProperty(
            virtual_node=appmesh.CfnVirtualService.VirtualNodeServiceProviderProperty(
                virtual_node_name="virtualNodeName"
            ),
            virtual_router=appmesh.CfnVirtualService.VirtualRouterServiceProviderProperty(
                virtual_router_name="virtualRouterName"
            )
        )
    ),
    virtual_service_name="virtualServiceName",

    # the properties below are optional
    mesh_owner="meshOwner",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

mesh_name

AWS::AppMesh::VirtualService.MeshName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualservice.html#cfn-appmesh-virtualservice-meshname

Return type

str

mesh_owner

AWS::AppMesh::VirtualService.MeshOwner.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualservice.html#cfn-appmesh-virtualservice-meshowner

Return type

Optional[str]

spec

AWS::AppMesh::VirtualService.Spec.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualservice.html#cfn-appmesh-virtualservice-spec

Return type

Union[IResolvable, VirtualServiceSpecProperty]

tags

AWS::AppMesh::VirtualService.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualservice.html#cfn-appmesh-virtualservice-tags

Return type

Optional[List[CfnTag]]

virtual_service_name

AWS::AppMesh::VirtualService.VirtualServiceName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualservice.html#cfn-appmesh-virtualservice-virtualservicename

Return type

str