CfnVirtualNode

class aws_cdk.aws_appmesh.CfnVirtualNode(scope, id, *, mesh_name, spec, virtual_node_name, mesh_owner=None, tags=None)

Bases: aws_cdk.core.CfnResource

A CloudFormation AWS::AppMesh::VirtualNode.

See

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

CloudformationResource

AWS::AppMesh::VirtualNode

Create a new AWS::AppMesh::VirtualNode.

Parameters
  • scope (Construct) –

    • scope in which this resource is defined.

  • id (str) –

    • scoped id of the resource.

  • mesh_name (str) – AWS::AppMesh::VirtualNode.MeshName.

  • spec (Union[IResolvable, VirtualNodeSpecProperty]) – AWS::AppMesh::VirtualNode.Spec.

  • virtual_node_name (str) – AWS::AppMesh::VirtualNode.VirtualNodeName.

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

  • tags (Optional[List[CfnTag]]) – AWS::AppMesh::VirtualNode.Tags.

Methods

add_deletion_override(path)

Syntactic sugar for addOverride(path, undefined).

Parameters

path (str) – The path of the value to delete.

Return type

None

add_depends_on(target)

Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.

Parameters

target (CfnResource) –

Return type

None

add_metadata(key, value)

Add a value to the CloudFormation Resource Metadata.

Parameters
  • key (str) –

  • value (Any) –

See

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

Return type

None

add_override(path, value)

Adds an override to the synthesized CloudFormation resource.

To add a property override, either use addPropertyOverride or prefix path with “Properties.” (i.e. Properties.TopicName).

If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.

To include a literal . in the property name, prefix with a \. In most programming languages you will need to write this as "\." because the \ itself will need to be escaped.

For example:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
add_override("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", ["myattribute"])
add_override("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE")

would add the overrides Example:

"Properties": {
   "GlobalSecondaryIndexes": [
     {
       "Projection": {
         "NonKeyAttributes": [ "myattribute" ]
         ...
       }
       ...
     },
     {
       "ProjectionType": "INCLUDE"
       ...
     },
   ]
   ...
}
Parameters
  • path (str) –

    • The path of the property, you can use dot notation to override values in complex types. Any intermdediate keys will be created as needed.

  • value (Any) –

    • The value. Could be primitive or complex.

Return type

None

add_property_deletion_override(property_path)

Adds an override that deletes the value of a property from the resource definition.

Parameters

property_path (str) – The path to the property.

Return type

None

add_property_override(property_path, value)

Adds an override to a resource property.

Syntactic sugar for addOverride("Properties.<...>", value).

Parameters
  • property_path (str) – The path of the property.

  • value (Any) – The value.

Return type

None

apply_removal_policy(policy=None, *, apply_to_update_replace_policy=None, default=None)

Sets the deletion policy of the resource based on the removal policy specified.

Parameters
  • policy (Optional[RemovalPolicy]) –

  • apply_to_update_replace_policy (Optional[bool]) – Apply the same deletion policy to the resource’s “UpdateReplacePolicy”. Default: true

  • default (Optional[RemovalPolicy]) – The default policy to apply in case the removal policy is not defined. Default: - Default value is resource specific. To determine the default value for a resoure, please consult that specific resource’s documentation.

Return type

None

get_att(attribute_name)

Returns a token for an runtime attribute of this resource.

Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility in case there is no generated attribute.

Parameters

attribute_name (str) – The name of the attribute.

Return type

Reference

inspect(inspector)

(experimental) Examines the CloudFormation resource and discloses attributes.

Parameters

inspector (TreeInspector) –

  • tree inspector to collect and process attributes.

Stability

experimental

Return type

None

override_logical_id(new_logical_id)

Overrides the auto-generated logical ID with a specific ID.

Parameters

new_logical_id (str) – The new logical ID to use for this stack element.

Return type

None

to_string()

Returns a string representation of this construct.

Return type

str

Returns

a string representation of this resource

Attributes

CFN_RESOURCE_TYPE_NAME = 'AWS::AppMesh::VirtualNode'
attr_arn

Arn

Type

cloudformationAttribute

Return type

str

attr_mesh_name

MeshName

Type

cloudformationAttribute

