rustv1/examples/config/README.md
These examples demonstrate how to perform several AWS Config operations using the develoer preview version of the AWS SDK for Rust.
AWS Config provides a detailed view of the resources associated with your AWS account, including how they are configured, how they are related to one another, and how the configurations and their relationships have changed over time.
You must have an AWS account, and have configured your default credentials and AWS Region as described in https://github.com/awslabs/aws-sdk-rust.
This example lists the configuration history for an AWS Config resource.
cargo run --bin config-helloworld -- -resource_id RESOURCE-ID -resource_type RESOURCE-TYPE NAME [-r REGION] [-v]
This example deletes an AWS Config configuration recorder.
cargo run --bin delete-configuration-recorder -- -n NAME [-r REGION] [-v]
This example deletes an AWS Config delivery channel.
cargo run --bin delete-delivery-channel -- -c CHANNEL [-r REGION] [-v]
This example enables AWS Config for a resource type, in the Region.
cargo run --bin enable-config -- -b BUCKET -i IAM-ARN -k KMS-ARN -n NAME -p PREFIX -s SNS-ARN -t TYPE [-r REGION] [-v]
AWS::DynamoDB::Table (DynamoDB tables).This example lists the AWS Config configuration recorders in the Region.
cargo run --bin list-configuration-recorders -- [-r REGION] [-v]
This example lists the AWS Config delivery channels in the Region.
cargo run --bin list-delivery-channels -- [-r REGION] [-v]
This example lists your AWS Config resources, by resource type, in the Region.
cargo run --bin list-resources -- [-r REGION] [-v]
This example displays the configuration history for a resource.
cargo run --bin show-resource-history -- -i ID --resource-type RESOURCE-TYPE [-r REGION] [-v]
AWS::EC2::SecurityGroup.To propose a new code example to the AWS documentation team, see CONTRIBUTING.md. The team prefers to create code examples that show broad scenarios rather than individual API calls.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0