Skip to content

Commit 065a618

Browse files
committed
Merge remote-tracking branch 'origin' into doug-go-v2
2 parents 62e961d + 423a110 commit 065a618

File tree

72 files changed

+334
-91
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+334
-91
lines changed

cloudformation/codepipeline/template-codepipeline-codecommit-events-json.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"Default": "master"
2929
},
3030
"RepositoryName": {
31-
"Description": "CodeComit repository name",
31+
"Description": "CodeCommit repository name",
3232
"Type": "String",
3333
"Default": "myrepo"
3434
},

cloudformation/codepipeline/template-codepipeline-codecommit-events-yaml.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Parameters:
2626
Type: String
2727
Default: master
2828
RepositoryName:
29-
Description: CodeComit repository name
29+
Description: CodeCommit repository name
3030
Type: String
3131
Default: myrepo
3232
ApplicationName:

cloudformation/codepipeline/template-codepipeline-s3-cloudtrail-yaml.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
###################################################################################
2424
# Prerequisites:
25-
# - S3 SoureBucket and SourceObjectKey must exist
25+
# - S3 SourceBucket and SourceObjectKey must exist
2626
###################################################################################
2727

2828
Parameters:

cpp/example_code/neptune/describe_db_clusters.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
//snippet-sourcedescription:[describe_db_clusers.cpp demonstrates how to retrieve information about Amazon Neptune provisioned DB clusters.]
2+
//snippet-sourcedescription:[describe_db_clusters.cpp demonstrates how to retrieve information about Amazon Neptune provisioned DB clusters.]
33
//snippet-keyword:[C++]
44
//snippet-sourcesyntax:[cpp]
55
//snippet-keyword:[Code Sample]

cpp/example_code/s3/get_put_bucket_acl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
* Prerequisites: An existing bucket.
9393
*
9494
* Inputs:
95-
* - bucketName: The name of the bucket to get ACL informaton for. For example,
95+
* - bucketName: The name of the bucket to get ACL information for. For example,
9696
* "my-bucket".
9797
* - region: The AWS Region identifier for the bucket. For example, "us-east-1".
9898
*

cpp/example_code/s3encryption/s3Encryption.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ int main(int argc, char** argv)
332332
Aws::String objectKey(OBJECT_KEY_PREFIX);
333333
AwsDoc::S3Encryption::KMSWithContextEncryptionMaterialsExample(BUCKET, (objectKey + "-kms-with-context-encryption-materials").c_str(), MASTER_KEY_ID);
334334
std::cout << std::endl;
335-
AwsDoc::S3Encryption::SimpleEncryptionMaterialsWithGCMAADExample(BUCKET, (objectKey + "-simplie-encryption-materials-with-gcm-aad").c_str());
335+
AwsDoc::S3Encryption::SimpleEncryptionMaterialsWithGCMAADExample(BUCKET, (objectKey + "-simple-encryption-materials-with-gcm-aad").c_str());
336336
std::cout << std::endl;
337337
AwsDoc::S3Encryption::DecryptObjectsEncryptedWithLegacyEncryptionExample(BUCKET, (objectKey + "-decrypt-objects-encrypted-with-legacy-encryption").c_str());
338338
std::cout << std::endl;

cpp/example_code/s3encryption/tests/test_s3Encryption.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ int main()
162162
return 1;
163163
}
164164
std::cout << std::endl;
165-
if (!AwsDoc::S3Encryption::SimpleEncryptionMaterialsWithGCMAADExample(bucketName.c_str(), (objectKey + "simplie-encryption-materials-with-gcm-aad").c_str()))
165+
if (!AwsDoc::S3Encryption::SimpleEncryptionMaterialsWithGCMAADExample(bucketName.c_str(), (objectKey + "simple-encryption-materials-with-gcm-aad").c_str()))
166166
{
167167
return 1;
168168
}

