CfnDomainMixinProps

class aws_cdk.mixins_preview.aws_codeartifact.mixins.CfnDomainMixinProps(*, domain_name=None, encryption_key=None, permissions_policy_document=None, tags=None)

Bases: object

Properties for CfnDomainPropsMixin.

Parameters:
  • domain_name (Optional[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 (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.

See:

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.
from aws_cdk.mixins_preview.aws_codeartifact import mixins as codeartifact_mixins

# permissions_policy_document: Any

cfn_domain_mixin_props = codeartifact_mixins.CfnDomainMixinProps(
    domain_name="domainName",
    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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.html#cfn-codeartifact-domain-domainname

encryption_key

The key used to encrypt the domain.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.html#cfn-codeartifact-domain-encryptionkey

permissions_policy_document

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.html#cfn-codeartifact-domain-permissionspolicydocument

tags

A list of tags to be applied to the domain.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.html#cfn-codeartifact-domain-tags