Package software.amazon.awscdk
Interface CfnResourceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:37.440Z")
@Stability(Stable)
public interface CfnResourceProps
extends software.amazon.jsii.JsiiSerializable
Example:
public class MyConstruct extends Resource implements ITaggable { public final Object tags; public MyConstruct(Construct scope, String id) { super(scope, id); CfnResource.Builder.create(this, "Resource") .type("Whatever::The::Type") .properties(Map.of( // ... "Tags", this.tags.getRenderedTags())) .build(); } }
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnResourceProps
static final class
An implementation forCfnResourceProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnResourceProps.Builder
builder()
Resource properties.getType()
CloudFormation resource type (e.g.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
CloudFormation resource type (e.g.AWS::S3::Bucket
). -
getProperties
Resource properties.Default: - No resource properties.
-
builder
- Returns:
- a
CfnResourceProps.Builder
ofCfnResourceProps
-