CfnConnectorDefinitionProps
- class aws_cdk.aws_greengrass.CfnConnectorDefinitionProps(*, name, initial_version=None, tags=None)
Bases:
object
Properties for defining a
CfnConnectorDefinition
.- Parameters:
name (
str
) – The name of the connector definition.initial_version (
Union
[ConnectorDefinitionVersionProperty
,Dict
[str
,Any
],IResolvable
,None
]) – The connector definition version to include when the connector definition is created. A connector definition version contains a list of`connector
<https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-connectordefinition-connector.html>`_ property types. .. epigraph:: To associate a connector definition version after the connector definition is created, create an`AWS::Greengrass::ConnectorDefinitionVersion
<https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-connectordefinitionversion.html>`_ resource and specify the ID of this connector definition.tags (
Optional
[Any
]) – Application-specific metadata to attach to the connector definition. 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 . ThisJson
property type is processed as a map of key-value pairs. It uses the following format, which is different from mostTags
implementations in AWS CloudFormation templates:: “Tags”: { “KeyName0”: “value”, “KeyName1”: “value”, “KeyName2”: “value” }
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_greengrass as greengrass # parameters: Any # tags: Any cfn_connector_definition_props = greengrass.CfnConnectorDefinitionProps( name="name", # the properties below are optional initial_version=greengrass.CfnConnectorDefinition.ConnectorDefinitionVersionProperty( connectors=[greengrass.CfnConnectorDefinition.ConnectorProperty( connector_arn="connectorArn", id="id", # the properties below are optional parameters=parameters )] ), tags=tags )
Attributes
- initial_version
The connector definition version to include when the connector definition is created.
A connector definition version contains a list of
`connector
<https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-connectordefinition-connector.html>`_ property types. .. epigraph:To associate a connector definition version after the connector definition is created, create an ```AWS::Greengrass::ConnectorDefinitionVersion`` <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-connectordefinitionversion.html>`_ resource and specify the ID of this connector definition.
- name
The name of the connector definition.
- tags
Application-specific metadata to attach to the connector definition.
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 mostTags
implementations in AWS CloudFormation templates:"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }