interface CfnDomainProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeArtifact.CfnDomainProps |
Java | software.amazon.awscdk.services.codeartifact.CfnDomainProps |
Python | aws_cdk.aws_codeartifact.CfnDomainProps |
TypeScript | @aws-cdk/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 * as codeartifact from '@aws-cdk/aws-codeartifact';
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
Name | Type | Description |
---|---|---|
domain | string | A string that specifies the name of the requested domain. |
encryption | string | The key used to encrypt the domain. |
permissions | any | The document that defines the resource policy that is set on a domain. |
tags? | Cfn [] | 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:
Cfn
[]
(optional)
A list of tags to be applied to the domain.