aws-cdk-lib.aws_codeartifact.CfnDomainProps

interface CfnDomainProps

LanguageType name
.NETAmazon.CDK.AWS.CodeArtifact.CfnDomainProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodeartifact#CfnDomainProps
Javasoftware.amazon.awscdk.services.codeartifact.CfnDomainProps
Pythonaws_cdk.aws_codeartifact.CfnDomainProps
TypeScript aws-cdk-lib » aws_codeartifact » CfnDomainProps

Properties for defining a CfnDomain.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codeartifact as codeartifact } from 'aws-cdk-lib';

declare const permissionsPolicyDocument: any;
const cfnDomainProps: codeartifact.CfnDomainProps = {
  domainName: 'domainName',

  // the properties below are optional
  encryptionKey: 'encryptionKey',
  permissionsPolicyDocument: permissionsPolicyDocument,
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
domainNamestringA string that specifies the name of the requested domain.
encryptionKey?stringThe key used to encrypt the domain.
permissionsPolicyDocument?anyThe document that defines the resource policy that is set on a domain.
tags?CfnTag[]A list of tags to be applied to the domain.

domainName

Type: string

A string that specifies the name of the requested domain.


encryptionKey?

Type: string (optional)

The key used to encrypt the domain.


permissionsPolicyDocument?

Type: any (optional)

The document that defines the resource policy that is set on a domain.


tags?

Type: CfnTag[] (optional)

A list of tags to be applied to the domain.