Class AWSAPICallViaCloudTrail.OnDemandOptions
(experimental) Type definition for OnDemandOptions.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.EC2.Events
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class AWSAPICallViaCloudTrail.OnDemandOptions : AWSAPICallViaCloudTrail.IOnDemandOptions
Syntax (vb)
Public Class AWSAPICallViaCloudTrail.OnDemandOptions Implements AWSAPICallViaCloudTrail.IOnDemandOptions
Remarks
Stability: Experimental
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.AWS.EC2.Events;
var onDemandOptions = new OnDemandOptions {
AllocationStrategy = new [] { "allocationStrategy" },
InstancePoolConstraintFilterDisabled = new [] { "instancePoolConstraintFilterDisabled" },
MaxInstanceCount = new [] { "maxInstanceCount" },
MaxTargetCapacity = new [] { "maxTargetCapacity" }
};
Synopsis
Constructors
| OnDemandOptions() | (experimental) Type definition for OnDemandOptions. |
Properties
| AllocationStrategy | (experimental) AllocationStrategy property. |
| InstancePoolConstraintFilterDisabled | (experimental) InstancePoolConstraintFilterDisabled property. |
| MaxInstanceCount | (experimental) MaxInstanceCount property. |
| MaxTargetCapacity | (experimental) MaxTargetCapacity property. |
Constructors
OnDemandOptions()
(experimental) Type definition for OnDemandOptions.
public OnDemandOptions()
Remarks
Stability: Experimental
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.AWS.EC2.Events;
var onDemandOptions = new OnDemandOptions {
AllocationStrategy = new [] { "allocationStrategy" },
InstancePoolConstraintFilterDisabled = new [] { "instancePoolConstraintFilterDisabled" },
MaxInstanceCount = new [] { "maxInstanceCount" },
MaxTargetCapacity = new [] { "maxTargetCapacity" }
};
Properties
AllocationStrategy
(experimental) AllocationStrategy property.
public string[]? AllocationStrategy { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of AllocationStrategy is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
InstancePoolConstraintFilterDisabled
(experimental) InstancePoolConstraintFilterDisabled property.
public string[]? InstancePoolConstraintFilterDisabled { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of InstancePoolConstraintFilterDisabled is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
MaxInstanceCount
(experimental) MaxInstanceCount property.
public string[]? MaxInstanceCount { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of MaxInstanceCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
MaxTargetCapacity
(experimental) MaxTargetCapacity property.
public string[]? MaxTargetCapacity { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of MaxTargetCapacity is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental