Documentation Index
Fetch the complete documentation index at: https://mintlify.com/chaos-mesh/chaos-mesh/llms.txt
Use this file to discover all available pages before exploring further.
AWSChaos allows you to inject faults into AWS services, including stopping EC2 instances, restarting instances, and detaching EBS volumes.
API Version and Kind
Metadata
Standard Kubernetes object metadata.Name of the AWSChaos resource.
Namespace of the AWSChaos resource. Defaults to
default.Spec Fields
Defines the behavior of the AWS chaos experiment.
AWSChaosSpec
Specific AWS chaos action to perform.Enum values:
ec2-stop- Stop an EC2 instanceec2-restart- Restart an EC2 instance (one-shot)detach-volume- Detach an EBS volume from an EC2 instance
ec2-stopDuration of the chaos action.A duration string with format like
"300ms", "1.5h", or "2h45m".Valid time units: ns, us (µs), ms, s, m, hName of Kubernetes secret containing AWS credentials.The secret should contain
aws_access_key_id and aws_secret_access_key keys.AWS region where the target resources are located.Part of
AWSSelector (inline).ID of the EC2 instance to target.Part of
AWSSelector (inline).ID of the EBS volume. Required when action is
detach-volume.Part of AWSSelector (inline).Name of the device. Required when action is
detach-volume.Part of AWSSelector (inline).Endpoint of the AWS server. Used for testing only.Part of
AWSSelector (inline).Name of the remote cluster where the chaos will be deployed. If not specified, chaos is applied to the local cluster.
Status Fields
Current status of the chaos experiment.
AWSChaosStatus
Current global conditions. See ChaosStatus in Common Types.
Last known experiment state including desired phase and container records.