@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:35.176Z") @Stability(value=Stable) public class CfnGroupVersion extends CfnResource implements IInspectable
The AWS::Greengrass::GroupVersion resource represents a group version in AWS IoT Greengrass . A group version references a core definition version, device definition version, subscription definition version, and other version types that contain the components you want to deploy to a Greengrass core device. 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 create a group version, you must specify the ID of the group that you want to associate with the version. For information about creating a group, see
AWS::Greengrass::Group.
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.*;
CfnGroupVersion cfnGroupVersion = CfnGroupVersion.Builder.create(this, "MyCfnGroupVersion")
.groupId("groupId")
// the properties below are optional
.connectorDefinitionVersionArn("connectorDefinitionVersionArn")
.coreDefinitionVersionArn("coreDefinitionVersionArn")
.deviceDefinitionVersionArn("deviceDefinitionVersionArn")
.functionDefinitionVersionArn("functionDefinitionVersionArn")
.loggerDefinitionVersionArn("loggerDefinitionVersionArn")
.resourceDefinitionVersionArn("resourceDefinitionVersionArn")
.subscriptionDefinitionVersionArn("subscriptionDefinitionVersionArn")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnGroupVersion.Builder
A fluent builder for
CfnGroupVersion. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnGroupVersion(Construct scope,
String id,
CfnGroupVersionProps props)
Create a new `AWS::Greengrass::GroupVersion`.
|
protected |
CfnGroupVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnGroupVersion(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getCfnProperties() |
String |
getConnectorDefinitionVersionArn()
The Amazon Resource Name (ARN) of the connector definition version that contains the connectors you want to deploy with the group version.
|
String |
getCoreDefinitionVersionArn()
The ARN of the core definition version that contains the core you want to deploy with the group version.
|
String |
getDeviceDefinitionVersionArn()
The ARN of the device definition version that contains the devices you want to deploy with the group version.
|
String |
getFunctionDefinitionVersionArn()
The ARN of the function definition version that contains the functions you want to deploy with the group version.
|
String |
getGroupId()
The ID of the group associated with this version.
|
String |
getLoggerDefinitionVersionArn()
The ARN of the logger definition version that contains the loggers you want to deploy with the group version.
|
String |
getResourceDefinitionVersionArn()
The ARN of the resource definition version that contains the resources you want to deploy with the group version.
|
String |
getSubscriptionDefinitionVersionArn()
The ARN of the subscription definition version that contains the subscriptions you want to deploy with the group version.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setConnectorDefinitionVersionArn(String value)
The Amazon Resource Name (ARN) of the connector definition version that contains the connectors you want to deploy with the group version.
|
void |
setCoreDefinitionVersionArn(String value)
The ARN of the core definition version that contains the core you want to deploy with the group version.
|
void |
setDeviceDefinitionVersionArn(String value)
The ARN of the device definition version that contains the devices you want to deploy with the group version.
|
void |
setFunctionDefinitionVersionArn(String value)
The ARN of the function definition version that contains the functions you want to deploy with the group version.
|
void |
setGroupId(String value)
The ID of the group associated with this version.
|
void |
setLoggerDefinitionVersionArn(String value)
The ARN of the logger definition version that contains the loggers you want to deploy with the group version.
|
void |
setResourceDefinitionVersionArn(String value)
The ARN of the resource definition version that contains the resources you want to deploy with the group version.
|
void |
setSubscriptionDefinitionVersionArn(String value)
The ARN of the subscription definition version that contains the subscriptions you want to deploy with the group version.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnGroupVersion(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnGroupVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnGroupVersion(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnGroupVersionProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getGroupId()
This value is a GUID.
@Stability(value=Stable)
public void setGroupId(@NotNull
String value)
This value is a GUID.
@Stability(value=Stable) @Nullable public String getConnectorDefinitionVersionArn()
@Stability(value=Stable)
public void setConnectorDefinitionVersionArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getCoreDefinitionVersionArn()
Currently, the core definition version can contain only one core.
@Stability(value=Stable)
public void setCoreDefinitionVersionArn(@Nullable
String value)
Currently, the core definition version can contain only one core.
@Stability(value=Stable) @Nullable public String getDeviceDefinitionVersionArn()
@Stability(value=Stable)
public void setDeviceDefinitionVersionArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getFunctionDefinitionVersionArn()
@Stability(value=Stable)
public void setFunctionDefinitionVersionArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getLoggerDefinitionVersionArn()
@Stability(value=Stable)
public void setLoggerDefinitionVersionArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getResourceDefinitionVersionArn()
@Stability(value=Stable)
public void setResourceDefinitionVersionArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getSubscriptionDefinitionVersionArn()
@Stability(value=Stable)
public void setSubscriptionDefinitionVersionArn(@Nullable
String value)
Copyright © 2022. All rights reserved.