Class CfnTaskDefinitionPropsMixin
Creates a gateway task definition.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.IoTWireless.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnTaskDefinitionPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnTaskDefinitionPropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::IoTWireless::TaskDefinition
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.IoTWireless.Mixins;
var cfnTaskDefinitionPropsMixin = new CfnTaskDefinitionPropsMixin(new CfnTaskDefinitionMixinProps {
AutoCreateTasks = false,
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"
}
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnTaskDefinitionPropsMixin(ICfnTaskDefinitionMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates a gateway task definition. |
| Props | Creates a gateway task definition. |
| Strategy | Creates a gateway task definition. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnTaskDefinitionPropsMixin(ICfnTaskDefinitionMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::IoTWireless::TaskDefinition.
public CfnTaskDefinitionPropsMixin(ICfnTaskDefinitionMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnTaskDefinitionMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::IoTWireless::TaskDefinition
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates a gateway task definition.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::IoTWireless::TaskDefinition
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.IoTWireless.Mixins;
var cfnTaskDefinitionPropsMixin = new CfnTaskDefinitionPropsMixin(new CfnTaskDefinitionMixinProps {
AutoCreateTasks = false,
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"
}
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Creates a gateway task definition.
protected virtual ICfnTaskDefinitionMixinProps Props { get; }
Property Value
Remarks
CloudformationResource: AWS::IoTWireless::TaskDefinition
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.IoTWireless.Mixins;
var cfnTaskDefinitionPropsMixin = new CfnTaskDefinitionPropsMixin(new CfnTaskDefinitionMixinProps {
AutoCreateTasks = false,
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"
}
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Creates a gateway task definition.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::IoTWireless::TaskDefinition
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.IoTWireless.Mixins;
var cfnTaskDefinitionPropsMixin = new CfnTaskDefinitionPropsMixin(new CfnTaskDefinitionMixinProps {
AutoCreateTasks = false,
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"
}
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
CloudformationResource: AWS::IoTWireless::TaskDefinition
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
CloudformationResource: AWS::IoTWireless::TaskDefinition
Mixin: true
ExampleMetadata: fixture=_generated