You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following example demonstrates how to create a distribution tenant associated with that template, including utilizing the parameter we declared above. Note that we don't need to add certificate info here because our domain is already covered by the parent template.
The following example demonstrates how to do so with a CloudFront-hosted managed certificate request. This is ideal if you don't already have traffic towards your domain.
117
+
In this case, we create a ConnectionGroup to generate a RoutingEndpoint. Then we use that RoutingEndpoint to create DNS records which verify domain ownership and point to CloudFront. CloudFront will then automatically serve a token to validate domain ownership and create a managed certificate.
The following example demonstrates how to do so with a self-hosted managed certificate request. This is ideal if you have traffic towards your domain and can't tolerate downtime during a migration.
125
+
At the end of this example, the Tenant will be created in a state awaiting domain validation and DNS setup. Follow steps [here](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/managed-cloudfront-certificates.html#complete-domain-ownership) to complete setup when you are ready to migrate traffic.
- description: Using pagination with <code>describeSecurityGroupsPaginated()</code>.
1397
+
snippet_tags:
1398
+
- swift.ec2.import
1399
+
- swift.ec2.DescribeSecurityGroupsPaginated
1400
+
- description: Without pagination.
1401
+
snippet_tags:
1402
+
- swift.ec2.import
1403
+
- swift.ec2.DescribeSecurityGroups
1272
1404
services:
1273
1405
ec2: {DescribeSecurityGroups}
1274
1406
ec2_DeleteSecurityGroup:
@@ -1355,6 +1487,15 @@ ec2_DeleteSecurityGroup:
1355
1487
excerpts:
1356
1488
- snippet_tags:
1357
1489
- ec2.rust.delete_security_group.impl
1490
+
Swift:
1491
+
versions:
1492
+
- sdk_version: 1
1493
+
github: swift/example_code/ec2
1494
+
excerpts:
1495
+
- description:
1496
+
snippet_tags:
1497
+
- swift.ec2.import
1498
+
- swift.ec2.DeleteSecurityGroup
1358
1499
services:
1359
1500
ec2: {DeleteSecurityGroup}
1360
1501
ec2_DeleteSnapshot:
@@ -1473,6 +1614,15 @@ ec2_TerminateInstances:
1473
1614
- description: Wait for an instance to be in the terminted state, using the Waiters API. Using the Waiters API requires `use aws_sdk_ec2::client::Waiters` in the rust file.
0 commit comments