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
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnGateway.static interfaceContains a summary of a gateway capability configuration.static interfaceContains a gateway's platform information.static interfaceContains details for a gateway that runs on AWS IoT Greengrass .static interfaceContains 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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnGateway(Construct scope, String id, CfnGatewayProps props) Create a newAWS::IoTSiteWise::Gateway.protectedCfnGateway(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnGateway(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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetGatewayCapabilitySummaries(List<Object> value) A list of gateway capability summaries that each contain a namespace and status.voidA list of gateway capability summaries that each contain a namespace and status.voidsetGatewayName(String value) A unique, friendly name for the gateway.voidsetGatewayPlatform(IResolvable value) The gateway's platform.voidThe 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, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
inspectin 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrGatewayId
The ID for the gateway. -
getCfnProperties
- Overrides:
getCfnPropertiesin 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 .
-