Skip to content
v2.276.0

CfnDomainNameAccessAssociationProps Struct ​

Properties for defining a CfnDomainNameAccessAssociation.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigateway as apigateway } from 'aws-cdk-lib';
const cfnDomainNameAccessAssociationProps: apigateway.CfnDomainNameAccessAssociationProps = {
  accessAssociationSource: 'accessAssociationSource',
  accessAssociationSourceType: 'accessAssociationSourceType',
  domainNameArn: 'domainNameArn',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_apigateway as apigateway

cfn_domain_name_access_association_props = apigateway.CfnDomainNameAccessAssociationProps(
    access_association_source="accessAssociationSource",
    access_association_source_type="accessAssociationSourceType",
    domain_name_arn="domainNameArn",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigateway.*;

CfnDomainNameAccessAssociationProps cfnDomainNameAccessAssociationProps = CfnDomainNameAccessAssociationProps.builder()
        .accessAssociationSource("accessAssociationSource")
        .accessAssociationSourceType("accessAssociationSourceType")
        .domainNameArn("domainNameArn")

        // the properties below are optional
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGateway;

var cfnDomainNameAccessAssociationProps = new CfnDomainNameAccessAssociationProps {
    AccessAssociationSource = "accessAssociationSource",
    AccessAssociationSourceType = "accessAssociationSourceType",
    DomainNameArn = "domainNameArn",

    // the properties below are optional
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnDomainNameAccessAssociationProps := &CfnDomainNameAccessAssociationProps{
	AccessAssociationSource: jsii.String("accessAssociationSource"),
	AccessAssociationSourceType: jsii.String("accessAssociationSourceType"),
	DomainNameArn: jsii.String("domainNameArn"),

	// the properties below are optional
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

accessAssociationSourcestringaccess_association_sourcestraccessAssociationSourceStringAccessAssociationSourcestringAccessAssociationSource*stringrequired#
The identifier of the domain name access association source.

For a VPCE , the value is the VPC endpoint ID.

accessAssociationSourceTypestringaccess_association_source_typestraccessAssociationSourceTypeStringAccessAssociationSourceTypestringAccessAssociationSourceType*stringrequired#
The type of the domain name access association source.

Only VPCE is currently supported.

domainNameArnstringdomain_name_arnstrdomainNameArnStringDomainNameArnstringDomainNameArn*stringrequired#
The ARN of the domain name.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The collection of tags.

Each tag element is associated with a given resource.