Class InterfaceVpcEndpointTarget
Set an InterfaceVpcEndpoint as a target for an ARecord.
Inheritance
System.Object
InterfaceVpcEndpointTarget
Implements
Namespace: Amazon.CDK.AWS.Route53.Targets
Assembly: Amazon.CDK.AWS.Route53.Targets.dll
Syntax (csharp)
public class InterfaceVpcEndpointTarget : DeputyBase, IAliasRecordTarget
Syntax (vb)
Public Class InterfaceVpcEndpointTarget
Inherits DeputyBase
Implements IAliasRecordTarget
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.EC2;
HostedZone zone;
InterfaceVpcEndpoint interfaceVpcEndpoint;
new ARecord(this, "AliasRecord", new ARecordProps {
Zone = zone,
Target = RecordTarget.FromAlias(new InterfaceVpcEndpointTarget(interfaceVpcEndpoint))
});
Synopsis
Constructors
InterfaceVpcEndpointTarget(IInterfaceVpcEndpoint) | |
InterfaceVpcEndpointTarget(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
InterfaceVpcEndpointTarget(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(IRecordSet, IHostedZone) | Return hosted zone ID and DNS name, usable for Route53 alias targets. |
Constructors
InterfaceVpcEndpointTarget(IInterfaceVpcEndpoint)
public InterfaceVpcEndpointTarget(IInterfaceVpcEndpoint vpcEndpoint)
Parameters
- vpcEndpoint IInterfaceVpcEndpoint
InterfaceVpcEndpointTarget(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected InterfaceVpcEndpointTarget(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
InterfaceVpcEndpointTarget(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected InterfaceVpcEndpointTarget(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Bind(IRecordSet, IHostedZone)
Return hosted zone ID and DNS name, usable for Route53 alias targets.
public virtual IAliasRecordTargetConfig Bind(IRecordSet record, IHostedZone zone = null)
Parameters
- record IRecordSet
- zone IHostedZone
Returns