Return type

str

attr_mesh_owner

MeshOwner

Type

cloudformationAttribute

Return type

str

attr_resource_owner

ResourceOwner

Type

cloudformationAttribute

Return type

str

attr_uid

Uid

Type

cloudformationAttribute

Return type

str

attr_virtual_node_name

VirtualNodeName

Type

cloudformationAttribute

Return type

str

cfn_options

Options for this resource, such as condition, update policy etc.

Return type

ICfnResourceOptions

cfn_resource_type

AWS resource type.

Return type

str

creation_stack

return:

the stack trace of the point where this Resource was created from, sourced from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most node +internal+ entries filtered.

Return type

List[str]

logical_id

The logical ID for this CloudFormation stack element.

The logical ID of the element is calculated from the path of the resource node in the construct tree.

To override this value, use overrideLogicalId(newLogicalId).

Return type

str

Returns

the logical ID as a stringified token. This value will only get resolved during synthesis.

mesh_name

AWS::AppMesh::VirtualNode.MeshName.

See

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

Return type

str

mesh_owner

AWS::AppMesh::VirtualNode.MeshOwner.

See

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

Return type

Optional[str]

node

The construct tree node associated with this construct.

Return type

ConstructNode

ref

Return a string that will be resolved to a CloudFormation { Ref } for this element.

If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through Lazy.any({ produce: resource.ref }).

Return type

str

spec

AWS::AppMesh::VirtualNode.Spec.

See

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

Return type

Union[IResolvable, VirtualNodeSpecProperty]

stack

The stack in which this element is defined.

CfnElements must be defined within a stack scope (directly or indirectly).

Return type

Stack

tags

AWS::AppMesh::VirtualNode.Tags.

See

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

Return type

TagManager

virtual_node_name

AWS::AppMesh::VirtualNode.VirtualNodeName.

See

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

Return type

str

Static Methods

classmethod is_cfn_element(x)

Returns true if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of instanceof to allow stack elements from different versions of this library to be included in the same stack.

Parameters

x (Any) –

Return type

bool

Returns

The construct as a stack element or undefined if it is not a stack element.

classmethod is_cfn_resource(construct)

Check whether the given construct is a CfnResource.

Parameters

construct (IConstruct) –

Return type

bool

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters

x (Any) –

Return type

bool

AccessLogProperty

class CfnVirtualNode.AccessLogProperty(*, file=None)

Bases: object

Parameters

file (Union[IResolvable, FileAccessLogProperty, None]) – CfnVirtualNode.AccessLogProperty.File.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-accesslog.html

Attributes

file

CfnVirtualNode.AccessLogProperty.File.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-accesslog.html#cfn-appmesh-virtualnode-accesslog-file

Return type

Union[IResolvable, FileAccessLogProperty, None]

AwsCloudMapInstanceAttributeProperty

class CfnVirtualNode.AwsCloudMapInstanceAttributeProperty(*, key, value)

Bases: object

Parameters
  • key (str) – CfnVirtualNode.AwsCloudMapInstanceAttributeProperty.Key.

  • value (str) – CfnVirtualNode.AwsCloudMapInstanceAttributeProperty.Value.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapinstanceattribute.html

Attributes

key

CfnVirtualNode.AwsCloudMapInstanceAttributeProperty.Key.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapinstanceattribute.html#cfn-appmesh-virtualnode-awscloudmapinstanceattribute-key

Return type

str

value

CfnVirtualNode.AwsCloudMapInstanceAttributeProperty.Value.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapinstanceattribute.html#cfn-appmesh-virtualnode-awscloudmapinstanceattribute-value

Return type

str

AwsCloudMapServiceDiscoveryProperty

class CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty(*, namespace_name, service_name, attributes=None)

Bases: object

Parameters
  • namespace_name (str) – CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty.NamespaceName.

  • service_name (str) – CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty.ServiceName.

  • attributes (Union[IResolvable, List[Union[IResolvable, AwsCloudMapInstanceAttributeProperty]], None]) – CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty.Attributes.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapservicediscovery.html

Attributes

attributes

CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty.Attributes.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapservicediscovery.html#cfn-appmesh-virtualnode-awscloudmapservicediscovery-attributes

