CfnResourceProps Struct
Example
ts
class MyConstruct extends Resource implements ITaggable {
public readonly tags = new TagManager(TagType.KEY_VALUE, 'Whatever::The::Type');
constructor(scope: Construct, id: string) {
super(scope, id);
new CfnResource(this, 'Resource', {
type: 'Whatever::The::Type',
properties: {
// ...
Tags: this.tags.renderedTags,
},
});
}
}
Properties
properties{ [key: string]: any }propertiestyping.Mapping[str, Any]propertiesMap<String, Object>PropertiesIDictionary<string, object>Properties*map[string]interface{}= No resource properties.#Resource properties.
CloudFormation resource type (e.g. `AWS::S3::Bucket`).