EphemeralStorageOverride Struct
Override ephemeral storage for the task.
| Source | aws-events-targets/lib/ecs-task-properties.ts |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_events_targets as events_targets } from 'aws-cdk-lib';
const ephemeralStorageOverride: events_targets.EphemeralStorageOverride = {
sizeInGiB: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_events_targets as events_targets
ephemeral_storage_override = events_targets.EphemeralStorageOverride(
size_in_gi_b=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.events.targets.*;
EphemeralStorageOverride ephemeralStorageOverride = EphemeralStorageOverride.builder()
.sizeInGiB(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Events.Targets;
var ephemeralStorageOverride = new EphemeralStorageOverride {
SizeInGiB = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
ephemeralStorageOverride := &EphemeralStorageOverride{
SizeInGiB: jsii.Number(123),
}
Properties
The total amount, in GiB, of ephemeral storage to set for the task.
The minimum supported value is 20 GiB and the maximum supported value is 200 GiB.