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 SummaryNested 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.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstructIConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectableIInspectable.Jsii$Default, IInspectable.Jsii$Proxy
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionCfnGateway(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 SummaryModifier 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.CfnResourceaddDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElementgetRefMethods inherited from class software.amazon.awscdk.core.CfnElementgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.ConstructgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Field Details- 
CFN_RESOURCE_TYPE_NAMEThe CloudFormation resource type name for this resource class.
 
- 
- 
Constructor Details- 
CfnGatewayprotected CfnGateway(software.amazon.jsii.JsiiObjectRef objRef) 
- 
CfnGatewayprotected 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- 
inspectExamines the CloudFormation resource and discloses attributes.- Specified by:
- inspectin interface- IInspectable
- 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 class- CfnResource
- Parameters:
- props- This parameter is required.
 
- 
getAttrGatewayIdThe ID for the gateway.
- 
getCfnProperties- Overrides:
- getCfnPropertiesin class- CfnResource
 
- 
getTagsA 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 . 
- 
getGatewayNameA unique, friendly name for the gateway.The maximum length is 256 characters with the pattern [^\ u0000-\ u001F\ u007F]+.
- 
setGatewayNameA unique, friendly name for the gateway.The maximum length is 256 characters with the pattern [^\ u0000-\ u001F\ u007F]+.
- 
getGatewayPlatformThe gateway's platform.You can only specify one platform in a gateway. 
- 
setGatewayPlatformThe 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. 
- 
getGatewayCapabilitySummariesA 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 . 
- 
setGatewayCapabilitySummariesA 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 . 
- 
setGatewayCapabilitySummariesA 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 . 
 
-