Return type

Union[IResolvable, List[Union[IResolvable, AwsCloudMapInstanceAttributeProperty]], None]

namespace_name

CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty.NamespaceName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapservicediscovery.html#cfn-appmesh-virtualnode-awscloudmapservicediscovery-namespacename

Return type

str

service_name

CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty.ServiceName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapservicediscovery.html#cfn-appmesh-virtualnode-awscloudmapservicediscovery-servicename

Return type

str

BackendDefaultsProperty

class CfnVirtualNode.BackendDefaultsProperty(*, client_policy=None)

Bases: object

Parameters

client_policy (Union[IResolvable, ClientPolicyProperty, None]) – CfnVirtualNode.BackendDefaultsProperty.ClientPolicy.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-backenddefaults.html

Attributes

client_policy

CfnVirtualNode.BackendDefaultsProperty.ClientPolicy.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-backenddefaults.html#cfn-appmesh-virtualnode-backenddefaults-clientpolicy

Return type

Union[IResolvable, ClientPolicyProperty, None]

BackendProperty

class CfnVirtualNode.BackendProperty(*, virtual_service=None)

Bases: object

Parameters

virtual_service (Union[IResolvable, VirtualServiceBackendProperty, None]) – CfnVirtualNode.BackendProperty.VirtualService.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-backend.html

Attributes

virtual_service

CfnVirtualNode.BackendProperty.VirtualService.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-backend.html#cfn-appmesh-virtualnode-backend-virtualservice

Return type

Union[IResolvable, VirtualServiceBackendProperty, None]

ClientPolicyProperty

class CfnVirtualNode.ClientPolicyProperty(*, tls=None)

Bases: object

Parameters

tls (Union[IResolvable, ClientPolicyTlsProperty, None]) – CfnVirtualNode.ClientPolicyProperty.TLS.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicy.html

Attributes

tls

CfnVirtualNode.ClientPolicyProperty.TLS.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicy.html#cfn-appmesh-virtualnode-clientpolicy-tls

Return type

Union[IResolvable, ClientPolicyTlsProperty, None]

ClientPolicyTlsProperty

class CfnVirtualNode.ClientPolicyTlsProperty(*, validation, enforce=None, ports=None)

Bases: object

Parameters
  • validation (Union[IResolvable, TlsValidationContextProperty]) – CfnVirtualNode.ClientPolicyTlsProperty.Validation.

  • enforce (Union[bool, IResolvable, None]) – CfnVirtualNode.ClientPolicyTlsProperty.Enforce.

  • ports (Union[IResolvable, List[Union[int, float]], None]) – CfnVirtualNode.ClientPolicyTlsProperty.Ports.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicytls.html

Attributes

enforce

CfnVirtualNode.ClientPolicyTlsProperty.Enforce.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicytls.html#cfn-appmesh-virtualnode-clientpolicytls-enforce

Return type

Union[bool, IResolvable, None]

ports

CfnVirtualNode.ClientPolicyTlsProperty.Ports.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicytls.html#cfn-appmesh-virtualnode-clientpolicytls-ports

Return type

Union[IResolvable, List[Union[int, float]], None]

validation

CfnVirtualNode.ClientPolicyTlsProperty.Validation.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicytls.html#cfn-appmesh-virtualnode-clientpolicytls-validation

Return type

Union[IResolvable, TlsValidationContextProperty]

DnsServiceDiscoveryProperty

class CfnVirtualNode.DnsServiceDiscoveryProperty(*, hostname)

Bases: object

Parameters

hostname (str) – CfnVirtualNode.DnsServiceDiscoveryProperty.Hostname.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-dnsservicediscovery.html

Attributes

hostname

CfnVirtualNode.DnsServiceDiscoveryProperty.Hostname.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-dnsservicediscovery.html#cfn-appmesh-virtualnode-dnsservicediscovery-hostname

Return type

str

DurationProperty

class CfnVirtualNode.DurationProperty(*, unit, value)

Bases: object

Parameters
  • unit (str) – CfnVirtualNode.DurationProperty.Unit.

  • value (Union[int, float]) – CfnVirtualNode.DurationProperty.Value.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-duration.html

