Show / Hide Table of Contents

Interface ICfnResourceProps

Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnResourceProps
Syntax (vb)
Public Interface ICfnResourceProps
Remarks

ExampleMetadata: infused

Examples
class MyConstruct : Resource, ITaggable
            {
                public readonly void Tags = new TagManager(TagType.KEY_VALUE, "Whatever::The::Type");

                public MyConstruct(Construct scope, string id) : base(scope, id)
                {

                    new CfnResource(this, "Resource", new CfnResourceProps {
                        Type = "Whatever::The::Type",
                        Properties = new Dictionary<string, object> {
                            // ...
                            { "Tags", Tags.RenderedTags }
                        }
                    });
                }
            }

Synopsis

Properties

Properties

Resource properties.

Type

CloudFormation resource type (e.g. AWS::S3::Bucket).

Properties

Properties

Resource properties.

IDictionary<string, object>? Properties { get; }
Property Value

IDictionary<string, object>

Remarks

Default: - No resource properties.

Type

CloudFormation resource type (e.g. AWS::S3::Bucket).

string Type { get; }
Property Value

string

Remarks

ExampleMetadata: infused

Back to top Generated by DocFX