cpp/example_code/transfer-manager/transferOnStream.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ int main(int argc, char** argv)
5858
{
5959
if (argc < 4)
6060
{
61-
std::cout << "This program is used to demostrate how transfer manager transfers large object in memory without copying it to a local file." << std::endl
61+
std::cout << "This program is used to demonstrate how transfer manager transfers large object in memory without copying it to a local file." << std::endl
6262
<< "It first uploads [LocalFilePath] to your S3 [Bucket] with object name [Key], then downloads the object to memory." << std::endl
6363
<< "To verify the correctness of the file content in memory, we will dump the data to a local file [LocalFilePath]_copy." << std::endl
6464
<< "You can use md5sum [LocalFilePath] [LocalFilePath]_copy to verify they have the same content." << std::endl

dotnet/example_code/DynamoDB/GettingStarted/DynamoDB_intro/DynamoDB_intro/06_UpdatingItem.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,4 @@ public static async Task<bool> UpdatingMovie_async(UpdateItemRequest updateReque
3636
}
3737
}
3838
}
39-
40-
// snippet-end:[dynamodb.dotNET.CodeExample.06_UpdatingItem]
39+
// snippet-end:[dynamodb.dotNET.CodeExample.06_UpdatingItem]

dotnet/example_code_legacy/CloudWatch/AwsCloudWatchSample1/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public static void PutEventExample()
9999
{
100100
"RESOURCE_ARN"
101101
},
102-
Source = "com.compnay.myapp"
102+
Source = "com.company.myapp"
103103
}
104104
}
105105
};

dotnet/example_code_legacy/IAM/AwsInstanceProfile1/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ public static void UpdateCertificate()
308308
request.NewServerCertificateName = "NEW_Certificate_NAME";
309309
var response = iamClient.UpdateServerCertificate(request);
310310
if (response.HttpStatusCode.ToString() == "OK")
311-
Console.WriteLine("Update succesful");
311+
Console.WriteLine("Update successful");
312312
else
313313
Console.WriteLine("HTTpStatusCode returned = " + response.HttpStatusCode.ToString());
314314
}

go/cloudtrail/cloudtrailOps.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ func listTrailEvents(sess *session.Session, trailName string, userName string) e
265265
fmt.Println("ID: ", aws.StringValue(event.EventId))
266266
fmt.Println("Time: ", aws.TimeValue(event.EventTime))
267267

268-
fmt.Println("Resourcs:")
268+
fmt.Println("Resources:")
269269

