Skip to content

Commit 8bd7258

Browse files
authored
Merge pull request #16 from mccgeoff/main
Tributary metadata for lightsail, s3, cloudfront, fargate, and transit gateway
2 parents 3daadf6 + de79c5b commit 8bd7258

5 files changed

Lines changed: 127 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
cloudfront_GettingStarted:
2+
title: Get started with a basic CloudFront distribution using the CLI
3+
title_abbrev: Get started with CloudFront
4+
synopsis_list:
5+
- Create an Amazon S3 bucket for content storage
6+
- Upload sample content to the S3 bucket
7+
- Create an origin access control (OAC) for secure S3 access
8+
- Create a CloudFront distribution with S3 as origin
9+
- Update S3 bucket policy to allow CloudFront access
10+
- Wait for distribution deployment and test content access
11+
- Clean up resources including distribution, OAC, and S3 bucket
12+
category: Scenarios
13+
languages:
14+
Bash:
15+
versions:
16+
- sdk_version: 2
17+
github_name: "Sample developer tutorials"
18+
github: https://github.com/aws-samples/sample-developer-tutorials/tree/main/tuts/005-cloudfront-gettingstarted
19+
excerpts:
20+
- description:
21+
snippet_files:
22+
- tuts/005-cloudfront-gettingstarted/cloudfront-gettingstarted.sh
23+
services:
24+
cloudfront: {
25+
CreateOriginAccessControl, GetOriginAccessControl, DeleteOriginAccessControl, CreateDistribution, GetDistribution, GetDistributionConfig, UpdateDistribution, DeleteDistribution, WaitDistributionDeployed}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
fargate_GettingStarted:
2+
title: Get started with Batch and Fargate using the CLI
3+
title_abbrev: Get started with Batch and Fargate
4+
synopsis_list:
5+
- Create an IAM execution role for ECS tasks
6+
- Create a managed Fargate compute environment
7+
- Create a job queue with priority settings
8+
- Register a job definition for containerized workloads
9+
- Submit and monitor a batch job execution
10+
- View job output in CloudWatch Logs
11+
- Clean up resources in proper dependency order
12+
category: Scenarios
13+
languages:
14+
Bash:
15+
versions:
16+
- sdk_version: 2
17+
github_name: "Sample developer tutorials"
18+
github: https://github.com/aws-samples/sample-developer-tutorials/tree/main/tuts/011-getting-started-batch-fargate
19+
excerpts:
20+
- description:
21+
snippet_files:
22+
- tuts/011-getting-started-batch-fargate/getting-started-batch-fargate.sh
23+
services:
24+
batch: {
25+
CreateComputeEnvironment, DescribeComputeEnvironments, CreateJobQueue, DescribeJobQueues, RegisterJobDefinition, SubmitJob, DescribeJobs, UpdateJobQueue, DeleteJobQueue, UpdateComputeEnvironment, DeleteComputeEnvironment}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
lightsail_GettingStarted:
2+
title: Get started with Amazon Lightsail using the CLI
3+
title_abbrev: Get started with Lightsail
4+
synopsis_list:
5+
- Explore available blueprints and bundles for instance creation
6+
- Create a Lightsail instance with Amazon Linux 2023
7+
- Monitor instance status until running
8+
- Download default key pair for SSH access
9+
- Create and attach additional block storage disk
10+
- Create an instance snapshot for backup
11+
- Clean up resources to avoid ongoing charges
12+
category: Scenarios
13+
languages:
14+
Bash:
15+
versions:
16+
- sdk_version: 2
17+
github_name: "Sample developer tutorials"
18+
github: https://github.com/aws-samples/sample-developer-tutorials/tree/main/tuts/001-lightsail-gs
19+
excerpts:
20+
- description:
21+
snippet_files:
22+
- tuts/001-lightsail-gs/lightsail-gs.sh
23+
services:
24+
lightsail: {
25+
GetBlueprints, GetBundles, CreateInstances, GetInstanceState, GetInstance, DownloadDefaultKeyPair, CreateDisk, GetDisk, AttachDisk, DetachDisk, CreateInstanceSnapshot, GetInstanceSnapshot, DeleteInstanceSnapshot, DeleteDisk, DeleteInstance}

.doc_gen/metadata/s3_metadata.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
s3_GettingStarted:
2+
title: Get started with Amazon S3 using the CLI
3+
title_abbrev: Get started with S3
4+
synopsis_list:
5+
- Create an S3 bucket with unique naming and regional configuration
6+
- Configure bucket security settings including public access blocking
7+
- Enable versioning and default encryption for data protection
8+
- Upload objects with and without custom metadata
9+
- Download objects from the bucket to local storage
10+
- Copy objects within the bucket to organize data in folders
11+
- List bucket contents and objects with specific prefixes
12+
- Add tags to buckets for resource management
13+
- Clean up all resources including versioned objects
14+
category: Scenarios
15+
languages:
16+
Bash:
17+
versions:
18+
- sdk_version: 2
19+
github_name: "Sample developer tutorials"
20+
github: https://github.com/aws-samples/sample-developer-tutorials/tree/main/tuts/003-s3-gettingstarted
21+
excerpts:
22+
- description:
23+
snippet_files:
24+
- tuts/003-s3-gettingstarted/s3-gettingstarted.sh
25+
services:
26+
s3: {
27+
CreateBucket, PutPublicAccessBlock, PutBucketVersioning, PutBucketEncryption, PutObject, GetObject, HeadObject, CopyObject, ListObjectsV2, PutBucketTagging, ListObjectVersions, DeleteObjects, DeleteBucket}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
vpc_TransitGatewayGettingStarted:
2+
title: Get started with Transit Gateway using the CLI
3+
title_abbrev: Get started with Transit Gateway
4+
synopsis_list:
5+
- Create a transit gateway with DNS support and default route table settings
6+
- Wait for the transit gateway to become available
7+
- Attach two VPCs to the transit gateway using subnets
8+
- Wait for VPC attachments to become available
9+
- Add routes between VPCs through the transit gateway
10+
- Test connectivity between VPC resources
11+
- Clean up resources including routes, attachments, and transit gateway
12+
category: Scenarios
13+
languages:
14+
Bash:
15+
versions:
16+
- sdk_version: 2
17+
github_name: "Sample developer tutorials"
18+
github: https://github.com/aws-samples/sample-developer-tutorials/tree/main/tuts/012-transitgateway-gettingstarted
19+
excerpts:
20+
- description:
21+
snippet_files:
22+
- tuts/012-transitgateway-gettingstarted/transitgateway-gettingstarted.sh
23+
services:
24+
ec2: {
25+
CreateTransitGateway, DescribeTransitGateways, CreateTransitGatewayVpcAttachment, DescribeTransitGatewayVpcAttachments, DescribeTransitGatewayAttachments, CreateRoute, DeleteRoute, DeleteTransitGatewayVpcAttachment, DeleteTransitGateway, DescribeAvailabilityZones, CreateVpc, DescribeVpcs, CreateSubnet, DescribeSubnets, DescribeRouteTables}

0 commit comments

Comments
 (0)