CfnModuleDefaultVersionProps

class aws_cdk.aws_cloudformation.CfnModuleDefaultVersionProps(*, arn=None, module_name=None, version_id=None)

Bases: object

Properties for defining a CfnModuleDefaultVersion.

Parameters
  • arn (Optional[str]) – The Amazon Resource Name (ARN) of the module version to set as the default version. Conditional: You must specify either Arn , or ModuleName and VersionId .

  • module_name (Optional[str]) – The name of the module. Conditional: You must specify either Arn , or ModuleName and VersionId .

  • version_id (Optional[str]) – The ID for the specific version of the module. Conditional: You must specify either Arn , or ModuleName and VersionId .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduledefaultversion.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_cloudformation as cloudformation

cfn_module_default_version_props = cloudformation.CfnModuleDefaultVersionProps(
    arn="arn",
    module_name="moduleName",
    version_id="versionId"
)

Attributes

arn

The Amazon Resource Name (ARN) of the module version to set as the default version.

Conditional: You must specify either Arn , or ModuleName and VersionId .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduledefaultversion.html#cfn-cloudformation-moduledefaultversion-arn

Return type

Optional[str]

module_name

The name of the module.

Conditional: You must specify either Arn , or ModuleName and VersionId .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduledefaultversion.html#cfn-cloudformation-moduledefaultversion-modulename

Return type

Optional[str]

version_id

The ID for the specific version of the module.

Conditional: You must specify either Arn , or ModuleName and VersionId .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-moduledefaultversion.html#cfn-cloudformation-moduledefaultversion-versionid

Return type

Optional[str]