Attributes

unit

CfnVirtualNode.DurationProperty.Unit.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-duration.html#cfn-appmesh-virtualnode-duration-unit

Return type

str

value

CfnVirtualNode.DurationProperty.Value.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-duration.html#cfn-appmesh-virtualnode-duration-value

Return type

Union[int, float]

FileAccessLogProperty

class CfnVirtualNode.FileAccessLogProperty(*, path)

Bases: object

Parameters

path (str) – CfnVirtualNode.FileAccessLogProperty.Path.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-fileaccesslog.html

Attributes

path

CfnVirtualNode.FileAccessLogProperty.Path.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-fileaccesslog.html#cfn-appmesh-virtualnode-fileaccesslog-path

Return type

str

GrpcTimeoutProperty

class CfnVirtualNode.GrpcTimeoutProperty(*, idle=None, per_request=None)

Bases: object

Parameters
See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-grpctimeout.html

Attributes

idle

CfnVirtualNode.GrpcTimeoutProperty.Idle.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-grpctimeout.html#cfn-appmesh-virtualnode-grpctimeout-idle

Return type

Union[IResolvable, DurationProperty, None]

per_request

CfnVirtualNode.GrpcTimeoutProperty.PerRequest.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-grpctimeout.html#cfn-appmesh-virtualnode-grpctimeout-perrequest

Return type

Union[IResolvable, DurationProperty, None]

HealthCheckProperty

class CfnVirtualNode.HealthCheckProperty(*, healthy_threshold, interval_millis, protocol, timeout_millis, unhealthy_threshold, path=None, port=None)

Bases: object

Parameters
  • healthy_threshold (Union[int, float]) – CfnVirtualNode.HealthCheckProperty.HealthyThreshold.

  • interval_millis (Union[int, float]) – CfnVirtualNode.HealthCheckProperty.IntervalMillis.

  • protocol (str) – CfnVirtualNode.HealthCheckProperty.Protocol.

  • timeout_millis (Union[int, float]) – CfnVirtualNode.HealthCheckProperty.TimeoutMillis.

  • unhealthy_threshold (Union[int, float]) – CfnVirtualNode.HealthCheckProperty.UnhealthyThreshold.

  • path (Optional[str]) – CfnVirtualNode.HealthCheckProperty.Path.

  • port (Union[int, float, None]) – CfnVirtualNode.HealthCheckProperty.Port.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-healthcheck.html

Attributes

healthy_threshold

CfnVirtualNode.HealthCheckProperty.HealthyThreshold.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-healthcheck.html#cfn-appmesh-virtualnode-healthcheck-healthythreshold

Return type

Union[int, float]

interval_millis

CfnVirtualNode.HealthCheckProperty.IntervalMillis.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-healthcheck.html#cfn-appmesh-virtualnode-healthcheck-intervalmillis

Return type

Union[int, float]

path

CfnVirtualNode.HealthCheckProperty.Path.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-healthcheck.html#cfn-appmesh-virtualnode-healthcheck-path

Return type

Optional[str]

port

CfnVirtualNode.HealthCheckProperty.Port.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-healthcheck.html#cfn-appmesh-virtualnode-healthcheck-port

Return type

Union[int, float, None]

protocol

CfnVirtualNode.HealthCheckProperty.Protocol.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-healthcheck.html#cfn-appmesh-virtualnode-healthcheck-protocol

Return type

str

timeout_millis

CfnVirtualNode.HealthCheckProperty.TimeoutMillis.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-healthcheck.html#cfn-appmesh-virtualnode-healthcheck-timeoutmillis

Return type

Union[int, float]

unhealthy_threshold

CfnVirtualNode.HealthCheckProperty.UnhealthyThreshold.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-healthcheck.html#cfn-appmesh-virtualnode-healthcheck-unhealthythreshold

Return type

Union[int, float]

HttpTimeoutProperty

class CfnVirtualNode.HttpTimeoutProperty(*, idle=None, per_request=None)

Bases: object

Parameters
See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-httptimeout.html

Attributes

idle

CfnVirtualNode.HttpTimeoutProperty.Idle.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-httptimeout.html#cfn-appmesh-virtualnode-httptimeout-idle

Return type

