|
1682 | 1682 | "aws.iam#conditionKeys": ["aws:RequestTag/${TagKey}", "aws:TagKeys"],
|
1683 | 1683 | "smithy.api#documentation": "<p>Creates a managed set of compute nodes. You associate a compute node group with a cluster through 1 or more Amazon Web Services PCS queues or as part of the login fleet. A compute node group includes the definition of the compute properties and lifecycle management. Amazon Web Services PCS uses the information you provide to this API action to launch compute nodes in your account. You can only specify subnets in the same Amazon VPC as your cluster. You receive billing charges for the compute nodes that Amazon Web Services PCS launches in your account. You must already have a launch template before you call this API. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html\">Launch an instance from a launch template</a> in the <i>Amazon Elastic Compute Cloud User Guide for Linux Instances</i>.</p>",
|
1684 | 1684 | "smithy.api#idempotent": {},
|
1685 |
| - "smithy.api#tags": ["ComputeNodeGroup"] |
| 1685 | + "smithy.api#tags": ["ComputeNodeGroup"], |
| 1686 | + "smithy.test#smokeTests": [ |
| 1687 | + { |
| 1688 | + "id": "InstanceArnSuccess", |
| 1689 | + "params": { |
| 1690 | + "clusterIdentifier": "testCluster", |
| 1691 | + "computeNodeGroupName": "testNodeGroupName", |
| 1692 | + "subnetIds": ["subnet-0cbf727bae9405b47"], |
| 1693 | + "scalingConfiguration": { |
| 1694 | + "minInstanceCount": 1, |
| 1695 | + "maxInstanceCount": 1 |
| 1696 | + }, |
| 1697 | + "iamInstanceProfileArn": "arn:aws:iam::975050141277:instance-profile/aws-pcs/example-role-2", |
| 1698 | + "customLaunchTemplate": { |
| 1699 | + "id": "lt-0b8f8ee3f92b73dc0", |
| 1700 | + "version": "1" |
| 1701 | + }, |
| 1702 | + "instanceConfigs": [ |
| 1703 | + { |
| 1704 | + "instanceType": "t3.medium" |
| 1705 | + } |
| 1706 | + ] |
| 1707 | + }, |
| 1708 | + "expect": { |
| 1709 | + "failure": { |
| 1710 | + "errorId": "com.amazonaws.pcs#AccessDeniedException" |
| 1711 | + } |
| 1712 | + }, |
| 1713 | + "vendorParamsShape": "aws.test#AwsVendorParams", |
| 1714 | + "vendorParams": { |
| 1715 | + "region": "us-east-1" |
| 1716 | + } |
| 1717 | + } |
| 1718 | + ] |
1686 | 1719 | }
|
1687 | 1720 | },
|
1688 | 1721 | "com.amazonaws.pcs#CreateComputeNodeGroupRequest": {
|
|
2460 | 2493 | "com.amazonaws.pcs#InstanceProfileArn": {
|
2461 | 2494 | "type": "string",
|
2462 | 2495 | "traits": {
|
2463 |
| - "smithy.api#pattern": "^arn:aws([a-zA-Z-]{0,10})?:iam::[0-9]{12}:instance-profile/[\\w+=,.@-]{1,128}$" |
| 2496 | + "smithy.api#pattern": "^arn:aws([a-zA-Z-]{0,10})?:iam::[0-9]{12}:instance-profile/[/\\w+=,.@-]{1,128}$" |
2464 | 2497 | }
|
2465 | 2498 | },
|
2466 | 2499 | "com.amazonaws.pcs#InternalServerException": {
|
|
0 commit comments