CfnGatewayProps
- class aws_cdk.aws_iotsitewise.CfnGatewayProps(*, gateway_name, gateway_platform, gateway_capability_summaries=None, gateway_version=None, tags=None)
Bases:
objectProperties for defining a
CfnGateway.- Parameters:
gateway_name (
str) – A unique name for the gateway.gateway_platform (
Union[IResolvable,GatewayPlatformProperty,Dict[str,Any]]) – The gateway’s platform. You can only specify one platform in a gateway.gateway_capability_summaries (
Union[IResolvable,Sequence[Union[IResolvable,GatewayCapabilitySummaryProperty,Dict[str,Any]]],None]) – A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration’s definition, use DescribeGatewayCapabilityConfiguration .gateway_version (
Optional[str]) – The version of the gateway. A value of3indicates an MQTT-enabled, V3 gateway, while2indicates a Classic streams, V2 gateway.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – A list of key-value pairs that contain metadata for the gateway. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-gateway.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_iotsitewise as iotsitewise cfn_gateway_props = iotsitewise.CfnGatewayProps( gateway_name="gatewayName", gateway_platform=iotsitewise.CfnGateway.GatewayPlatformProperty( greengrass=iotsitewise.CfnGateway.GreengrassProperty( group_arn="groupArn" ), greengrass_v2=iotsitewise.CfnGateway.GreengrassV2Property( core_device_thing_name="coreDeviceThingName", # the properties below are optional core_device_operating_system="coreDeviceOperatingSystem" ), siemens_ie=iotsitewise.CfnGateway.SiemensIEProperty( iot_core_thing_name="iotCoreThingName" ) ), # the properties below are optional gateway_capability_summaries=[iotsitewise.CfnGateway.GatewayCapabilitySummaryProperty( capability_namespace="capabilityNamespace", # the properties below are optional capability_configuration="capabilityConfiguration" )], gateway_version="gatewayVersion", tags=[CfnTag( key="key", value="value" )] )
Attributes
- gateway_capability_summaries
A list of gateway capability summaries that each contain a namespace and status.
Each gateway capability defines data sources for the gateway. To retrieve a capability configuration’s definition, use DescribeGatewayCapabilityConfiguration .
- gateway_name
A unique name for the gateway.
- gateway_platform
The gateway’s platform.
You can only specify one platform in a gateway.
- gateway_version
The version of the gateway.
A value of
3indicates an MQTT-enabled, V3 gateway, while2indicates a Classic streams, V2 gateway.
- tags
A list of key-value pairs that contain metadata for the gateway.
For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .