Class CfnTaskDefinition
A CloudFormation AWS::IoTWireless::TaskDefinition
.
Inherited Members
Namespace: Amazon.CDK.AWS.IoTWireless
Assembly: Amazon.CDK.AWS.IoTWireless.dll
Syntax (csharp)
public class CfnTaskDefinition : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnTaskDefinition
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Creates a gateway task definition.
CloudformationResource: AWS::IoTWireless::TaskDefinition
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTWireless;
var cfnTaskDefinition = new CfnTaskDefinition(this, "MyCfnTaskDefinition", new CfnTaskDefinitionProps {
AutoCreateTasks = false,
// the properties below are optional
LoRaWanUpdateGatewayTaskEntry = new LoRaWANUpdateGatewayTaskEntryProperty {
CurrentVersion = new LoRaWANGatewayVersionProperty {
Model = "model",
PackageVersion = "packageVersion",
Station = "station"
},
UpdateVersion = new LoRaWANGatewayVersionProperty {
Model = "model",
PackageVersion = "packageVersion",
Station = "station"
}
},
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TaskDefinitionType = "taskDefinitionType",
Update = new UpdateWirelessGatewayTaskCreateProperty {
LoRaWan = new LoRaWANUpdateGatewayTaskCreateProperty {
CurrentVersion = new LoRaWANGatewayVersionProperty {
Model = "model",
PackageVersion = "packageVersion",
Station = "station"
},
SigKeyCrc = 123,
UpdateSignature = "updateSignature",
UpdateVersion = new LoRaWANGatewayVersionProperty {
Model = "model",
PackageVersion = "packageVersion",
Station = "station"
}
},
UpdateDataRole = "updateDataRole",
UpdateDataSource = "updateDataSource"
}
});
Synopsis
Constructors
CfnTaskDefinition(Construct, String, ICfnTaskDefinitionProps) | Create a new |
CfnTaskDefinition(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnTaskDefinition(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrArn | The Amazon Resource Name of the resource. |
AttrId | The ID of the new wireless gateway task definition. |
AutoCreateTasks | Whether to automatically create tasks using this task definition for all gateways with the specified current version. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
LoRaWanUpdateGatewayTaskEntry |
|
Name | The name of the new resource. |
Tags | The tags are an array of key-value pairs to attach to the specified resource. |
TaskDefinitionType |
|
Update | Information about the gateways to update. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnTaskDefinition(Construct, String, ICfnTaskDefinitionProps)
Create a new AWS::IoTWireless::TaskDefinition
.
public CfnTaskDefinition(Construct scope, string id, ICfnTaskDefinitionProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnTaskDefinitionProps
- resource properties.
CfnTaskDefinition(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnTaskDefinition(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnTaskDefinition(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnTaskDefinition(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrArn
The Amazon Resource Name of the resource.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrId
The ID of the new wireless gateway task definition.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AutoCreateTasks
Whether to automatically create tasks using this task definition for all gateways with the specified current version.
public virtual object AutoCreateTasks { get; set; }
Property Value
System.Object
Remarks
If false
, the task must be created by calling CreateWirelessGatewayTask
.
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
LoRaWanUpdateGatewayTaskEntry
AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry
.
public virtual object LoRaWanUpdateGatewayTaskEntry { get; set; }
Property Value
System.Object
Remarks
Name
The name of the new resource.
public virtual string Name { get; set; }
Property Value
System.String
Remarks
Tags
The tags are an array of key-value pairs to attach to the specified resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
Tags can have a minimum of 0 and a maximum of 50 items.
TaskDefinitionType
AWS::IoTWireless::TaskDefinition.TaskDefinitionType
.
public virtual string TaskDefinitionType { get; set; }
Property Value
System.String
Remarks
Update
Information about the gateways to update.
public virtual object Update { get; set; }
Property Value
System.Object
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>