Union[IResolvable, DurationProperty, None]

per_request

CfnVirtualNode.HttpTimeoutProperty.PerRequest.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-httptimeout.html#cfn-appmesh-virtualnode-httptimeout-perrequest

Return type

Union[IResolvable, DurationProperty, None]

ListenerProperty

class CfnVirtualNode.ListenerProperty(*, port_mapping, health_check=None, timeout=None, tls=None)

Bases: object

Parameters
See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html

Attributes

health_check

CfnVirtualNode.ListenerProperty.HealthCheck.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html#cfn-appmesh-virtualnode-listener-healthcheck

Return type

Union[IResolvable, HealthCheckProperty, None]

port_mapping

CfnVirtualNode.ListenerProperty.PortMapping.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html#cfn-appmesh-virtualnode-listener-portmapping

Return type

Union[IResolvable, PortMappingProperty]

timeout

CfnVirtualNode.ListenerProperty.Timeout.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html#cfn-appmesh-virtualnode-listener-timeout

Return type

Union[IResolvable, ListenerTimeoutProperty, None]

tls

CfnVirtualNode.ListenerProperty.TLS.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html#cfn-appmesh-virtualnode-listener-tls

Return type

Union[IResolvable, ListenerTlsProperty, None]

ListenerTimeoutProperty

class CfnVirtualNode.ListenerTimeoutProperty(*, grpc=None, http=None, http2=None, tcp=None)

Bases: object

Parameters
See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertimeout.html

Attributes

grpc

CfnVirtualNode.ListenerTimeoutProperty.GRPC.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertimeout.html#cfn-appmesh-virtualnode-listenertimeout-grpc

Return type

Union[IResolvable, GrpcTimeoutProperty, None]

http

CfnVirtualNode.ListenerTimeoutProperty.HTTP.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertimeout.html#cfn-appmesh-virtualnode-listenertimeout-http

Return type

Union[IResolvable, HttpTimeoutProperty, None]

http2

CfnVirtualNode.ListenerTimeoutProperty.HTTP2.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertimeout.html#cfn-appmesh-virtualnode-listenertimeout-http2

Return type

Union[IResolvable, HttpTimeoutProperty, None]

tcp

CfnVirtualNode.ListenerTimeoutProperty.TCP.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertimeout.html#cfn-appmesh-virtualnode-listenertimeout-tcp

Return type

Union[IResolvable, TcpTimeoutProperty, None]

ListenerTlsAcmCertificateProperty

class CfnVirtualNode.ListenerTlsAcmCertificateProperty(*, certificate_arn)

Bases: object

Parameters

certificate_arn (str) – CfnVirtualNode.ListenerTlsAcmCertificateProperty.CertificateArn.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlsacmcertificate.html

Attributes

certificate_arn

CfnVirtualNode.ListenerTlsAcmCertificateProperty.CertificateArn.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlsacmcertificate.html#cfn-appmesh-virtualnode-listenertlsacmcertificate-certificatearn

Return type

str

ListenerTlsCertificateProperty

class CfnVirtualNode.ListenerTlsCertificateProperty(*, acm=None, file=None)

Bases: object

Parameters
See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlscertificate.html

Attributes

acm

CfnVirtualNode.ListenerTlsCertificateProperty.ACM.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlscertificate.html#cfn-appmesh-virtualnode-listenertlscertificate-acm

Return type

Union[IResolvable, ListenerTlsAcmCertificateProperty, None]

file

CfnVirtualNode.ListenerTlsCertificateProperty.File.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlscertificate.html#cfn-appmesh-virtualnode-listenertlscertificate-file

Return type

Union[IResolvable, ListenerTlsFileCertificateProperty, None]

ListenerTlsFileCertificateProperty

class CfnVirtualNode.ListenerTlsFileCertificateProperty(*, certificate_chain, private_key)

Bases: object

Parameters
  • certificate_chain (str) – CfnVirtualNode.ListenerTlsFileCertificateProperty.CertificateChain.

  • private_key (str) – CfnVirtualNode.ListenerTlsFileCertificateProperty.PrivateKey.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlsfilecertificate.html

Attributes

certificate_chain

