< Back

Add-CfnRoute53_RecordSetResource

Sat Jan 11, 2020 7:44 am

NAME Add-CfnRoute53_RecordSetResource



SYNOPSIS

The AWS::Route53::RecordSet type can be used as a standalone resource or as an embedded property in the

AWS::Route53::RecordSetGroup type.





SYNTAX

Add-CfnRoute53_RecordSetResource [-ResourceName] <String> [-AliasTarget <IDictionary>] [-Comment <String>]

[-Failover <String>] [-GeoLocation <IDictionary>] [-HostedZoneId <String>] [-HostedZoneName <String>] [-Name

<String>] [-Region <String>] [-ResourceRecords <String[]>] [-SetIdentifier <String>] [-TTL <String>] [-Type

<String>] [-Weight <Int32>] [-DeletionPolicy <String>] [-Metadata <Hashtable>] [-DependsOn <Array>]

[[-PropertiesBlock] <ScriptBlock>] [-Condition <Object>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-ResourceName <String>



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AliasTarget <IDictionary>

Alias resource record sets only: Information about the domain to which you are redirecting traffic. Required:

Conditional. Required if you are creating an alias resource record set.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Comment <String>

Any comments you want to include about the hosted zone.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Failover <String>

Designates the record set as a PRIMARY or SECONDARY failover record set.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-GeoLocation <IDictionary>

Describes how Amazon Route 53 responds to DNS queries based on the geographic origin of the query.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-HostedZoneId <String>

The ID of the hosted zone. Required: Conditional. You must specify either the HostedZoneName or HostedZoneId,

but you cannot specify both.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-HostedZoneName <String>

The name of the domain for the hosted zone where you want to add the record set. Required: Conditional. You

must specify either the HostedZoneName or HostedZoneId, but you cannot specify both.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

The name of the domain. This must be a fully-specified domain, ending with a period as the last label

indication. If you omit the final period, Amazon Route 53 assumes the domain is relative to the root.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Region <String>

Latency resource record sets only: The Amazon EC2 region where the resource that is specified in this resource

record set resides. The resource typically is an AWS resource, for example, Amazon EC2 instance or an Elastic

Load Balancing load balancer, and is referred to by an IP address or a DNS domain name, depending on the

record type.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ResourceRecords <String[]>

List of resource records to add. Each record should be in the format appropriate for the record type specified

by the Type property. Required: Conditional. Required if TTL is specified.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SetIdentifier <String>

A unique identifier that differentiates among multiple resource record sets that have the same combination of

DNS name and type. Required: Conditional. Required if you are creating a weighted resource record set.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TTL <String>

The resource record cache time to live (TTL), in seconds. If TTL is specified, ResourceRecords is also

required.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Type <String>

The type of records to add.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Weight <Int32>

Weighted resource record sets only: Among resource record sets that have the same combination of DNS name and

type, a value that determines what portion of traffic for the current resource record set is routed to the

associated location. Required: Conditional. Required if you are creating a weighted resource record set.



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-DeletionPolicy <String>

With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is

deleted. You specify a DeletionPolicy attribute for each resource that you want to control. If a resource has

no DeletionPolicy attribute, AWS CloudFormation deletes the resource by default.



To keep a resource when its stack is deleted, specify Retain for that resource. You can use retain for any

resource. For example, you can retain a nested stack, S3 bucket, or EC2 instance so that you can continue to

use or modify those resources after you delete their stacks.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Metadata <Hashtable>

The Metadata attribute enables you to associate structured data with a resource. By adding a Metadata

attribute to a resource, you can add data in JSON format to the resource declaration. In addition, you can use

intrinsic functions (such as GetAtt and Ref), parameters, and pseudo parameters within the Metadata attribute

to add those interpreted values.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-DependsOn <Array>

With the DependsOn attribute you can specify that the creation of a specific resource follows another. When

you add a DependsOn attribute to a resource, that resource is created only after the creation of the resource

specified in the DependsOn attribute. You can use the DependsOn attribute with any resource.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PropertiesBlock <ScriptBlock>

Allows you to declare a block of one or more Property statements.



A Properties block allows you to side-step the rigid, type-enforced literal properties of a typed resource,

and specify Property assignments that may include CloudFormation function calls or references, or computed

values.



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Condition <Object>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS

http://docs.aws.amazon.com/AWSCloudForm ... olicy.html

http://docs.aws.amazon.com/AWSCloudForm ... adata.html

http://docs.aws.amazon.com/AWSCloudForm ... ndson.html

http://docs.aws.amazon.com/AWSCloudForm ... e-ref.html

http://docs.aws.amazon.com/search/doc-s ... :RecordSet