Class CfnModuleVersionProps
Properties for defining a CfnModuleVersion
.
public class CfnModuleVersionProps : ICfnModuleVersionProps
- Inheritance
-
CfnModuleVersionProps
- Implements
- Inherited Members
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var cfnModuleVersionProps = new CfnModuleVersionProps {
ModuleName = "moduleName",
ModulePackage = "modulePackage"
};
Remarks
ExampleMetadata: fixture=_generated
Constructors
CfnModuleVersionProps()
public CfnModuleVersionProps()
Properties
ModuleName
The name of the module being registered.
public string ModuleName { get; set; }
Property Value
Remarks
ModulePackage
A URL to the S3 bucket containing the package that contains the template fragment and schema files for the module version to register.
public string ModulePackage { get; set; }
Property Value
Remarks
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 <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a> permissions for the package. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html">Actions, Resources, and Condition Keys for Amazon S3</a> in the <em>AWS Identity and Access Management User Guide</em> .