Class CfnConnectorDefinitionVersion
A CloudFormation AWS::Greengrass::ConnectorDefinitionVersion
.
Inheritance
Inherited Members
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.AWS.Greengrass.dll
Syntax (csharp)
public class CfnConnectorDefinitionVersion : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnConnectorDefinitionVersion
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
The AWS::Greengrass::ConnectorDefinitionVersion
resource represents a connector definition version for AWS IoT Greengrass . A connector definition version contains a list of connectors.
To create a connector definition version, you must specify the ID of the connector definition that you want to associate with the version. For information about creating a connector definition, see AWS::Greengrass::ConnectorDefinition
.
After you create a connector definition version that contains the connectors you want to deploy, you must add it to your group version. For more information, see AWS::Greengrass::Group
.
CloudformationResource: AWS::Greengrass::ConnectorDefinitionVersion
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Greengrass;
var parameters;
var cfnConnectorDefinitionVersion = new CfnConnectorDefinitionVersion(this, "MyCfnConnectorDefinitionVersion", new CfnConnectorDefinitionVersionProps {
ConnectorDefinitionId = "connectorDefinitionId",
Connectors = new [] { new ConnectorProperty {
ConnectorArn = "connectorArn",
Id = "id",
// the properties below are optional
Parameters = parameters
} }
});
Synopsis
Constructors
CfnConnectorDefinitionVersion(Construct, String, ICfnConnectorDefinitionVersionProps) | Create a new |
CfnConnectorDefinitionVersion(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnConnectorDefinitionVersion(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ConnectorDefinitionId | The ID of the connector definition associated with this version. |
Connectors | The connectors in this version. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnConnectorDefinitionVersion(Construct, String, ICfnConnectorDefinitionVersionProps)
Create a new AWS::Greengrass::ConnectorDefinitionVersion
.
public CfnConnectorDefinitionVersion(Construct scope, string id, ICfnConnectorDefinitionVersionProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnConnectorDefinitionVersionProps
- resource properties.
CfnConnectorDefinitionVersion(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnConnectorDefinitionVersion(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnConnectorDefinitionVersion(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnConnectorDefinitionVersion(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ConnectorDefinitionId
The ID of the connector definition associated with this version.
public virtual string ConnectorDefinitionId { get; set; }
Property Value
System.String
Remarks
Connectors
The connectors in this version.
public virtual object Connectors { get; set; }
Property Value
System.Object
Remarks
Only one instance of a given connector can be added to the connector definition version at a time.
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>