Class CfnTaskDefinition
Creates a gateway task definition.
Inherited Members
Namespace: Amazon.CDK.AWS.IoTWireless
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTaskDefinition : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnTaskDefinition
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
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(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 |
CfnTaskDefinition(Construct, String, ICfnTaskDefinitionProps) |
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 | LoRaWANUpdateGatewayTaskEntry object. |
Name | The name of the new resource. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags are an array of key-value pairs to attach to the specified resource. |
TaskDefinitionType | A filter to list only the wireless gateway task definitions that use this task definition type. |
Update | Information about the gateways to update. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
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
CfnTaskDefinition(Construct, String, ICfnTaskDefinitionProps)
public CfnTaskDefinition(Construct scope, string id, ICfnTaskDefinitionProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnTaskDefinitionProps
Resource properties.
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
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
LoRaWANUpdateGatewayTaskEntry object.
public virtual object LoRaWanUpdateGatewayTaskEntry { get; set; }
Property Value
System.Object
Name
The name of the new resource.
public virtual string Name { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The tags are an array of key-value pairs to attach to the specified resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
TaskDefinitionType
A filter to list only the wireless gateway task definitions that use this task definition type.
public virtual string TaskDefinitionType { get; set; }
Property Value
System.String
Update
Information about the gateways to update.
public virtual object Update { get; set; }
Property Value
System.Object
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>