Class CfnQueuePropsMixin
Creates an AWS PCS queue resource.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.PCS.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnQueuePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnQueuePropsMixin Inherits Mixin Implements IMixin
Remarks
For more information, see Creating a queue in AWS PCS in the AWS PCS User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html
CloudformationResource: AWS::PCS::Queue
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.PCS.Mixins;
var cfnQueuePropsMixin = new CfnQueuePropsMixin(new CfnQueueMixinProps {
ClusterId = "clusterId",
ComputeNodeGroupConfigurations = new [] { new ComputeNodeGroupConfigurationProperty {
ComputeNodeGroupId = "computeNodeGroupId"
} },
Name = "name",
SlurmConfiguration = new SlurmConfigurationProperty {
SlurmCustomSettings = new [] { new SlurmCustomSettingProperty {
ParameterName = "parameterName",
ParameterValue = "parameterValue"
} }
},
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnQueuePropsMixin(ICfnQueueMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates an AWS PCS queue resource. |
| Props | Creates an AWS PCS queue resource. |
| Strategy | Creates an AWS PCS queue resource. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnQueuePropsMixin(ICfnQueueMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::PCS::Queue.
public CfnQueuePropsMixin(ICfnQueueMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnQueueMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
For more information, see Creating a queue in AWS PCS in the AWS PCS User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html
CloudformationResource: AWS::PCS::Queue
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates an AWS PCS queue resource.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
For more information, see Creating a queue in AWS PCS in the AWS PCS User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html
CloudformationResource: AWS::PCS::Queue
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.PCS.Mixins;
var cfnQueuePropsMixin = new CfnQueuePropsMixin(new CfnQueueMixinProps {
ClusterId = "clusterId",
ComputeNodeGroupConfigurations = new [] { new ComputeNodeGroupConfigurationProperty {
ComputeNodeGroupId = "computeNodeGroupId"
} },
Name = "name",
SlurmConfiguration = new SlurmConfigurationProperty {
SlurmCustomSettings = new [] { new SlurmCustomSettingProperty {
ParameterName = "parameterName",
ParameterValue = "parameterValue"
} }
},
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Creates an AWS PCS queue resource.
protected virtual ICfnQueueMixinProps Props { get; }
Property Value
Remarks
For more information, see Creating a queue in AWS PCS in the AWS PCS User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html
CloudformationResource: AWS::PCS::Queue
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.PCS.Mixins;
var cfnQueuePropsMixin = new CfnQueuePropsMixin(new CfnQueueMixinProps {
ClusterId = "clusterId",
ComputeNodeGroupConfigurations = new [] { new ComputeNodeGroupConfigurationProperty {
ComputeNodeGroupId = "computeNodeGroupId"
} },
Name = "name",
SlurmConfiguration = new SlurmConfigurationProperty {
SlurmCustomSettings = new [] { new SlurmCustomSettingProperty {
ParameterName = "parameterName",
ParameterValue = "parameterValue"
} }
},
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Creates an AWS PCS queue resource.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
For more information, see Creating a queue in AWS PCS in the AWS PCS User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html
CloudformationResource: AWS::PCS::Queue
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.PCS.Mixins;
var cfnQueuePropsMixin = new CfnQueuePropsMixin(new CfnQueueMixinProps {
ClusterId = "clusterId",
ComputeNodeGroupConfigurations = new [] { new ComputeNodeGroupConfigurationProperty {
ComputeNodeGroupId = "computeNodeGroupId"
} },
Name = "name",
SlurmConfiguration = new SlurmConfigurationProperty {
SlurmCustomSettings = new [] { new SlurmCustomSettingProperty {
ParameterName = "parameterName",
ParameterValue = "parameterValue"
} }
},
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
For more information, see Creating a queue in AWS PCS in the AWS PCS User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html
CloudformationResource: AWS::PCS::Queue
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
For more information, see Creating a queue in AWS PCS in the AWS PCS User Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html
CloudformationResource: AWS::PCS::Queue
Mixin: true
ExampleMetadata: fixture=_generated