CfnDomainProps
- class aws_cdk.aws_codeartifact.CfnDomainProps(*, domain_name, encryption_key=None, permissions_policy_document=None, tags=None)
Bases:
object
Properties for defining a
CfnDomain
.- Parameters:
domain_name (
str
) – A string that specifies the name of the requested domain.encryption_key (
Optional
[str
]) – The key used to encrypt the domain.permissions_policy_document (
Optional
[Any
]) – The document that defines the resource policy that is set on a domain.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – A list of tags to be applied to the domain.
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_codeartifact as codeartifact # permissions_policy_document: Any cfn_domain_props = codeartifact.CfnDomainProps( domain_name="domainName", # the properties below are optional encryption_key="encryptionKey", permissions_policy_document=permissions_policy_document, tags=[CfnTag( key="key", value="value" )] )
Attributes
- domain_name
A string that specifies the name of the requested domain.
- encryption_key
The key used to encrypt the domain.
- permissions_policy_document
The document that defines the resource policy that is set on a domain.
- tags
A list of tags to be applied to the domain.