Show / Hide Table of Contents

Class CfnConsumableResourcePropsMixin

The AWS::Batch::ConsumableResource resource specifies the parameters for an AWS Batch consumable resource.

Inheritance
object
Mixin
CfnConsumableResourcePropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.Mixins.Preview.AWS.Batch.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnConsumableResourcePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnConsumableResourcePropsMixin Inherits Mixin Implements IMixin
Remarks

For more information, see Resource-aware scheduling in the ** .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-consumableresource.html

CloudformationResource: AWS::Batch::ConsumableResource

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.Batch.Mixins;

             var cfnConsumableResourcePropsMixin = new CfnConsumableResourcePropsMixin(new CfnConsumableResourceMixinProps {
                 ConsumableResourceName = "consumableResourceName",
                 ResourceType = "resourceType",
                 Tags = new Dictionary<string, string> {
                     { "tagsKey", "tags" }
                 },
                 TotalQuantity = 123
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Synopsis

Constructors

CfnConsumableResourcePropsMixin(ICfnConsumableResourceMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::Batch::ConsumableResource.

Properties

CFN_PROPERTY_KEYS

The AWS::Batch::ConsumableResource resource specifies the parameters for an AWS Batch consumable resource.

Props

The AWS::Batch::ConsumableResource resource specifies the parameters for an AWS Batch consumable resource.

Strategy

The AWS::Batch::ConsumableResource resource specifies the parameters for an AWS Batch consumable resource.

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

Supports(IConstruct)

Check if this mixin supports the given construct.

Constructors

CfnConsumableResourcePropsMixin(ICfnConsumableResourceMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::Batch::ConsumableResource.

public CfnConsumableResourcePropsMixin(ICfnConsumableResourceMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
props ICfnConsumableResourceMixinProps

L1 properties to apply.

options ICfnPropertyMixinOptions

Mixin options.

Remarks

For more information, see Resource-aware scheduling in the ** .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-consumableresource.html

CloudformationResource: AWS::Batch::ConsumableResource

Mixin: true

ExampleMetadata: fixture=_generated

Properties

CFN_PROPERTY_KEYS

The AWS::Batch::ConsumableResource resource specifies the parameters for an AWS Batch consumable resource.

protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value

string[]

Remarks

For more information, see Resource-aware scheduling in the ** .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-consumableresource.html

CloudformationResource: AWS::Batch::ConsumableResource

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.Batch.Mixins;

             var cfnConsumableResourcePropsMixin = new CfnConsumableResourcePropsMixin(new CfnConsumableResourceMixinProps {
                 ConsumableResourceName = "consumableResourceName",
                 ResourceType = "resourceType",
                 Tags = new Dictionary<string, string> {
                     { "tagsKey", "tags" }
                 },
                 TotalQuantity = 123
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Props

The AWS::Batch::ConsumableResource resource specifies the parameters for an AWS Batch consumable resource.

protected virtual ICfnConsumableResourceMixinProps Props { get; }
Property Value

ICfnConsumableResourceMixinProps

Remarks

For more information, see Resource-aware scheduling in the ** .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-consumableresource.html

CloudformationResource: AWS::Batch::ConsumableResource

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.Batch.Mixins;

             var cfnConsumableResourcePropsMixin = new CfnConsumableResourcePropsMixin(new CfnConsumableResourceMixinProps {
                 ConsumableResourceName = "consumableResourceName",
                 ResourceType = "resourceType",
                 Tags = new Dictionary<string, string> {
                     { "tagsKey", "tags" }
                 },
                 TotalQuantity = 123
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Strategy

The AWS::Batch::ConsumableResource resource specifies the parameters for an AWS Batch consumable resource.

protected virtual PropertyMergeStrategy Strategy { get; }
Property Value

PropertyMergeStrategy

Remarks

For more information, see Resource-aware scheduling in the ** .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-consumableresource.html

CloudformationResource: AWS::Batch::ConsumableResource

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.Batch.Mixins;

             var cfnConsumableResourcePropsMixin = new CfnConsumableResourcePropsMixin(new CfnConsumableResourceMixinProps {
                 ConsumableResourceName = "consumableResourceName",
                 ResourceType = "resourceType",
                 Tags = new Dictionary<string, string> {
                     { "tagsKey", "tags" }
                 },
                 TotalQuantity = 123
             }, 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
Mixin.ApplyTo(IConstruct)
Remarks

For more information, see Resource-aware scheduling in the ** .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-consumableresource.html

CloudformationResource: AWS::Batch::ConsumableResource

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

bool

Overrides
Mixin.Supports(IConstruct)
Remarks

For more information, see Resource-aware scheduling in the ** .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-consumableresource.html

CloudformationResource: AWS::Batch::ConsumableResource

Mixin: true

ExampleMetadata: fixture=_generated

Implements

IMixin
Back to top Generated by DocFX