Class CfnGateway
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
AWS::IoTSiteWise::Gateway
.
Creates a gateway, which is a virtual or edge device that delivers industrial data streams from local servers to AWS IoT SiteWise . For more information, see Ingesting data using a gateway in the AWS IoT SiteWise User Guide .
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.iotsitewise.*; CfnGateway cfnGateway = CfnGateway.Builder.create(this, "MyCfnGateway") .gatewayName("gatewayName") .gatewayPlatform(GatewayPlatformProperty.builder() .greengrass(GreengrassProperty.builder() .groupArn("groupArn") .build()) .greengrassV2(GreengrassV2Property.builder() .coreDeviceThingName("coreDeviceThingName") .build()) .build()) // the properties below are optional .gatewayCapabilitySummaries(List.of(GatewayCapabilitySummaryProperty.builder() .capabilityNamespace("capabilityNamespace") // the properties below are optional .capabilityConfiguration("capabilityConfiguration") .build())) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnGateway
.static interface
Contains a summary of a gateway capability configuration.static interface
Contains a gateway's platform information.static interface
Contains details for a gateway that runs on AWS IoT Greengrass .static interface
Contains details for a gateway that runs on AWS IoT Greengrass V2.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnGateway
(Construct scope, String id, CfnGatewayProps props) Create a newAWS::IoTSiteWise::Gateway
.protected
CfnGateway
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnGateway
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe ID for the gateway.A list of gateway capability summaries that each contain a namespace and status.A unique, friendly name for the gateway.The gateway's platform.getTags()
A list of key-value pairs that contain metadata for the gateway.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setGatewayCapabilitySummaries
(List<Object> value) A list of gateway capability summaries that each contain a namespace and status.void
A list of gateway capability summaries that each contain a namespace and status.void
setGatewayName
(String value) A unique, friendly name for the gateway.void
setGatewayPlatform
(IResolvable value) The gateway's platform.void
The gateway's platform.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnGateway
protected CfnGateway(software.amazon.jsii.JsiiObjectRef objRef) -
CfnGateway
protected CfnGateway(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnGateway
@Stability(Stable) public CfnGateway(@NotNull Construct scope, @NotNull String id, @NotNull CfnGatewayProps props) Create a newAWS::IoTSiteWise::Gateway
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrGatewayId
The ID for the gateway. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
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 .
-
getGatewayName
A unique, friendly name for the gateway.The maximum length is 256 characters with the pattern
[^\ u0000-\ u001F\ u007F]+
. -
setGatewayName
A unique, friendly name for the gateway.The maximum length is 256 characters with the pattern
[^\ u0000-\ u001F\ u007F]+
. -
getGatewayPlatform
The gateway's platform.You can only specify one platform in a gateway.
-
setGatewayPlatform
The gateway's platform.You can only specify one platform in a gateway.
-
setGatewayPlatform
@Stability(Stable) public void setGatewayPlatform(@NotNull CfnGateway.GatewayPlatformProperty value) The gateway's platform.You can only specify one platform in a gateway.
-
getGatewayCapabilitySummaries
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 .
-
setGatewayCapabilitySummaries
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 .
-
setGatewayCapabilitySummaries
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 .
-