Class CfnQuotaShare
Resource Type definition for AWS::Batch::QuotaShare.
Inherited Members
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnQuotaShare : CfnResource, IInspectable, IQuotaShareRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnQuotaShare Inherits CfnResource Implements IInspectable, IQuotaShareRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
CloudformationResource: AWS::Batch::QuotaShare
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.Batch;
var cfnQuotaShare = new CfnQuotaShare(this, "MyCfnQuotaShare", new CfnQuotaShareProps {
CapacityLimits = new [] { new QuotaShareCapacityLimitProperty {
CapacityUnit = "capacityUnit",
MaxCapacity = 123
} },
JobQueue = "jobQueue",
PreemptionConfiguration = new QuotaSharePreemptionConfigurationProperty {
InSharePreemption = "inSharePreemption"
},
QuotaShareName = "quotaShareName",
ResourceSharingConfiguration = new QuotaShareResourceSharingConfigurationProperty {
Strategy = "strategy",
// the properties below are optional
BorrowLimit = 123
},
// the properties below are optional
State = "state",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
});
Synopsis
Constructors
| CfnQuotaShare(Construct, string, ICfnQuotaShareProps) | Create a new |
Properties
| AttrQuotaShareArn | Resource Type definition for AWS::Batch::QuotaShare. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CapacityLimits | The capacity limits for the quota share. |
| CdkTagManager | Tag Manager which manages the tags for this resource. |
| CfnProperties | Resource Type definition for AWS::Batch::QuotaShare. |
| JobQueue | The Amazon Resource Name (ARN) or name of the job queue. |
| PreemptionConfiguration | Resource Type definition for AWS::Batch::QuotaShare. |
| QuotaShareName | The name of the quota share. |
| QuotaShareRef | A reference to a QuotaShare resource. |
| ResourceSharingConfiguration | Resource Type definition for AWS::Batch::QuotaShare. |
| State | The state of the quota share. |
| Tags | A key-value pair to associate with a resource. |
Methods
| ArnForQuotaShare(IQuotaShareRef) | Resource Type definition for AWS::Batch::QuotaShare. |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnQuotaShare(object) | Checks whether the given object is a CfnQuotaShare. |
| RenderProperties(IDictionary<string, object>) | Resource Type definition for AWS::Batch::QuotaShare. |
Constructors
CfnQuotaShare(Construct, string, ICfnQuotaShareProps)
Create a new AWS::Batch::QuotaShare.
public CfnQuotaShare(Construct scope, string id, ICfnQuotaShareProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnQuotaShareProps
Resource properties.
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
CloudformationResource: AWS::Batch::QuotaShare
ExampleMetadata: fixture=_generated
Properties
AttrQuotaShareArn
Resource Type definition for AWS::Batch::QuotaShare.
public virtual string AttrQuotaShareArn { get; }
Property Value
Remarks
CloudformationAttribute: QuotaShareArn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
CloudformationResource: AWS::Batch::QuotaShare
ExampleMetadata: fixture=_generated
CapacityLimits
The capacity limits for the quota share.
public virtual object CapacityLimits { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnQuotaShare.IQuotaShareCapacityLimitProperty)[]
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
CloudformationResource: AWS::Batch::QuotaShare
ExampleMetadata: fixture=_generated
CfnProperties
Resource Type definition for AWS::Batch::QuotaShare.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
CloudformationResource: AWS::Batch::QuotaShare
ExampleMetadata: fixture=_generated
JobQueue
The Amazon Resource Name (ARN) or name of the job queue.
public virtual string JobQueue { get; set; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
CloudformationResource: AWS::Batch::QuotaShare
ExampleMetadata: fixture=_generated
PreemptionConfiguration
Resource Type definition for AWS::Batch::QuotaShare.
public virtual object PreemptionConfiguration { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnQuotaShare.IQuotaSharePreemptionConfigurationProperty
QuotaShareName
The name of the quota share.
public virtual string QuotaShareName { get; set; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
CloudformationResource: AWS::Batch::QuotaShare
ExampleMetadata: fixture=_generated
QuotaShareRef
A reference to a QuotaShare resource.
public virtual IQuotaShareReference QuotaShareRef { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
CloudformationResource: AWS::Batch::QuotaShare
ExampleMetadata: fixture=_generated
ResourceSharingConfiguration
Resource Type definition for AWS::Batch::QuotaShare.
public virtual object ResourceSharingConfiguration { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnQuotaShare.IQuotaShareResourceSharingConfigurationProperty
State
The state of the quota share.
public virtual string? State { get; set; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
CloudformationResource: AWS::Batch::QuotaShare
ExampleMetadata: fixture=_generated
Tags
A key-value pair to associate with a resource.
public virtual IDictionary<string, string>? Tags { get; set; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
CloudformationResource: AWS::Batch::QuotaShare
ExampleMetadata: fixture=_generated
Methods
ArnForQuotaShare(IQuotaShareRef)
Resource Type definition for AWS::Batch::QuotaShare.
public static string ArnForQuotaShare(IQuotaShareRef resource)
Parameters
- resource IQuotaShareRef
Returns
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
CloudformationResource: AWS::Batch::QuotaShare
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.Batch;
var cfnQuotaShare = new CfnQuotaShare(this, "MyCfnQuotaShare", new CfnQuotaShareProps {
CapacityLimits = new [] { new QuotaShareCapacityLimitProperty {
CapacityUnit = "capacityUnit",
MaxCapacity = 123
} },
JobQueue = "jobQueue",
PreemptionConfiguration = new QuotaSharePreemptionConfigurationProperty {
InSharePreemption = "inSharePreemption"
},
QuotaShareName = "quotaShareName",
ResourceSharingConfiguration = new QuotaShareResourceSharingConfigurationProperty {
Strategy = "strategy",
// the properties below are optional
BorrowLimit = 123
},
// the properties below are optional
State = "state",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
});
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.
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
CloudformationResource: AWS::Batch::QuotaShare
ExampleMetadata: fixture=_generated
IsCfnQuotaShare(object)
Checks whether the given object is a CfnQuotaShare.
public static bool IsCfnQuotaShare(object x)
Parameters
- x object
Returns
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
CloudformationResource: AWS::Batch::QuotaShare
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Resource Type definition for AWS::Batch::QuotaShare.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
CloudformationResource: AWS::Batch::QuotaShare
ExampleMetadata: fixture=_generated