interface CfnModuleVersionProps
Language | Type name |
---|---|
.NET | Amazon.CDK.CfnModuleVersionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2#CfnModuleVersionProps |
Java | software.amazon.awscdk.CfnModuleVersionProps |
Python | aws_cdk.CfnModuleVersionProps |
TypeScript | aws-cdk-lib » CfnModuleVersionProps |
Properties for defining a CfnModuleVersion
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const cfnModuleVersionProps: cdk.CfnModuleVersionProps = {
moduleName: 'moduleName',
modulePackage: 'modulePackage',
};
Properties
Name | Type | Description |
---|---|---|
module | string | The name of the module being registered. |
module | string | A URL to the S3 bucket containing the package that contains the template fragment and schema files for the module version to register. |
moduleName
Type:
string
The name of the module being registered.
modulePackage
Type:
string
A URL to the S3 bucket containing the package that contains the template fragment and schema files for the module version to register.
The user registering the module version must be able to access the module package in the S3 bucket. That's, the user needs to have GetObject permissions for the package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the AWS Identity and Access Management User Guide .