CfnModuleDefaultVersionProps
- class aws_cdk.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 eitherArn
, orModuleName
andVersionId
.module_name (
Optional
[str
]) – The name of the module. Conditional: You must specify eitherArn
, orModuleName
andVersionId
.version_id (
Optional
[str
]) – The ID for the specific version of the module. Conditional: You must specify eitherArn
, orModuleName
andVersionId
.
- See:
- 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 as cdk cfn_module_default_version_props = cdk.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
, orModuleName
andVersionId
.
- module_name
The name of the module.
Conditional: You must specify either
Arn
, orModuleName
andVersionId
.
- version_id
The ID for the specific version of the module.
Conditional: You must specify either
Arn
, orModuleName
andVersionId
.