CfnVirtualNode.ListenerTlsFileCertificateProperty.CertificateChain.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlsfilecertificate.html#cfn-appmesh-virtualnode-listenertlsfilecertificate-certificatechain

Return type

str

private_key

CfnVirtualNode.ListenerTlsFileCertificateProperty.PrivateKey.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlsfilecertificate.html#cfn-appmesh-virtualnode-listenertlsfilecertificate-privatekey

Return type

str

ListenerTlsProperty

class CfnVirtualNode.ListenerTlsProperty(*, certificate, mode)

Bases: object

Parameters
See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertls.html

Attributes

certificate

CfnVirtualNode.ListenerTlsProperty.Certificate.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertls.html#cfn-appmesh-virtualnode-listenertls-certificate

Return type

Union[IResolvable, ListenerTlsCertificateProperty]

mode

CfnVirtualNode.ListenerTlsProperty.Mode.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertls.html#cfn-appmesh-virtualnode-listenertls-mode

Return type

str

LoggingProperty

class CfnVirtualNode.LoggingProperty(*, access_log=None)

Bases: object

Parameters

access_log (Union[AccessLogProperty, IResolvable, None]) – CfnVirtualNode.LoggingProperty.AccessLog.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-logging.html

Attributes

access_log

CfnVirtualNode.LoggingProperty.AccessLog.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-logging.html#cfn-appmesh-virtualnode-logging-accesslog

Return type

Union[AccessLogProperty, IResolvable, None]

PortMappingProperty

class CfnVirtualNode.PortMappingProperty(*, port, protocol)

Bases: object

Parameters
  • port (Union[int, float]) – CfnVirtualNode.PortMappingProperty.Port.

  • protocol (str) – CfnVirtualNode.PortMappingProperty.Protocol.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-portmapping.html

Attributes

port

CfnVirtualNode.PortMappingProperty.Port.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-portmapping.html#cfn-appmesh-virtualnode-portmapping-port

Return type

Union[int, float]

protocol

CfnVirtualNode.PortMappingProperty.Protocol.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-portmapping.html#cfn-appmesh-virtualnode-portmapping-protocol

Return type

str

ServiceDiscoveryProperty

class CfnVirtualNode.ServiceDiscoveryProperty(*, aws_cloud_map=None, dns=None)

Bases: object

Parameters
See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-servicediscovery.html

Attributes

aws_cloud_map

CfnVirtualNode.ServiceDiscoveryProperty.AWSCloudMap.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-servicediscovery.html#cfn-appmesh-virtualnode-servicediscovery-awscloudmap

Return type

Union[IResolvable, AwsCloudMapServiceDiscoveryProperty, None]

dns

CfnVirtualNode.ServiceDiscoveryProperty.DNS.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-servicediscovery.html#cfn-appmesh-virtualnode-servicediscovery-dns

Return type

Union[IResolvable, DnsServiceDiscoveryProperty, None]

TcpTimeoutProperty

class CfnVirtualNode.TcpTimeoutProperty(*, idle=None)

Bases: object

Parameters

idle (Union[IResolvable, DurationProperty, None]) – CfnVirtualNode.TcpTimeoutProperty.Idle.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tcptimeout.html

Attributes

idle

CfnVirtualNode.TcpTimeoutProperty.Idle.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tcptimeout.html#cfn-appmesh-virtualnode-tcptimeout-idle

Return type

Union[IResolvable, DurationProperty, None]

TlsValidationContextAcmTrustProperty

class CfnVirtualNode.TlsValidationContextAcmTrustProperty(*, certificate_authority_arns)

Bases: object

Parameters

certificate_authority_arns (List[str]) – CfnVirtualNode.TlsValidationContextAcmTrustProperty.CertificateAuthorityArns.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontextacmtrust.html

Attributes

certificate_authority_arns

CfnVirtualNode.TlsValidationContextAcmTrustProperty.CertificateAuthorityArns.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontextacmtrust.html#cfn-appmesh-virtualnode-tlsvalidationcontextacmtrust-certificateauthorityarns

Return type

List[str]

TlsValidationContextFileTrustProperty

class CfnVirtualNode.TlsValidationContextFileTrustProperty(*, certificate_chain)

