Class CfnClusterCapacityProviderAssociationsProps
Properties for defining a CfnClusterCapacityProviderAssociations
.
Inheritance
System.Object
CfnClusterCapacityProviderAssociationsProps
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class CfnClusterCapacityProviderAssociationsProps : Object, ICfnClusterCapacityProviderAssociationsProps
Syntax (vb)
Public Class CfnClusterCapacityProviderAssociationsProps
Inherits Object
Implements ICfnClusterCapacityProviderAssociationsProps
Remarks
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.ECS;
var cfnClusterCapacityProviderAssociationsProps = new CfnClusterCapacityProviderAssociationsProps {
CapacityProviders = new [] { "capacityProviders" },
Cluster = "cluster",
DefaultCapacityProviderStrategy = new [] { new CapacityProviderStrategyProperty {
CapacityProvider = "capacityProvider",
// the properties below are optional
Base = 123,
Weight = 123
} }
};
Synopsis
Constructors
CfnClusterCapacityProviderAssociationsProps() |
Properties
CapacityProviders | The capacity providers to associate with the cluster. |
Cluster | The cluster the capacity provider association is the target of. |
DefaultCapacityProviderStrategy | The default capacity provider strategy to associate with the cluster. |
Constructors
CfnClusterCapacityProviderAssociationsProps()
public CfnClusterCapacityProviderAssociationsProps()
Properties
CapacityProviders
The capacity providers to associate with the cluster.
public string[] CapacityProviders { get; set; }
Property Value
System.String[]
Remarks
Cluster
The cluster the capacity provider association is the target of.
public string Cluster { get; set; }
Property Value
System.String
Remarks
DefaultCapacityProviderStrategy
The default capacity provider strategy to associate with the cluster.
public object DefaultCapacityProviderStrategy { get; set; }
Property Value
System.Object