@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.633Z") @Stability(value=Stable) public interface CfnGroupProps extends software.amazon.jsii.JsiiSerializable
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.greengrass.*;
Object tags;
CfnGroupProps cfnGroupProps = CfnGroupProps.builder()
.name("name")
// the properties below are optional
.initialVersion(GroupVersionProperty.builder()
.connectorDefinitionVersionArn("connectorDefinitionVersionArn")
.coreDefinitionVersionArn("coreDefinitionVersionArn")
.deviceDefinitionVersionArn("deviceDefinitionVersionArn")
.functionDefinitionVersionArn("functionDefinitionVersionArn")
.loggerDefinitionVersionArn("loggerDefinitionVersionArn")
.resourceDefinitionVersionArn("resourceDefinitionVersionArn")
.subscriptionDefinitionVersionArn("subscriptionDefinitionVersionArn")
.build())
.roleArn("roleArn")
.tags(tags)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGroupProps.Builder
A builder for
CfnGroupProps |
static class |
CfnGroupProps.Jsii$Proxy
An implementation for
CfnGroupProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnGroupProps.Builder |
builder() |
default Object |
getInitialVersion()
The group version to include when the group is created.
|
String |
getName()
The name of the group.
|
default String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role attached to the group.
|
default Object |
getTags()
Application-specific metadata to attach to the group.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getInitialVersion()
A group version references the Amazon Resource Name (ARN) of a core definition version, device definition version, subscription definition version, and other version types. The group version must reference a core definition version that contains one core. Other version types are optionally included, depending on your business need.
To associate a group version after the group is created, create an
AWS::Greengrass::GroupVersionresource and specify the ID of this group.
@Stability(value=Stable) @Nullable default String getRoleArn()
This role contains the permissions that Lambda functions and connectors use to interact with other AWS services.
@Stability(value=Stable) @Nullable default Object getTags()
You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tagging Your AWS IoT Greengrass Resources in the Developer Guide .
This Json property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags implementations in AWS CloudFormation templates.
"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
}
@Stability(value=Stable) static CfnGroupProps.Builder builder()
CfnGroupProps.Builder of CfnGroupPropsCopyright © 2022. All rights reserved.