Show / Hide Table of Contents

Class CfnPublicDnsNamespacePropsMixin

Creates a public namespace based on DNS, which is visible on the internet.

Inheritance
object
Mixin
CfnPublicDnsNamespacePropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.ServiceDiscovery
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnPublicDnsNamespacePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnPublicDnsNamespacePropsMixin Inherits Mixin Implements IMixin
Remarks

The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend , the resulting DNS name for the service is backend.example.com . You can discover instances that were registered with a public DNS namespace by using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same AWS account , see AWS Cloud Map quotas in the AWS Cloud Map Developer Guide .

The <code>CreatePublicDnsNamespace</code> API operation is not supported in the AWS GovCloud (US) Regions.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html

CloudformationResource: AWS::ServiceDiscovery::PublicDnsNamespace

Mixin: true

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.ServiceDiscovery;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnPublicDnsNamespacePropsMixin = new CfnPublicDnsNamespacePropsMixin(new CfnPublicDnsNamespaceMixinProps {
                 Description = "description",
                 Name = "name",
                 Properties = new PropertiesProperty {
                     DnsProperties = new PublicDnsPropertiesMutableProperty {
                         Soa = new SOAProperty {
                             Ttl = 123
                         }
                     }
                 },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Synopsis

Constructors

CfnPublicDnsNamespacePropsMixin(ICfnPublicDnsNamespaceMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::ServiceDiscovery::PublicDnsNamespace.

Properties

CFN_PROPERTY_KEYS

Creates a public namespace based on DNS, which is visible on the internet.

Props

Creates a public namespace based on DNS, which is visible on the internet.

Strategy

Creates a public namespace based on DNS, which is visible on the internet.

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

Supports(IConstruct)

Check if this mixin supports the given construct.

Constructors

CfnPublicDnsNamespacePropsMixin(ICfnPublicDnsNamespaceMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::ServiceDiscovery::PublicDnsNamespace.

public CfnPublicDnsNamespacePropsMixin(ICfnPublicDnsNamespaceMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
props ICfnPublicDnsNamespaceMixinProps

L1 properties to apply.

options ICfnPropertyMixinOptions

Mixin options.

Remarks

The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend , the resulting DNS name for the service is backend.example.com . You can discover instances that were registered with a public DNS namespace by using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same AWS account , see AWS Cloud Map quotas in the AWS Cloud Map Developer Guide .

The <code>CreatePublicDnsNamespace</code> API operation is not supported in the AWS GovCloud (US) Regions.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html

CloudformationResource: AWS::ServiceDiscovery::PublicDnsNamespace

Mixin: true

ExampleMetadata: fixture=_generated

Properties

CFN_PROPERTY_KEYS

Creates a public namespace based on DNS, which is visible on the internet.

protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value

string[]

Remarks

The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend , the resulting DNS name for the service is backend.example.com . You can discover instances that were registered with a public DNS namespace by using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same AWS account , see AWS Cloud Map quotas in the AWS Cloud Map Developer Guide .

The <code>CreatePublicDnsNamespace</code> API operation is not supported in the AWS GovCloud (US) Regions.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html

CloudformationResource: AWS::ServiceDiscovery::PublicDnsNamespace

Mixin: true

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.ServiceDiscovery;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnPublicDnsNamespacePropsMixin = new CfnPublicDnsNamespacePropsMixin(new CfnPublicDnsNamespaceMixinProps {
                 Description = "description",
                 Name = "name",
                 Properties = new PropertiesProperty {
                     DnsProperties = new PublicDnsPropertiesMutableProperty {
                         Soa = new SOAProperty {
                             Ttl = 123
                         }
                     }
                 },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Props

Creates a public namespace based on DNS, which is visible on the internet.

protected virtual ICfnPublicDnsNamespaceMixinProps Props { get; }
Property Value

ICfnPublicDnsNamespaceMixinProps

Remarks

The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend , the resulting DNS name for the service is backend.example.com . You can discover instances that were registered with a public DNS namespace by using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same AWS account , see AWS Cloud Map quotas in the AWS Cloud Map Developer Guide .

The <code>CreatePublicDnsNamespace</code> API operation is not supported in the AWS GovCloud (US) Regions.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html

CloudformationResource: AWS::ServiceDiscovery::PublicDnsNamespace

Mixin: true

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.ServiceDiscovery;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnPublicDnsNamespacePropsMixin = new CfnPublicDnsNamespacePropsMixin(new CfnPublicDnsNamespaceMixinProps {
                 Description = "description",
                 Name = "name",
                 Properties = new PropertiesProperty {
                     DnsProperties = new PublicDnsPropertiesMutableProperty {
                         Soa = new SOAProperty {
                             Ttl = 123
                         }
                     }
                 },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Strategy

Creates a public namespace based on DNS, which is visible on the internet.

protected virtual IMergeStrategy Strategy { get; }
Property Value

IMergeStrategy

Remarks

The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend , the resulting DNS name for the service is backend.example.com . You can discover instances that were registered with a public DNS namespace by using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same AWS account , see AWS Cloud Map quotas in the AWS Cloud Map Developer Guide .

The <code>CreatePublicDnsNamespace</code> API operation is not supported in the AWS GovCloud (US) Regions.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html

CloudformationResource: AWS::ServiceDiscovery::PublicDnsNamespace

Mixin: true

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.ServiceDiscovery;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnPublicDnsNamespacePropsMixin = new CfnPublicDnsNamespacePropsMixin(new CfnPublicDnsNamespaceMixinProps {
                 Description = "description",
                 Name = "name",
                 Properties = new PropertiesProperty {
                     DnsProperties = new PublicDnsPropertiesMutableProperty {
                         Soa = new SOAProperty {
                             Ttl = 123
                         }
                     }
                 },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

public override void ApplyTo(IConstruct construct)
Parameters
construct IConstruct
Overrides
Mixin.ApplyTo(IConstruct)
Remarks

The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend , the resulting DNS name for the service is backend.example.com . You can discover instances that were registered with a public DNS namespace by using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same AWS account , see AWS Cloud Map quotas in the AWS Cloud Map Developer Guide .

The <code>CreatePublicDnsNamespace</code> API operation is not supported in the AWS GovCloud (US) Regions.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html

CloudformationResource: AWS::ServiceDiscovery::PublicDnsNamespace

Mixin: true

ExampleMetadata: fixture=_generated

Supports(IConstruct)

Check if this mixin supports the given construct.

public override bool Supports(IConstruct construct)
Parameters
construct IConstruct
Returns

bool

Overrides
Mixin.Supports(IConstruct)
Remarks

The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend , the resulting DNS name for the service is backend.example.com . You can discover instances that were registered with a public DNS namespace by using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same AWS account , see AWS Cloud Map quotas in the AWS Cloud Map Developer Guide .

The <code>CreatePublicDnsNamespace</code> API operation is not supported in the AWS GovCloud (US) Regions.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html

CloudformationResource: AWS::ServiceDiscovery::PublicDnsNamespace

Mixin: true

ExampleMetadata: fixture=_generated

Implements

Constructs.IMixin
Back to top Generated by DocFX