Class CfnWorkerPropsMixin
Definition of AWS::Deadline::Worker Resource Type.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Deadline
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnWorkerPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnWorkerPropsMixin Inherits Mixin Implements IMixin
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-worker.html
CloudformationResource: AWS::Deadline::Worker
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.CfnPropertyMixins.AWS.Deadline;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnWorkerPropsMixin = new CfnWorkerPropsMixin(new CfnWorkerMixinProps {
FarmId = "farmId",
FleetId = "fleetId",
HostProperties = new HostPropertiesRequestProperty {
HostName = "hostName",
IpAddresses = new IpAddressesProperty {
IpV4Addresses = new [] { "ipV4Addresses" },
IpV6Addresses = new [] { "ipV6Addresses" }
}
},
Tags = new [] { new TagsItemsProperty {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnWorkerPropsMixin(ICfnWorkerMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Definition of AWS::Deadline::Worker Resource Type. |
| Props | Definition of AWS::Deadline::Worker Resource Type. |
| Strategy | Definition of AWS::Deadline::Worker Resource Type. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnWorkerPropsMixin(ICfnWorkerMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Deadline::Worker.
public CfnWorkerPropsMixin(ICfnWorkerMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnWorkerMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-worker.html
CloudformationResource: AWS::Deadline::Worker
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Definition of AWS::Deadline::Worker Resource Type.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-worker.html
CloudformationResource: AWS::Deadline::Worker
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.CfnPropertyMixins.AWS.Deadline;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnWorkerPropsMixin = new CfnWorkerPropsMixin(new CfnWorkerMixinProps {
FarmId = "farmId",
FleetId = "fleetId",
HostProperties = new HostPropertiesRequestProperty {
HostName = "hostName",
IpAddresses = new IpAddressesProperty {
IpV4Addresses = new [] { "ipV4Addresses" },
IpV6Addresses = new [] { "ipV6Addresses" }
}
},
Tags = new [] { new TagsItemsProperty {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Definition of AWS::Deadline::Worker Resource Type.
protected virtual ICfnWorkerMixinProps Props { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-worker.html
CloudformationResource: AWS::Deadline::Worker
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.CfnPropertyMixins.AWS.Deadline;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnWorkerPropsMixin = new CfnWorkerPropsMixin(new CfnWorkerMixinProps {
FarmId = "farmId",
FleetId = "fleetId",
HostProperties = new HostPropertiesRequestProperty {
HostName = "hostName",
IpAddresses = new IpAddressesProperty {
IpV4Addresses = new [] { "ipV4Addresses" },
IpV6Addresses = new [] { "ipV6Addresses" }
}
},
Tags = new [] { new TagsItemsProperty {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Definition of AWS::Deadline::Worker Resource Type.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-worker.html
CloudformationResource: AWS::Deadline::Worker
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.CfnPropertyMixins.AWS.Deadline;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnWorkerPropsMixin = new CfnWorkerPropsMixin(new CfnWorkerMixinProps {
FarmId = "farmId",
FleetId = "fleetId",
HostProperties = new HostPropertiesRequestProperty {
HostName = "hostName",
IpAddresses = new IpAddressesProperty {
IpV4Addresses = new [] { "ipV4Addresses" },
IpV6Addresses = new [] { "ipV6Addresses" }
}
},
Tags = new [] { new TagsItemsProperty {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-worker.html
CloudformationResource: AWS::Deadline::Worker
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
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-worker.html
CloudformationResource: AWS::Deadline::Worker
Mixin: true
ExampleMetadata: fixture=_generated