Bases: object

Parameters

certificate_chain (str) – CfnVirtualNode.TlsValidationContextFileTrustProperty.CertificateChain.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontextfiletrust.html

Attributes

certificate_chain

CfnVirtualNode.TlsValidationContextFileTrustProperty.CertificateChain.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontextfiletrust.html#cfn-appmesh-virtualnode-tlsvalidationcontextfiletrust-certificatechain

Return type

str

TlsValidationContextProperty

class CfnVirtualNode.TlsValidationContextProperty(*, trust)

Bases: object

Parameters

trust (Union[IResolvable, TlsValidationContextTrustProperty]) – CfnVirtualNode.TlsValidationContextProperty.Trust.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontext.html

Attributes

trust

CfnVirtualNode.TlsValidationContextProperty.Trust.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontext.html#cfn-appmesh-virtualnode-tlsvalidationcontext-trust

Return type

Union[IResolvable, TlsValidationContextTrustProperty]

TlsValidationContextTrustProperty

class CfnVirtualNode.TlsValidationContextTrustProperty(*, acm=None, file=None)

Bases: object

Parameters
See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontexttrust.html

Attributes

acm

CfnVirtualNode.TlsValidationContextTrustProperty.ACM.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontexttrust.html#cfn-appmesh-virtualnode-tlsvalidationcontexttrust-acm

Return type

Union[IResolvable, TlsValidationContextAcmTrustProperty, None]

file

CfnVirtualNode.TlsValidationContextTrustProperty.File.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontexttrust.html#cfn-appmesh-virtualnode-tlsvalidationcontexttrust-file

Return type

Union[IResolvable, TlsValidationContextFileTrustProperty, None]

VirtualNodeSpecProperty

class CfnVirtualNode.VirtualNodeSpecProperty(*, backend_defaults=None, backends=None, listeners=None, logging=None, service_discovery=None)

Bases: object

Parameters
See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodespec.html

Attributes

backend_defaults

CfnVirtualNode.VirtualNodeSpecProperty.BackendDefaults.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodespec.html#cfn-appmesh-virtualnode-virtualnodespec-backenddefaults

Return type

Union[IResolvable, BackendDefaultsProperty, None]

backends

CfnVirtualNode.VirtualNodeSpecProperty.Backends.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodespec.html#cfn-appmesh-virtualnode-virtualnodespec-backends

Return type

Union[IResolvable, List[Union[IResolvable, BackendProperty]], None]

listeners

CfnVirtualNode.VirtualNodeSpecProperty.Listeners.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodespec.html#cfn-appmesh-virtualnode-virtualnodespec-listeners

Return type

Union[IResolvable, List[Union[IResolvable, ListenerProperty]], None]

logging

CfnVirtualNode.VirtualNodeSpecProperty.Logging.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodespec.html#cfn-appmesh-virtualnode-virtualnodespec-logging

Return type

Union[IResolvable, LoggingProperty, None]

service_discovery

CfnVirtualNode.VirtualNodeSpecProperty.ServiceDiscovery.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodespec.html#cfn-appmesh-virtualnode-virtualnodespec-servicediscovery

Return type

Union[IResolvable, ServiceDiscoveryProperty, None]

VirtualServiceBackendProperty

class CfnVirtualNode.VirtualServiceBackendProperty(*, virtual_service_name, client_policy=None)

Bases: object

Parameters
  • virtual_service_name (str) – CfnVirtualNode.VirtualServiceBackendProperty.VirtualServiceName.

  • client_policy (Union[IResolvable, ClientPolicyProperty, None]) – CfnVirtualNode.VirtualServiceBackendProperty.ClientPolicy.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualservicebackend.html

Attributes

client_policy

CfnVirtualNode.VirtualServiceBackendProperty.ClientPolicy.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualservicebackend.html#cfn-appmesh-virtualnode-virtualservicebackend-clientpolicy

Return type

Union[IResolvable, ClientPolicyProperty, None]

virtual_service_name

CfnVirtualNode.VirtualServiceBackendProperty.VirtualServiceName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualservicebackend.html#cfn-appmesh-virtualnode-virtualservicebackend-virtualservicename

Return type

str