CfnConnectorDefinitionVersionProps Struct
Properties for defining a CfnConnectorDefinitionVersion.
| Source |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_greengrass as greengrass } from 'aws-cdk-lib';
declare const parameters: any;
const cfnConnectorDefinitionVersionProps: greengrass.CfnConnectorDefinitionVersionProps = {
connectorDefinitionId: 'connectorDefinitionId',
connectors: [{
connectorArn: 'connectorArn',
id: 'id',
// the properties below are optional
parameters: parameters,
}],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_greengrass as greengrass
# parameters: Any
cfn_connector_definition_version_props = greengrass.CfnConnectorDefinitionVersionProps(
connector_definition_id="connectorDefinitionId",
connectors=[greengrass.CfnConnectorDefinitionVersion.ConnectorProperty(
connector_arn="connectorArn",
id="id",
# the properties below are optional
parameters=parameters
)]
)
java
// 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 parameters;
CfnConnectorDefinitionVersionProps cfnConnectorDefinitionVersionProps = CfnConnectorDefinitionVersionProps.builder()
.connectorDefinitionId("connectorDefinitionId")
.connectors(List.of(ConnectorProperty.builder()
.connectorArn("connectorArn")
.id("id")
// the properties below are optional
.parameters(parameters)
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 cfnConnectorDefinitionVersionProps = new CfnConnectorDefinitionVersionProps {
ConnectorDefinitionId = "connectorDefinitionId",
Connectors = new [] { new ConnectorProperty {
ConnectorArn = "connectorArn",
Id = "id",
// the properties below are optional
Parameters = parameters
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var parameters interface{}
cfnConnectorDefinitionVersionProps := &CfnConnectorDefinitionVersionProps{
ConnectorDefinitionId: jsii.String("connectorDefinitionId"),
Connectors: []interface{}{
&ConnectorProperty{
ConnectorArn: jsii.String("connectorArn"),
Id: jsii.String("id"),
// the properties below are optional
Parameters: parameters,
},
},
}
Properties
connectorDefinitionIdstringconnector_definition_idstrconnectorDefinitionIdStringConnectorDefinitionIdstringConnectorDefinitionId*string required #The ID of the connector definition associated with this version.
This value is a GUID.
connectorsIResolvable | IResolvable | CfnConnectorDefinitionVersion.connectorstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ConnectorProperty]]]connectorsIResolvableConnectorsIResolvableConnectorsinterface{} required #The connectors in this version.
Only one instance of a given connector can be added to the connector definition version at a time.