Interface ICfnClusterCapacityProviderAssociationsProps
Properties for defining a CfnClusterCapacityProviderAssociations
.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnClusterCapacityProviderAssociationsProps
Syntax (vb)
Public Interface 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
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. |
Properties
CapacityProviders
The capacity providers to associate with the cluster.
string[] CapacityProviders { get; }
Property Value
System.String[]
Remarks
Cluster
The cluster the capacity provider association is the target of.
string Cluster { get; }
Property Value
System.String
Remarks
DefaultCapacityProviderStrategy
The default capacity provider strategy to associate with the cluster.
object DefaultCapacityProviderStrategy { get; }
Property Value
System.Object