Show / Hide Table of Contents

Class CfnRecordSet.GeoProximityLocationProperty

(Resource record sets only): A complex type that lets you specify where your resources are located.

Inheritance
object
CfnRecordSet.GeoProximityLocationProperty
Implements
CfnRecordSet.IGeoProximityLocationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRecordSet.GeoProximityLocationProperty : CfnRecordSet.IGeoProximityLocationProperty
Syntax (vb)
Public Class CfnRecordSet.GeoProximityLocationProperty Implements CfnRecordSet.IGeoProximityLocationProperty
Remarks

Only one of LocalZoneGroup , Coordinates , or AWS Region is allowed per request at a time.

For more information about geoproximity routing, see Geoproximity routing in the Amazon Route 53 Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-geoproximitylocation.html

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.AWS.Route53;

             var geoProximityLocationProperty = new GeoProximityLocationProperty {
                 AwsRegion = "awsRegion",
                 Bias = 123,
                 Coordinates = new CoordinatesProperty {
                     Latitude = "latitude",
                     Longitude = "longitude"
                 },
                 LocalZoneGroup = "localZoneGroup"
             };

Synopsis

Constructors

GeoProximityLocationProperty()

(Resource record sets only): A complex type that lets you specify where your resources are located.

Properties

AwsRegion

The AWS Region the resource you are directing DNS traffic to, is in.

Bias

The bias increases or decreases the size of the geographic region from which Route 53 routes traffic to a resource.

Coordinates

Contains the longitude and latitude for a geographic region.

LocalZoneGroup

Specifies an AWS Local Zone Group.

Constructors

GeoProximityLocationProperty()

(Resource record sets only): A complex type that lets you specify where your resources are located.

public GeoProximityLocationProperty()
Remarks

Only one of LocalZoneGroup , Coordinates , or AWS Region is allowed per request at a time.

For more information about geoproximity routing, see Geoproximity routing in the Amazon Route 53 Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-geoproximitylocation.html

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.AWS.Route53;

             var geoProximityLocationProperty = new GeoProximityLocationProperty {
                 AwsRegion = "awsRegion",
                 Bias = 123,
                 Coordinates = new CoordinatesProperty {
                     Latitude = "latitude",
                     Longitude = "longitude"
                 },
                 LocalZoneGroup = "localZoneGroup"
             };

Properties

AwsRegion

The AWS Region the resource you are directing DNS traffic to, is in.

public string? AwsRegion { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-geoproximitylocation.html#cfn-route53-recordset-geoproximitylocation-awsregion

Bias

The bias increases or decreases the size of the geographic region from which Route 53 routes traffic to a resource.

public double? Bias { get; set; }
Property Value

double?

Remarks

To use Bias to change the size of the geographic region, specify the applicable value for the bias:

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-geoproximitylocation.html#cfn-route53-recordset-geoproximitylocation-bias

    Coordinates

    Contains the longitude and latitude for a geographic region.

    public object? Coordinates { get; set; }
    Property Value

    object

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-geoproximitylocation.html#cfn-route53-recordset-geoproximitylocation-coordinates

    Type union: either IResolvable or CfnRecordSet.ICoordinatesProperty

    LocalZoneGroup

    Specifies an AWS Local Zone Group.

    public string? LocalZoneGroup { get; set; }
    Property Value

    string

    Remarks

    A local Zone Group is usually the Local Zone code without the ending character. For example, if the Local Zone is us-east-1-bue-1a the Local Zone Group is us-east-1-bue-1 .

    You can identify the Local Zones Group for a specific Local Zone by using the describe-availability-zones CLI command:

    This command returns: "GroupName": "us-west-2-den-1" , specifying that the Local Zone us-west-2-den-1a belongs to the Local Zone Group us-west-2-den-1 .

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-geoproximitylocation.html#cfn-route53-recordset-geoproximitylocation-localzonegroup

    Implements

    CfnRecordSet.IGeoProximityLocationProperty
    Back to top Generated by DocFX