Interface CfnComponentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComponentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:04.570Z")
@Stability(Stable)
public interface CfnComponentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnComponent.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.greengrassv2.*;
CfnComponentProps cfnComponentProps = CfnComponentProps.builder()
.componentName("componentName")
.tags(List.of(TagsItemsProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnComponentPropsstatic final classAn implementation forCfnComponentProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnComponentProps.Builderbuilder()default StringThe name of the component.default List<CfnComponent.TagsItemsProperty> getTags()Tags associated with the component.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComponentName
The name of the component.- See Also:
-
getTags
Tags associated with the component.- See Also:
-
builder
- Returns:
- a
CfnComponentProps.BuilderofCfnComponentProps
-