@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-11T17:58:40.516Z") @Stability(value=Stable) public interface CfnResourceProps extends software.amazon.jsii.JsiiSerializable
import software.amazon.awscdk.core.*;
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();
}
}
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResourceProps.Builder
A builder for
CfnResourceProps |
static class |
CfnResourceProps.Jsii$Proxy
An implementation for
CfnResourceProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnResourceProps.Builder |
builder() |
default Map<String,Object> |
getProperties()
Resource properties.
|
String |
getType()
CloudFormation resource type (e.g.
|
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) @Nullable default Map<String,Object> getProperties()
Default: - No resource properties.
@Stability(value=Stable) static CfnResourceProps.Builder builder()
CfnResourceProps.Builder of CfnResourcePropsCopyright © 2022. All rights reserved.