CloudMapNamespaceOptions

class aws_cdk.aws_ecs.CloudMapNamespaceOptions(*, name, type=None, vpc=None)

Bases: object

__init__(*, name, type=None, vpc=None)

The options for creating an AWS Cloud Map namespace.

Parameters
  • name (str) – The name of the namespace, such as example.com.

  • type (Optional[NamespaceType]) – The type of CloudMap Namespace to create. Default: PrivateDns

  • vpc (Optional[IVpc]) – The VPC to associate the namespace with. This property is required for private DNS namespaces. Default: VPC of the cluster for Private DNS Namespace, otherwise none

Attributes

name

The name of the namespace, such as example.com.

Return type

str

type

The type of CloudMap Namespace to create.

default :default: PrivateDns

Return type

Optional[NamespaceType]

vpc

The VPC to associate the namespace with.

This property is required for private DNS namespaces.

default :default: VPC of the cluster for Private DNS Namespace, otherwise none

Return type

Optional[IVpc]