@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:36.383Z") 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 . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnGroupVersion(Construct scope,
java.lang.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 java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getConnectorDefinitionVersionArn()
The Amazon Resource Name (ARN) of the connector definition version that contains the connectors you want to deploy with the group version.
|
java.lang.String |
getCoreDefinitionVersionArn()
The ARN of the core definition version that contains the core you want to deploy with the group version.
|
java.lang.String |
getDeviceDefinitionVersionArn()
The ARN of the device definition version that contains the devices you want to deploy with the group version.
|
java.lang.String |
getFunctionDefinitionVersionArn()
The ARN of the function definition version that contains the functions you want to deploy with the group version.
|
java.lang.String |
getGroupId()
The ID of the group associated with this version.
|
java.lang.String |
getLoggerDefinitionVersionArn()
The ARN of the logger definition version that contains the loggers you want to deploy with the group version.
|
java.lang.String |
getResourceDefinitionVersionArn()
The ARN of the resource definition version that contains the resources you want to deploy with the group version.
|
java.lang.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 java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setConnectorDefinitionVersionArn(java.lang.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(java.lang.String value)
The ARN of the core definition version that contains the core you want to deploy with the group version.
|
void |
setDeviceDefinitionVersionArn(java.lang.String value)
The ARN of the device definition version that contains the devices you want to deploy with the group version.
|
void |
setFunctionDefinitionVersionArn(java.lang.String value)
The ARN of the function definition version that contains the functions you want to deploy with the group version.
|
void |
setGroupId(java.lang.String value)
The ID of the group associated with this version.
|
void |
setLoggerDefinitionVersionArn(java.lang.String value)
The ARN of the logger definition version that contains the loggers you want to deploy with the group version.
|
void |
setResourceDefinitionVersionArn(java.lang.String value)
The ARN of the resource definition version that contains the resources you want to deploy with the group version.
|
void |
setSubscriptionDefinitionVersionArn(java.lang.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, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnGroupVersion(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnGroupVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnGroupVersion(Construct scope, java.lang.String id, 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getGroupId()
This value is a GUID.
public void setGroupId(java.lang.String value)
This value is a GUID.
public java.lang.String getConnectorDefinitionVersionArn()
public void setConnectorDefinitionVersionArn(java.lang.String value)
public java.lang.String getCoreDefinitionVersionArn()
Currently, the core definition version can contain only one core.
public void setCoreDefinitionVersionArn(java.lang.String value)
Currently, the core definition version can contain only one core.
public java.lang.String getDeviceDefinitionVersionArn()
public void setDeviceDefinitionVersionArn(java.lang.String value)
public java.lang.String getFunctionDefinitionVersionArn()
public void setFunctionDefinitionVersionArn(java.lang.String value)
public java.lang.String getLoggerDefinitionVersionArn()
public void setLoggerDefinitionVersionArn(java.lang.String value)
public java.lang.String getResourceDefinitionVersionArn()
public void setResourceDefinitionVersionArn(java.lang.String value)
public java.lang.String getSubscriptionDefinitionVersionArn()
public void setSubscriptionDefinitionVersionArn(java.lang.String value)