Class CfnHostedZonePropsMixin
Creates a new public or private hosted zone.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Route53.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnHostedZonePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnHostedZonePropsMixin Inherits Mixin Implements IMixin
Remarks
You create records in a public hosted zone to define how you want to route traffic on the internet for a domain, such as example.com, and its subdomains (apex.example.com, acme.example.com). You create records in a private hosted zone to define how you want to route traffic for a domain and its subdomains within one or more Amazon Virtual Private Clouds (Amazon VPCs).
You can't convert a public hosted zone to a private hosted zone or vice versa. Instead, you must create a new hosted zone with the same name and create new resource record sets.
For more information about charges for hosted zones, see Amazon Route 53 Pricing .
Note the following:
When you submit a CreateHostedZone request, the initial status of the hosted zone is PENDING . For public hosted zones, this means that the NS and SOA records are not yet available on all Route 53 DNS servers. When the NS and SOA records are available, the status of the zone changes to INSYNC .
The CreateHostedZone request requires the caller to have an ec2:DescribeVpcs permission.
When creating private hosted zones, the Amazon VPC must belong to the same partition where the hosted zone is created. A partition is a group of AWS Regions . Each AWS account is scoped to one partition.
The following are the supported partitions:
For more information, see Access Management in the AWS General Reference .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html
CloudformationResource: AWS::Route53::HostedZone
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Route53.Mixins;
var cfnHostedZonePropsMixin = new CfnHostedZonePropsMixin(new CfnHostedZoneMixinProps {
HostedZoneConfig = new HostedZoneConfigProperty {
Comment = "comment"
},
HostedZoneFeatures = new HostedZoneFeaturesProperty {
EnableAcceleratedRecovery = false
},
HostedZoneTags = new [] { new HostedZoneTagProperty {
Key = "key",
Value = "value"
} },
Name = "name",
QueryLoggingConfig = new QueryLoggingConfigProperty {
CloudWatchLogsLogGroupArn = "cloudWatchLogsLogGroupArn"
},
Vpcs = new [] { new VPCProperty {
VpcId = "vpcId",
VpcRegion = "vpcRegion"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnHostedZonePropsMixin(ICfnHostedZoneMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates a new public or private hosted zone. |
| Props | Creates a new public or private hosted zone. |
| Strategy | Creates a new public or private hosted zone. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnHostedZonePropsMixin(ICfnHostedZoneMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Route53::HostedZone.
public CfnHostedZonePropsMixin(ICfnHostedZoneMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnHostedZoneMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
You create records in a public hosted zone to define how you want to route traffic on the internet for a domain, such as example.com, and its subdomains (apex.example.com, acme.example.com). You create records in a private hosted zone to define how you want to route traffic for a domain and its subdomains within one or more Amazon Virtual Private Clouds (Amazon VPCs).
You can't convert a public hosted zone to a private hosted zone or vice versa. Instead, you must create a new hosted zone with the same name and create new resource record sets.
For more information about charges for hosted zones, see Amazon Route 53 Pricing .
Note the following:
When you submit a CreateHostedZone request, the initial status of the hosted zone is PENDING . For public hosted zones, this means that the NS and SOA records are not yet available on all Route 53 DNS servers. When the NS and SOA records are available, the status of the zone changes to INSYNC .
The CreateHostedZone request requires the caller to have an ec2:DescribeVpcs permission.
When creating private hosted zones, the Amazon VPC must belong to the same partition where the hosted zone is created. A partition is a group of AWS Regions . Each AWS account is scoped to one partition.
The following are the supported partitions:
For more information, see Access Management in the AWS General Reference .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html
CloudformationResource: AWS::Route53::HostedZone
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates a new public or private hosted zone.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
You create records in a public hosted zone to define how you want to route traffic on the internet for a domain, such as example.com, and its subdomains (apex.example.com, acme.example.com). You create records in a private hosted zone to define how you want to route traffic for a domain and its subdomains within one or more Amazon Virtual Private Clouds (Amazon VPCs).
You can't convert a public hosted zone to a private hosted zone or vice versa. Instead, you must create a new hosted zone with the same name and create new resource record sets.
For more information about charges for hosted zones, see Amazon Route 53 Pricing .
Note the following:
When you submit a CreateHostedZone request, the initial status of the hosted zone is PENDING . For public hosted zones, this means that the NS and SOA records are not yet available on all Route 53 DNS servers. When the NS and SOA records are available, the status of the zone changes to INSYNC .
The CreateHostedZone request requires the caller to have an ec2:DescribeVpcs permission.
When creating private hosted zones, the Amazon VPC must belong to the same partition where the hosted zone is created. A partition is a group of AWS Regions . Each AWS account is scoped to one partition.
The following are the supported partitions:
For more information, see Access Management in the AWS General Reference .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html
CloudformationResource: AWS::Route53::HostedZone
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Route53.Mixins;
var cfnHostedZonePropsMixin = new CfnHostedZonePropsMixin(new CfnHostedZoneMixinProps {
HostedZoneConfig = new HostedZoneConfigProperty {
Comment = "comment"
},
HostedZoneFeatures = new HostedZoneFeaturesProperty {
EnableAcceleratedRecovery = false
},
HostedZoneTags = new [] { new HostedZoneTagProperty {
Key = "key",
Value = "value"
} },
Name = "name",
QueryLoggingConfig = new QueryLoggingConfigProperty {
CloudWatchLogsLogGroupArn = "cloudWatchLogsLogGroupArn"
},
Vpcs = new [] { new VPCProperty {
VpcId = "vpcId",
VpcRegion = "vpcRegion"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Creates a new public or private hosted zone.
protected virtual ICfnHostedZoneMixinProps Props { get; }
Property Value
Remarks
You create records in a public hosted zone to define how you want to route traffic on the internet for a domain, such as example.com, and its subdomains (apex.example.com, acme.example.com). You create records in a private hosted zone to define how you want to route traffic for a domain and its subdomains within one or more Amazon Virtual Private Clouds (Amazon VPCs).
You can't convert a public hosted zone to a private hosted zone or vice versa. Instead, you must create a new hosted zone with the same name and create new resource record sets.
For more information about charges for hosted zones, see Amazon Route 53 Pricing .
Note the following:
When you submit a CreateHostedZone request, the initial status of the hosted zone is PENDING . For public hosted zones, this means that the NS and SOA records are not yet available on all Route 53 DNS servers. When the NS and SOA records are available, the status of the zone changes to INSYNC .
The CreateHostedZone request requires the caller to have an ec2:DescribeVpcs permission.
When creating private hosted zones, the Amazon VPC must belong to the same partition where the hosted zone is created. A partition is a group of AWS Regions . Each AWS account is scoped to one partition.
The following are the supported partitions:
For more information, see Access Management in the AWS General Reference .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html
CloudformationResource: AWS::Route53::HostedZone
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Route53.Mixins;
var cfnHostedZonePropsMixin = new CfnHostedZonePropsMixin(new CfnHostedZoneMixinProps {
HostedZoneConfig = new HostedZoneConfigProperty {
Comment = "comment"
},
HostedZoneFeatures = new HostedZoneFeaturesProperty {
EnableAcceleratedRecovery = false
},
HostedZoneTags = new [] { new HostedZoneTagProperty {
Key = "key",
Value = "value"
} },
Name = "name",
QueryLoggingConfig = new QueryLoggingConfigProperty {
CloudWatchLogsLogGroupArn = "cloudWatchLogsLogGroupArn"
},
Vpcs = new [] { new VPCProperty {
VpcId = "vpcId",
VpcRegion = "vpcRegion"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Creates a new public or private hosted zone.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
You create records in a public hosted zone to define how you want to route traffic on the internet for a domain, such as example.com, and its subdomains (apex.example.com, acme.example.com). You create records in a private hosted zone to define how you want to route traffic for a domain and its subdomains within one or more Amazon Virtual Private Clouds (Amazon VPCs).
You can't convert a public hosted zone to a private hosted zone or vice versa. Instead, you must create a new hosted zone with the same name and create new resource record sets.
For more information about charges for hosted zones, see Amazon Route 53 Pricing .
Note the following:
When you submit a CreateHostedZone request, the initial status of the hosted zone is PENDING . For public hosted zones, this means that the NS and SOA records are not yet available on all Route 53 DNS servers. When the NS and SOA records are available, the status of the zone changes to INSYNC .
The CreateHostedZone request requires the caller to have an ec2:DescribeVpcs permission.
When creating private hosted zones, the Amazon VPC must belong to the same partition where the hosted zone is created. A partition is a group of AWS Regions . Each AWS account is scoped to one partition.
The following are the supported partitions:
For more information, see Access Management in the AWS General Reference .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html
CloudformationResource: AWS::Route53::HostedZone
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Route53.Mixins;
var cfnHostedZonePropsMixin = new CfnHostedZonePropsMixin(new CfnHostedZoneMixinProps {
HostedZoneConfig = new HostedZoneConfigProperty {
Comment = "comment"
},
HostedZoneFeatures = new HostedZoneFeaturesProperty {
EnableAcceleratedRecovery = false
},
HostedZoneTags = new [] { new HostedZoneTagProperty {
Key = "key",
Value = "value"
} },
Name = "name",
QueryLoggingConfig = new QueryLoggingConfigProperty {
CloudWatchLogsLogGroupArn = "cloudWatchLogsLogGroupArn"
},
Vpcs = new [] { new VPCProperty {
VpcId = "vpcId",
VpcRegion = "vpcRegion"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
You create records in a public hosted zone to define how you want to route traffic on the internet for a domain, such as example.com, and its subdomains (apex.example.com, acme.example.com). You create records in a private hosted zone to define how you want to route traffic for a domain and its subdomains within one or more Amazon Virtual Private Clouds (Amazon VPCs).
You can't convert a public hosted zone to a private hosted zone or vice versa. Instead, you must create a new hosted zone with the same name and create new resource record sets.
For more information about charges for hosted zones, see Amazon Route 53 Pricing .
Note the following:
When you submit a CreateHostedZone request, the initial status of the hosted zone is PENDING . For public hosted zones, this means that the NS and SOA records are not yet available on all Route 53 DNS servers. When the NS and SOA records are available, the status of the zone changes to INSYNC .
The CreateHostedZone request requires the caller to have an ec2:DescribeVpcs permission.
When creating private hosted zones, the Amazon VPC must belong to the same partition where the hosted zone is created. A partition is a group of AWS Regions . Each AWS account is scoped to one partition.
The following are the supported partitions:
For more information, see Access Management in the AWS General Reference .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html
CloudformationResource: AWS::Route53::HostedZone
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
You create records in a public hosted zone to define how you want to route traffic on the internet for a domain, such as example.com, and its subdomains (apex.example.com, acme.example.com). You create records in a private hosted zone to define how you want to route traffic for a domain and its subdomains within one or more Amazon Virtual Private Clouds (Amazon VPCs).
You can't convert a public hosted zone to a private hosted zone or vice versa. Instead, you must create a new hosted zone with the same name and create new resource record sets.
For more information about charges for hosted zones, see Amazon Route 53 Pricing .
Note the following:
When you submit a CreateHostedZone request, the initial status of the hosted zone is PENDING . For public hosted zones, this means that the NS and SOA records are not yet available on all Route 53 DNS servers. When the NS and SOA records are available, the status of the zone changes to INSYNC .
The CreateHostedZone request requires the caller to have an ec2:DescribeVpcs permission.
When creating private hosted zones, the Amazon VPC must belong to the same partition where the hosted zone is created. A partition is a group of AWS Regions . Each AWS account is scoped to one partition.
The following are the supported partitions:
For more information, see Access Management in the AWS General Reference .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html
CloudformationResource: AWS::Route53::HostedZone
Mixin: true
ExampleMetadata: fixture=_generated