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
propertiesoptional{ [key: string]: any }propertiesoptionaltyping.Mapping[str, Any]propertiesoptionalMap<String, Object>PropertiesoptionalIDictionary<string, object>Propertiesoptional*map[string]interface{}#Resource properties.
Default: No resource properties.
CloudFormation resource type (e.g. `AWS::S3::Bucket`).