Show / Hide Table of Contents

Class HttpsRecord

A DNS HTTPS record.

Inheritance
object
Resource
RecordSet
HttpsRecord
Implements
IRecordSet
IResource
IConstruct
IDependable
IEnvironmentAware
Inherited Members
RecordSet.DomainName
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HttpsRecord : RecordSet, IRecordSet, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class HttpsRecord Inherits RecordSet Implements IRecordSet, IResource, IConstruct, IDependable, IEnvironmentAware
Remarks

Resource: AWS::Route53::RecordSet

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.CloudFront;

             HostedZone myZone;
             CloudFrontWebDistribution distribution;

             // Alias to CloudFront target
             // Alias to CloudFront target
             new HttpsRecord(this, "HttpsRecord-CloudFrontAlias", new HttpsRecordProps {
                 Zone = myZone,
                 Target = RecordTarget.FromAlias(new CloudFrontTarget(distribution))
             });
             // ServiceMode (priority >= 1)
             // ServiceMode (priority >= 1)
             new HttpsRecord(this, "HttpsRecord-ServiceMode", new HttpsRecordProps {
                 Zone = myZone,
                 Values = new [] { HttpsRecordValue.Service(new HttpsRecordServiceModeProps { Alpn = new [] { Alpn.H3, Alpn.H2 } }) }
             });
             // AliasMode (priority = 0)
             // AliasMode (priority = 0)
             new HttpsRecord(this, "HttpsRecord-AliasMode", new HttpsRecordProps {
                 Zone = myZone,
                 Values = new [] { HttpsRecordValue.Alias("service.example.com") }
             });

Synopsis

Constructors

HttpsRecord(Construct, string, IHttpsRecordProps)

A DNS HTTPS record.

Properties

PROPERTY_INJECTION_ID

Uniquely identifies this class.

Constructors

HttpsRecord(Construct, string, IHttpsRecordProps)

A DNS HTTPS record.

public HttpsRecord(Construct scope, string id, IHttpsRecordProps props)
Parameters
scope Construct
id string
props IHttpsRecordProps
Remarks

Resource: AWS::Route53::RecordSet

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.CloudFront;

             HostedZone myZone;
             CloudFrontWebDistribution distribution;

             // Alias to CloudFront target
             // Alias to CloudFront target
             new HttpsRecord(this, "HttpsRecord-CloudFrontAlias", new HttpsRecordProps {
                 Zone = myZone,
                 Target = RecordTarget.FromAlias(new CloudFrontTarget(distribution))
             });
             // ServiceMode (priority >= 1)
             // ServiceMode (priority >= 1)
             new HttpsRecord(this, "HttpsRecord-ServiceMode", new HttpsRecordProps {
                 Zone = myZone,
                 Values = new [] { HttpsRecordValue.Service(new HttpsRecordServiceModeProps { Alpn = new [] { Alpn.H3, Alpn.H2 } }) }
             });
             // AliasMode (priority = 0)
             // AliasMode (priority = 0)
             new HttpsRecord(this, "HttpsRecord-AliasMode", new HttpsRecordProps {
                 Zone = myZone,
                 Values = new [] { HttpsRecordValue.Alias("service.example.com") }
             });

Properties

PROPERTY_INJECTION_ID

Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

Resource: AWS::Route53::RecordSet

ExampleMetadata: infused

Implements

IRecordSet
IResource
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX