Class CfnPublicDnsNamespacePropsMixin
Creates a public namespace based on DNS, which is visible on the internet.
Implements
Inherited Members
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.
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 |
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.
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.
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.
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
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.
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
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.
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
Overrides
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.
CloudformationResource: AWS::ServiceDiscovery::PublicDnsNamespace
Mixin: true
ExampleMetadata: fixture=_generated