270270
for _, resource := range event.Resources {
271271
fmt.Println(" Name:", aws.StringValue(resource.ResourceName))

go/cloudtrail/cloudtrailOps_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func showEvents(t *testing.T, sess *session.Session, trailName string, userName
172172
t.Log("Time: ", aws.TimeValue(event.EventTime))
173173
}
174174

175-
t.Log("Resourcs:")
175+
t.Log("Resources:")
176176

177177
for _, resource := range event.Resources {
178178
if nil != resource.ResourceName {

go/cloudwatch/CreateTarget/CreateTarget.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828
// Inputs:
2929
// sess is the current session, which provides configuration for the SDK's service clients
3030
// rule is the name of the rule
31-
// lammbdaARN is the ARN of the Lambda function that is invoked
31+
// lambdaARN is the ARN of the Lambda function that is invoked
3232
// targetID is the identifier for the target
3333
// Output:
3434
// If successful, a PutTargetsOutput and nil

go/dynamodb/ScanItems/ScanItems.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func ScanTableItems(sess *session.Session, year *int, table *string, minRating *
9999
func main() {
100100
// snippet-start:[dynamodb.go.scan_table_items.args]
101101
tableName := flag.String("t", "", "The name of the table")
102-
minRating := flag.Float64("r", -1.0, "The minumum rating of the movies to retrieve")
102+
minRating := flag.Float64("r", -1.0, "The minimum rating of the movies to retrieve")
103103
year := flag.Int("y", -1, "The year the movies to retrieve were released")
104104
flag.Parse()
105105

go/ec2/CreateImage/CreateImage.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func main() {
7878

7979
resp, err := MakeImage(svc, description, instanceID, name)
8080
if err != nil {
81-
fmt.Println("Got an error createing image:")
81+
fmt.Println("Got an error creating image:")
8282
fmt.Println(err)
8383
return
8484
}

go/ec2/DescribeInstances/DescribeInstances.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
// sess is the current session, which provides configuration for the SDK's service clients
1818
// Output:
1919
// If success, a list of Amazon EC2 instances and nil
20-
// Otherwise, nil and an error from the call to DescibeInstances
20+
// Otherwise, nil and an error from the call to DescribeInstances
2121
func GetInstances(sess *session.Session) (*ec2.DescribeInstancesOutput, error) {
2222
// snippet-start:[ec2.go.describe_instances.call]
2323
svc := ec2.New(sess)

go/example_code/cloudformation/CfnCrudOps_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type Config struct {
3131

3232
var configFileName = "config.json"
3333

34-
// Gloval variable for configuration set in config.json
34+
// Global variable for configuration set in config.json
3535
var globalConfig Config
3636

3737
func PopulateConfiguration() error {

go/example_code/cloudtrail/lookup_events.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func main() {
8181
fmt.Println("Time: ", aws.TimeValue(event.EventTime))
8282
fmt.Println("User: ", aws.StringValue(event.Username))
8383

84-
fmt.Println("Resourcs:")
84+
fmt.Println("Resources:")
8585

8686
for _, resource := range event.Resources {
8787
fmt.Println(" Name:", aws.StringValue(resource.ResourceName))

go/example_code/iam/iam_updateuser.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.]
22
// snippet-sourceauthor:[Doug-AWS]
3-
// snippet-sourcedescription:[Udates an IAM user.]
3+
// snippet-sourcedescription:[Updates an IAM user.]
44
// snippet-keyword:[AWS Identity and Access Management]
55
// snippet-keyword:[UpdateUser function]
66
// snippet-keyword:[Go]

go/example_code/rds/rds_copy_snapshot_to_s3.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func main() {
6565
IndentifierSanpshotTime := currentTime.Format("20060102")
6666
exportIdentifier := exportRDSSnapshotName + IndentifierSanpshotTime
6767

68-
// Getting latest snapsnot from rds snapshot list
68+
// Getting latest snapshot from rds snapshot list
6969
for _, s := range result.DBSnapshots {
7070

7171
if strings.Contains(*s.DBSnapshotArn, rdsSnapshot) {

go/lambda/RunFunction/RunFunction.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func main() {
9898

9999
result, err := CallFunction(svc, maxItems, function)
100100
if err != nil {
101-
fmt.Println("Got drror calling " + *function + ":")
101+
fmt.Println("Got error calling " + *function + ":")
102102
fmt.Println(err)
103103
return
104104
}

go/polly/SynthesizeSpeech/SynthesizeSpeech.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func MakeSpeech(svc pollyiface.PollyAPI, fileName *string) (*polly.SynthesizeSpe
4949

5050
func main() {
5151
// snippet-start:[polly.go.synthesize_speech.args]
52-
fileName := flag.String("f", "", "The file to tranlate into speech")
52+
fileName := flag.String("f", "", "The file to translate into speech")
5353
flag.Parse()
5454

5555
if *fileName == "" {

go/rds/CreateClusterSnapshot/CreateClusterSnapshot.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func main() {
6262

6363
err := MakeClusterSnapshot(svc, clusterID)
6464
if err != nil {
65-
fmt.Println("Got an error creating snapshop for cluster " + *clusterID)
65+
fmt.Println("Got an error creating snapshot for cluster " + *clusterID)
6666
return
6767
}
6868

@@ -75,7 +75,7 @@ func main() {
7575
})
7676
// snippet-end:[rds.go.create_db_cluster_snapshot.wait]
7777
if err != nil {
78-
fmt.Println("Got an error waiting for snapshop for cluster " + *clusterID)
78+
fmt.Println("Got an error waiting for snapshot for cluster " + *clusterID)
7979
return
8080
}
8181

go/rds/ListInstanceSnapshots/ListInstanceSnapshots.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
// Inputs:
1717
// sess is the current session, which provides configuration for the SDK's service clients
1818
// Output:
19-
// If success, the list of snapshopts and nil
19+
// If success, the list of snapshots and nil
2020
// Otherwise, nil and an error from the call to DescribeDBSnapshots
2121
func GetInstanceSnapShots(sess *session.Session) (*rds.DescribeDBSnapshotsOutput, error) {
2222
svc := rds.New(sess)

java/example_code/guardduty/src/main/java/aws/example/guardduty/ListDetectors.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static void main(String[] args) {
4747
}
4848
} catch (AmazonServiceException ase) {
4949
System.out.println("Caught Exception: " + ase.getMessage());
50-
System.out.println("Reponse Status Code: " + ase.getStatusCode());
50+
System.out.println("Response Status Code: " + ase.getStatusCode());
5151
System.out.println("Error Code: " + ase.getErrorCode());
5252
System.out.println("Request ID: " + ase.getRequestId());
5353
}

java/example_code/guardduty/src/main/java/aws/example/guardduty/ListFindingsWithFindingCriteria.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static void main(String[] args) {
6363
}
6464
} catch (AmazonServiceException ase) {
6565
System.out.println("Caught Exception: " + ase.getMessage());
66-
System.out.println("Reponse Status Code: " + ase.getStatusCode());
66+
System.out.println("Response Status Code: " + ase.getStatusCode());
6767
System.out.println("Error Code: " + ase.getErrorCode());
6868
System.out.println("Request ID: " + ase.getRequestId());
6969
}

java/example_code/lambda/src/main/java/com/example/lambda/DeleteFunction.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static void main(String[] args) {
5454
DeleteFunctionRequest delFunc = new DeleteFunctionRequest();
5555
delFunc.withFunctionName(functionName);
5656

57-
//Delete the functiom
57+
//Delete the function
5858
awsLambda.deleteFunction(delFunc);
5959
System.out.println("The function is deleted");
6060

java/example_code/pinpoint/src/main/java/com/example/pinpoint/ImportSegment.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static void main(String[] args) {
3939
"Usage: ImportSegment <appId> <bucket> <key> <roleArn> \n\n" +
4040
"Where:\n" +
4141
" appId - the ID the application to create a segment for.\n\n" +
42-
" bucket - name of the s3 bucket that contains the segment definitons.\n\n" +
42+
" bucket - name of the s3 bucket that contains the segment definitions.\n\n" +
4343
" key - key of the s3 object " +
4444
" roleArn - ARN of the role that allows pinpoint to access S3";
4545

java/example_code/redshift/CreateAndDescribeSnapshot.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ private static void printResultSnapshots(DescribeClusterSnapshotsResult result)
108108

109109
private static Boolean waitForSnapshotAvailable(String snapshotId) throws InterruptedException {
110110
Boolean snapshotAvailable = false;
111-
System.out.println("Wating for snapshot to become available.");
111+
System.out.println("Waiting for snapshot to become available.");
112112
while (!snapshotAvailable) {
113113
DescribeClusterSnapshotsResult result = client.describeClusterSnapshots(new DescribeClusterSnapshotsRequest()
114114
.withSnapshotIdentifier(snapshotId));
@@ -125,4 +125,4 @@ private static Boolean waitForSnapshotAvailable(String snapshotId) throws Interr
125125
}
126126

127127
}
128-
// snippet-end:[redshift.java.CreateAndDescribeSnapshot.complete]
128+
// snippet-end:[redshift.java.CreateAndDescribeSnapshot.complete]

java/example_code/redshift/CreateAndModifyCluster.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private static void printResult(DescribeClustersResult result)
105105

106106
private static void waitForClusterReady() throws InterruptedException {
107107
Boolean clusterReady = false;
108-
System.out.println("Wating for cluster to become available.");
108+
System.out.println("Waiting for cluster to become available.");
109109
while (!clusterReady) {
110110
DescribeClustersResult result = client.describeClusters(new DescribeClustersRequest()
111111
.withClusterIdentifier(clusterIdentifier));

javascript/example_code/cognito/cognito_getcreds.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<html>
3333
<head>
3434
<meta charset="UTF-8">
35-
<title>Amazon Cognito Credenials Example</title>
35+
<title>Amazon Cognito Credentials Example</title>
3636
<meta charset="utf-8">
3737
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.244.1.min.js"></script>
3838
</head>

javascript/example_code/ec2/ec2_describeregionsandzones.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* specific language governing permissions and limitations under the License.
1313
*/
1414

15-
//snippet-sourcedescription:[ec2_describeresionsandzones.js demonstrates how to retrieve information about Amazon EC2 regions and availability zones.]
15+
//snippet-sourcedescription:[ec2_describeregionsandzones.js demonstrates how to retrieve information about Amazon EC2 regions and availability zones.]
1616
//snippet-service:[ec2]
1717
//snippet-keyword:[JavaScript]
1818
//snippet-sourcesyntax:[javascript]

javascriptv3/example_code/cognito/getCredentials/src/cognito_getcreds.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<html>
1919
<head>
2020
<meta charset="UTF-8" />
21-
<title>Amazon Cognito credenials example</title>
21+
<title>Amazon Cognito credentials example</title>
2222
<meta charset="utf-8" />
2323
<script src="./main.ts"></script>
2424
<script>

javascriptv3/example_code/cognito/getCredentials/src/cognito_getcreds.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const {
3232
fromCognitoIdentityPool,
3333
} = require("@aws-sdk/credential-provider-cognito-identity");
3434

35-
// Set the paramerter
35+
// Set the parameter
3636
const IDENTITY_POOL_ID = "IDENTITY_POOL_ID";
3737
const ACCOUNT_ID = "ACCOUNT_ID";
3838

javascriptv3/example_code/ec2/src/ec2_describeregionsandzones.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ at https://github.com/aws/aws-sdk-js-v3. This example is in the 'AWS SDK for Jav
77
https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/ec2-example-security-groups.html
88
99
Purpose:
10-
ec2_describeresionsandzones.ts demonstrates how to retrieve information about Amazon EC2 regions and availability zones.
10+
ec2_describeregionsandzones.ts demonstrates how to retrieve information about Amazon EC2 regions and availability zones.
1111
1212
Inputs (replace in code):
1313
- REGION
1414
1515
Running the code:
16-
ts-node ec2_describeresionsandzones.ts
16+
ts-node ec2_describeregionsandzones.ts
1717
*/
1818
// snippet-start:[ec2.JavaScript.Regions.describeRegionsV3]
1919
// Import required AWS SDK clients and commands for Node.js

javascriptv3/example_code/glacier/src/uploadArchive.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SPDX-License-Identifier: Apache-2.0
44
ABOUT THIS NODE.JS EXAMPLE: This example works with AWS SDK for JavaScript version 3 (v3),
55
which is pending release. The preview version of the SDK is available
66
at https://github.com/aws/aws-sdk-js-v3. This example is in the 'AWS SDK for JavaScript v3 Developer Guide' at
7-
https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/glacier-example-uploadrchive.html.
7+
https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/glacier-example-uploadarchive.html.
88
99
Purpose:
1010
uploadArchive.js demonstrates how to upload an archive to Amazon S3 Glacier.

javascriptv3/example_code/iam/src/iam_updateuser.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ iam_updateuser.js demonstrates how to update the name of an IAM user.
1111
1212
Inputs :
1313
- REGION
14-
- ORIGINGAL_USER_NAME
14+
- ORIGINAL_USER_NAME
1515
- NEW_USER_NAME
1616
1717
Running the code:
@@ -27,7 +27,7 @@ const REGION = "REGION"; //e.g. "us-east-1"
2727

2828
// Set the parameters
2929
const params = {
30-
UserName: "ORIGINGAL_USER_NAME", //ORIGINGAL_USER_NAME
30+
UserName: "ORIGINAL_USER_NAME", //ORIGINAL_USER_NAME
3131
NewUserName: "NEW_USER_NAME", //NEW_USER_NAME
3232
};
3333

javascriptv3/example_code/kinesis/src/blog_page.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<!--
1717
snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.]
18-
snippet-sourcedescription:[blog_page.html contains the HTML for the scroll-progress exmaple]
18+
snippet-sourcedescription:[blog_page.html contains the HTML for the scroll-progress example]
1919
snippet-service:[kinesis]
2020
snippet-keyword:[HTML]
2121
snippet-keyword:[Amazon Kinesis]

javascriptv3/example_code/redshift/src/redshift-create-cluster.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const params = {
3939
ClusterIdentifier: "CLUSTER_NAME", // Required
4040
NodeType: "NODE_TYPE", //Required
4141
MasterUsername: "MASTER_USER_NAME", // Required - must be lowercase
42-
MasterUserPassword: "MASTER_USER_PASSWORD", // Required - must contain at least one uppercase leeter, and one number
42+
MasterUserPassword: "MASTER_USER_PASSWORD", // Required - must contain at least one uppercase letter, and one number
4343
ClusterType: "CLUSTER_TYPE", // Required
4444
IAMRoleARN: "IAM_ROLE_ARN", // Optional - the ARN of an IAM role with permissions your cluster needs to access other AWS services on your behalf, such as Amazon S3.
4545
ClusterSubnetGroupName: "CLUSTER_SUBNET_GROUPNAME", //Optional - the name of a cluster subnet group to be associated with this cluster. Defaults to 'default' if not specified.

javascriptv3/example_code/s3/src/s3_setbucketwebsite.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ which is pending release. The preview version of the SDK is available
55
at https://github.com/aws/aws-sdk-js-v3. This example is in the 'AWS SDK for JavaScript v3 Developer Guide' at
66
https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/s3-example-static-web-host.html.
77
Purpose:
8-
s3_setbucketwebsite.ts applies a bucket website configuration to a selected bucket, and is part of an exmample
8+
s3_setbucketwebsite.ts applies a bucket website configuration to a selected bucket, and is part of an example
99
of using an Amazon S3 bucket as a static web host.
1010
Inputs (replace in code):
1111
- INDEX_PAGE

0 commit comments

Comments
 (0)