UNPKG

211 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {WaiterConfiguration} from '../lib/service';
6import {ServiceConfigurationOptions} from '../lib/service';
7import {ConfigBase as Config} from '../lib/config';
8interface Blob {}
9declare class OpsWorks extends Service {
10 /**
11 * Constructs a service object. This object has one method for each API operation.
12 */
13 constructor(options?: OpsWorks.Types.ClientConfiguration)
14 config: Config & OpsWorks.Types.ClientConfiguration;
15 /**
16 * Assign a registered instance to a layer. You can assign registered on-premises instances to any layer type. You can assign registered Amazon EC2 instances only to custom layers. You cannot use this action with instances that were created with AWS OpsWorks Stacks. Required Permissions: To use this action, an AWS Identity and Access Management (IAM) user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
17 */
18 assignInstance(params: OpsWorks.Types.AssignInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
19 /**
20 * Assign a registered instance to a layer. You can assign registered on-premises instances to any layer type. You can assign registered Amazon EC2 instances only to custom layers. You cannot use this action with instances that were created with AWS OpsWorks Stacks. Required Permissions: To use this action, an AWS Identity and Access Management (IAM) user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
21 */
22 assignInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
23 /**
24 * Assigns one of the stack's registered Amazon EBS volumes to a specified instance. The volume must first be registered with the stack by calling RegisterVolume. After you register the volume, you must call UpdateVolume to specify a mount point before calling AssignVolume. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
25 */
26 assignVolume(params: OpsWorks.Types.AssignVolumeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
27 /**
28 * Assigns one of the stack's registered Amazon EBS volumes to a specified instance. The volume must first be registered with the stack by calling RegisterVolume. After you register the volume, you must call UpdateVolume to specify a mount point before calling AssignVolume. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
29 */
30 assignVolume(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
31 /**
32 * Associates one of the stack's registered Elastic IP addresses with a specified instance. The address must first be registered with the stack by calling RegisterElasticIp. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
33 */
34 associateElasticIp(params: OpsWorks.Types.AssociateElasticIpRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
35 /**
36 * Associates one of the stack's registered Elastic IP addresses with a specified instance. The address must first be registered with the stack by calling RegisterElasticIp. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
37 */
38 associateElasticIp(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
39 /**
40 * Attaches an Elastic Load Balancing load balancer to a specified layer. AWS OpsWorks Stacks does not support Application Load Balancer. You can only use Classic Load Balancer with AWS OpsWorks Stacks. For more information, see Elastic Load Balancing. You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For more information, see Elastic Load Balancing Developer Guide. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
41 */
42 attachElasticLoadBalancer(params: OpsWorks.Types.AttachElasticLoadBalancerRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
43 /**
44 * Attaches an Elastic Load Balancing load balancer to a specified layer. AWS OpsWorks Stacks does not support Application Load Balancer. You can only use Classic Load Balancer with AWS OpsWorks Stacks. For more information, see Elastic Load Balancing. You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For more information, see Elastic Load Balancing Developer Guide. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
45 */
46 attachElasticLoadBalancer(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
47 /**
48 * Creates a clone of a specified stack. For more information, see Clone a Stack. By default, all parameters are set to the values used by the parent stack. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
49 */
50 cloneStack(params: OpsWorks.Types.CloneStackRequest, callback?: (err: AWSError, data: OpsWorks.Types.CloneStackResult) => void): Request<OpsWorks.Types.CloneStackResult, AWSError>;
51 /**
52 * Creates a clone of a specified stack. For more information, see Clone a Stack. By default, all parameters are set to the values used by the parent stack. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
53 */
54 cloneStack(callback?: (err: AWSError, data: OpsWorks.Types.CloneStackResult) => void): Request<OpsWorks.Types.CloneStackResult, AWSError>;
55 /**
56 * Creates an app for a specified stack. For more information, see Creating Apps. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
57 */
58 createApp(params: OpsWorks.Types.CreateAppRequest, callback?: (err: AWSError, data: OpsWorks.Types.CreateAppResult) => void): Request<OpsWorks.Types.CreateAppResult, AWSError>;
59 /**
60 * Creates an app for a specified stack. For more information, see Creating Apps. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
61 */
62 createApp(callback?: (err: AWSError, data: OpsWorks.Types.CreateAppResult) => void): Request<OpsWorks.Types.CreateAppResult, AWSError>;
63 /**
64 * Runs deployment or stack commands. For more information, see Deploying Apps and Run Stack Commands. Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
65 */
66 createDeployment(params: OpsWorks.Types.CreateDeploymentRequest, callback?: (err: AWSError, data: OpsWorks.Types.CreateDeploymentResult) => void): Request<OpsWorks.Types.CreateDeploymentResult, AWSError>;
67 /**
68 * Runs deployment or stack commands. For more information, see Deploying Apps and Run Stack Commands. Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
69 */
70 createDeployment(callback?: (err: AWSError, data: OpsWorks.Types.CreateDeploymentResult) => void): Request<OpsWorks.Types.CreateDeploymentResult, AWSError>;
71 /**
72 * Creates an instance in a specified stack. For more information, see Adding an Instance to a Layer. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
73 */
74 createInstance(params: OpsWorks.Types.CreateInstanceRequest, callback?: (err: AWSError, data: OpsWorks.Types.CreateInstanceResult) => void): Request<OpsWorks.Types.CreateInstanceResult, AWSError>;
75 /**
76 * Creates an instance in a specified stack. For more information, see Adding an Instance to a Layer. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
77 */
78 createInstance(callback?: (err: AWSError, data: OpsWorks.Types.CreateInstanceResult) => void): Request<OpsWorks.Types.CreateInstanceResult, AWSError>;
79 /**
80 * Creates a layer. For more information, see How to Create a Layer. You should use CreateLayer for noncustom layer types such as PHP App Server only if the stack does not have an existing layer of that type. A stack can have at most one instance of each noncustom layer; if you attempt to create a second instance, CreateLayer fails. A stack can have an arbitrary number of custom layers, so you can call CreateLayer as many times as you like for that layer type. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
81 */
82 createLayer(params: OpsWorks.Types.CreateLayerRequest, callback?: (err: AWSError, data: OpsWorks.Types.CreateLayerResult) => void): Request<OpsWorks.Types.CreateLayerResult, AWSError>;
83 /**
84 * Creates a layer. For more information, see How to Create a Layer. You should use CreateLayer for noncustom layer types such as PHP App Server only if the stack does not have an existing layer of that type. A stack can have at most one instance of each noncustom layer; if you attempt to create a second instance, CreateLayer fails. A stack can have an arbitrary number of custom layers, so you can call CreateLayer as many times as you like for that layer type. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
85 */
86 createLayer(callback?: (err: AWSError, data: OpsWorks.Types.CreateLayerResult) => void): Request<OpsWorks.Types.CreateLayerResult, AWSError>;
87 /**
88 * Creates a new stack. For more information, see Create a New Stack. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
89 */
90 createStack(params: OpsWorks.Types.CreateStackRequest, callback?: (err: AWSError, data: OpsWorks.Types.CreateStackResult) => void): Request<OpsWorks.Types.CreateStackResult, AWSError>;
91 /**
92 * Creates a new stack. For more information, see Create a New Stack. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
93 */
94 createStack(callback?: (err: AWSError, data: OpsWorks.Types.CreateStackResult) => void): Request<OpsWorks.Types.CreateStackResult, AWSError>;
95 /**
96 * Creates a new user profile. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
97 */
98 createUserProfile(params: OpsWorks.Types.CreateUserProfileRequest, callback?: (err: AWSError, data: OpsWorks.Types.CreateUserProfileResult) => void): Request<OpsWorks.Types.CreateUserProfileResult, AWSError>;
99 /**
100 * Creates a new user profile. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
101 */
102 createUserProfile(callback?: (err: AWSError, data: OpsWorks.Types.CreateUserProfileResult) => void): Request<OpsWorks.Types.CreateUserProfileResult, AWSError>;
103 /**
104 * Deletes a specified app. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
105 */
106 deleteApp(params: OpsWorks.Types.DeleteAppRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
107 /**
108 * Deletes a specified app. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
109 */
110 deleteApp(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
111 /**
112 * Deletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance before you can delete it. For more information, see Deleting Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
113 */
114 deleteInstance(params: OpsWorks.Types.DeleteInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
115 /**
116 * Deletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance before you can delete it. For more information, see Deleting Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
117 */
118 deleteInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
119 /**
120 * Deletes a specified layer. You must first stop and then delete all associated instances or unassign registered instances. For more information, see How to Delete a Layer. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
121 */
122 deleteLayer(params: OpsWorks.Types.DeleteLayerRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
123 /**
124 * Deletes a specified layer. You must first stop and then delete all associated instances or unassign registered instances. For more information, see How to Delete a Layer. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
125 */
126 deleteLayer(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
127 /**
128 * Deletes a specified stack. You must first delete all instances, layers, and apps or deregister registered instances. For more information, see Shut Down a Stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
129 */
130 deleteStack(params: OpsWorks.Types.DeleteStackRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
131 /**
132 * Deletes a specified stack. You must first delete all instances, layers, and apps or deregister registered instances. For more information, see Shut Down a Stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
133 */
134 deleteStack(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
135 /**
136 * Deletes a user profile. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
137 */
138 deleteUserProfile(params: OpsWorks.Types.DeleteUserProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
139 /**
140 * Deletes a user profile. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
141 */
142 deleteUserProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
143 /**
144 * Deregisters a specified Amazon ECS cluster from a stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html.
145 */
146 deregisterEcsCluster(params: OpsWorks.Types.DeregisterEcsClusterRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
147 /**
148 * Deregisters a specified Amazon ECS cluster from a stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html.
149 */
150 deregisterEcsCluster(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
151 /**
152 * Deregisters a specified Elastic IP address. The address can then be registered by another stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
153 */
154 deregisterElasticIp(params: OpsWorks.Types.DeregisterElasticIpRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
155 /**
156 * Deregisters a specified Elastic IP address. The address can then be registered by another stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
157 */
158 deregisterElasticIp(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
159 /**
160 * Deregister a registered Amazon EC2 or on-premises instance. This action removes the instance from the stack and returns it to your control. This action cannot be used with instances that were created with AWS OpsWorks Stacks. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
161 */
162 deregisterInstance(params: OpsWorks.Types.DeregisterInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
163 /**
164 * Deregister a registered Amazon EC2 or on-premises instance. This action removes the instance from the stack and returns it to your control. This action cannot be used with instances that were created with AWS OpsWorks Stacks. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
165 */
166 deregisterInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
167 /**
168 * Deregisters an Amazon RDS instance. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
169 */
170 deregisterRdsDbInstance(params: OpsWorks.Types.DeregisterRdsDbInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
171 /**
172 * Deregisters an Amazon RDS instance. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
173 */
174 deregisterRdsDbInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
175 /**
176 * Deregisters an Amazon EBS volume. The volume can then be registered by another stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
177 */
178 deregisterVolume(params: OpsWorks.Types.DeregisterVolumeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
179 /**
180 * Deregisters an Amazon EBS volume. The volume can then be registered by another stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
181 */
182 deregisterVolume(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
183 /**
184 * Describes the available AWS OpsWorks Stacks agent versions. You must specify a stack ID or a configuration manager. DescribeAgentVersions returns a list of available agent versions for the specified stack or configuration manager.
185 */
186 describeAgentVersions(params: OpsWorks.Types.DescribeAgentVersionsRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeAgentVersionsResult) => void): Request<OpsWorks.Types.DescribeAgentVersionsResult, AWSError>;
187 /**
188 * Describes the available AWS OpsWorks Stacks agent versions. You must specify a stack ID or a configuration manager. DescribeAgentVersions returns a list of available agent versions for the specified stack or configuration manager.
189 */
190 describeAgentVersions(callback?: (err: AWSError, data: OpsWorks.Types.DescribeAgentVersionsResult) => void): Request<OpsWorks.Types.DescribeAgentVersionsResult, AWSError>;
191 /**
192 * Requests a description of a specified set of apps. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
193 */
194 describeApps(params: OpsWorks.Types.DescribeAppsRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeAppsResult) => void): Request<OpsWorks.Types.DescribeAppsResult, AWSError>;
195 /**
196 * Requests a description of a specified set of apps. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
197 */
198 describeApps(callback?: (err: AWSError, data: OpsWorks.Types.DescribeAppsResult) => void): Request<OpsWorks.Types.DescribeAppsResult, AWSError>;
199 /**
200 * Describes the results of specified commands. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
201 */
202 describeCommands(params: OpsWorks.Types.DescribeCommandsRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeCommandsResult) => void): Request<OpsWorks.Types.DescribeCommandsResult, AWSError>;
203 /**
204 * Describes the results of specified commands. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
205 */
206 describeCommands(callback?: (err: AWSError, data: OpsWorks.Types.DescribeCommandsResult) => void): Request<OpsWorks.Types.DescribeCommandsResult, AWSError>;
207 /**
208 * Requests a description of a specified set of deployments. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
209 */
210 describeDeployments(params: OpsWorks.Types.DescribeDeploymentsRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeDeploymentsResult) => void): Request<OpsWorks.Types.DescribeDeploymentsResult, AWSError>;
211 /**
212 * Requests a description of a specified set of deployments. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
213 */
214 describeDeployments(callback?: (err: AWSError, data: OpsWorks.Types.DescribeDeploymentsResult) => void): Request<OpsWorks.Types.DescribeDeploymentsResult, AWSError>;
215 /**
216 * Describes Amazon ECS clusters that are registered with a stack. If you specify only a stack ID, you can use the MaxResults and NextToken parameters to paginate the response. However, AWS OpsWorks Stacks currently supports only one cluster per layer, so the result set has a maximum of one element. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permission. For more information about user permissions, see Managing User Permissions. This call accepts only one resource-identifying parameter.
217 */
218 describeEcsClusters(params: OpsWorks.Types.DescribeEcsClustersRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeEcsClustersResult) => void): Request<OpsWorks.Types.DescribeEcsClustersResult, AWSError>;
219 /**
220 * Describes Amazon ECS clusters that are registered with a stack. If you specify only a stack ID, you can use the MaxResults and NextToken parameters to paginate the response. However, AWS OpsWorks Stacks currently supports only one cluster per layer, so the result set has a maximum of one element. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permission. For more information about user permissions, see Managing User Permissions. This call accepts only one resource-identifying parameter.
221 */
222 describeEcsClusters(callback?: (err: AWSError, data: OpsWorks.Types.DescribeEcsClustersResult) => void): Request<OpsWorks.Types.DescribeEcsClustersResult, AWSError>;
223 /**
224 * Describes Elastic IP addresses. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
225 */
226 describeElasticIps(params: OpsWorks.Types.DescribeElasticIpsRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeElasticIpsResult) => void): Request<OpsWorks.Types.DescribeElasticIpsResult, AWSError>;
227 /**
228 * Describes Elastic IP addresses. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
229 */
230 describeElasticIps(callback?: (err: AWSError, data: OpsWorks.Types.DescribeElasticIpsResult) => void): Request<OpsWorks.Types.DescribeElasticIpsResult, AWSError>;
231 /**
232 * Describes a stack's Elastic Load Balancing instances. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
233 */
234 describeElasticLoadBalancers(params: OpsWorks.Types.DescribeElasticLoadBalancersRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeElasticLoadBalancersResult) => void): Request<OpsWorks.Types.DescribeElasticLoadBalancersResult, AWSError>;
235 /**
236 * Describes a stack's Elastic Load Balancing instances. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
237 */
238 describeElasticLoadBalancers(callback?: (err: AWSError, data: OpsWorks.Types.DescribeElasticLoadBalancersResult) => void): Request<OpsWorks.Types.DescribeElasticLoadBalancersResult, AWSError>;
239 /**
240 * Requests a description of a set of instances. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
241 */
242 describeInstances(params: OpsWorks.Types.DescribeInstancesRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request<OpsWorks.Types.DescribeInstancesResult, AWSError>;
243 /**
244 * Requests a description of a set of instances. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
245 */
246 describeInstances(callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request<OpsWorks.Types.DescribeInstancesResult, AWSError>;
247 /**
248 * Requests a description of one or more layers in a specified stack. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
249 */
250 describeLayers(params: OpsWorks.Types.DescribeLayersRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeLayersResult) => void): Request<OpsWorks.Types.DescribeLayersResult, AWSError>;
251 /**
252 * Requests a description of one or more layers in a specified stack. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
253 */
254 describeLayers(callback?: (err: AWSError, data: OpsWorks.Types.DescribeLayersResult) => void): Request<OpsWorks.Types.DescribeLayersResult, AWSError>;
255 /**
256 * Describes load-based auto scaling configurations for specified layers. You must specify at least one of the parameters. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
257 */
258 describeLoadBasedAutoScaling(params: OpsWorks.Types.DescribeLoadBasedAutoScalingRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeLoadBasedAutoScalingResult) => void): Request<OpsWorks.Types.DescribeLoadBasedAutoScalingResult, AWSError>;
259 /**
260 * Describes load-based auto scaling configurations for specified layers. You must specify at least one of the parameters. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
261 */
262 describeLoadBasedAutoScaling(callback?: (err: AWSError, data: OpsWorks.Types.DescribeLoadBasedAutoScalingResult) => void): Request<OpsWorks.Types.DescribeLoadBasedAutoScalingResult, AWSError>;
263 /**
264 * Describes a user's SSH information. Required Permissions: To use this action, an IAM user must have self-management enabled or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
265 */
266 describeMyUserProfile(callback?: (err: AWSError, data: OpsWorks.Types.DescribeMyUserProfileResult) => void): Request<OpsWorks.Types.DescribeMyUserProfileResult, AWSError>;
267 /**
268 * Describes the operating systems that are supported by AWS OpsWorks Stacks.
269 */
270 describeOperatingSystems(callback?: (err: AWSError, data: OpsWorks.Types.DescribeOperatingSystemsResponse) => void): Request<OpsWorks.Types.DescribeOperatingSystemsResponse, AWSError>;
271 /**
272 * Describes the permissions for a specified stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
273 */
274 describePermissions(params: OpsWorks.Types.DescribePermissionsRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribePermissionsResult) => void): Request<OpsWorks.Types.DescribePermissionsResult, AWSError>;
275 /**
276 * Describes the permissions for a specified stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
277 */
278 describePermissions(callback?: (err: AWSError, data: OpsWorks.Types.DescribePermissionsResult) => void): Request<OpsWorks.Types.DescribePermissionsResult, AWSError>;
279 /**
280 * Describe an instance's RAID arrays. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
281 */
282 describeRaidArrays(params: OpsWorks.Types.DescribeRaidArraysRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeRaidArraysResult) => void): Request<OpsWorks.Types.DescribeRaidArraysResult, AWSError>;
283 /**
284 * Describe an instance's RAID arrays. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
285 */
286 describeRaidArrays(callback?: (err: AWSError, data: OpsWorks.Types.DescribeRaidArraysResult) => void): Request<OpsWorks.Types.DescribeRaidArraysResult, AWSError>;
287 /**
288 * Describes Amazon RDS instances. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions. This call accepts only one resource-identifying parameter.
289 */
290 describeRdsDbInstances(params: OpsWorks.Types.DescribeRdsDbInstancesRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeRdsDbInstancesResult) => void): Request<OpsWorks.Types.DescribeRdsDbInstancesResult, AWSError>;
291 /**
292 * Describes Amazon RDS instances. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions. This call accepts only one resource-identifying parameter.
293 */
294 describeRdsDbInstances(callback?: (err: AWSError, data: OpsWorks.Types.DescribeRdsDbInstancesResult) => void): Request<OpsWorks.Types.DescribeRdsDbInstancesResult, AWSError>;
295 /**
296 * Describes AWS OpsWorks Stacks service errors. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions. This call accepts only one resource-identifying parameter.
297 */
298 describeServiceErrors(params: OpsWorks.Types.DescribeServiceErrorsRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeServiceErrorsResult) => void): Request<OpsWorks.Types.DescribeServiceErrorsResult, AWSError>;
299 /**
300 * Describes AWS OpsWorks Stacks service errors. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions. This call accepts only one resource-identifying parameter.
301 */
302 describeServiceErrors(callback?: (err: AWSError, data: OpsWorks.Types.DescribeServiceErrorsResult) => void): Request<OpsWorks.Types.DescribeServiceErrorsResult, AWSError>;
303 /**
304 * Requests a description of a stack's provisioning parameters. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
305 */
306 describeStackProvisioningParameters(params: OpsWorks.Types.DescribeStackProvisioningParametersRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeStackProvisioningParametersResult) => void): Request<OpsWorks.Types.DescribeStackProvisioningParametersResult, AWSError>;
307 /**
308 * Requests a description of a stack's provisioning parameters. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
309 */
310 describeStackProvisioningParameters(callback?: (err: AWSError, data: OpsWorks.Types.DescribeStackProvisioningParametersResult) => void): Request<OpsWorks.Types.DescribeStackProvisioningParametersResult, AWSError>;
311 /**
312 * Describes the number of layers and apps in a specified stack, and the number of instances in each state, such as running_setup or online. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
313 */
314 describeStackSummary(params: OpsWorks.Types.DescribeStackSummaryRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeStackSummaryResult) => void): Request<OpsWorks.Types.DescribeStackSummaryResult, AWSError>;
315 /**
316 * Describes the number of layers and apps in a specified stack, and the number of instances in each state, such as running_setup or online. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
317 */
318 describeStackSummary(callback?: (err: AWSError, data: OpsWorks.Types.DescribeStackSummaryResult) => void): Request<OpsWorks.Types.DescribeStackSummaryResult, AWSError>;
319 /**
320 * Requests a description of one or more stacks. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
321 */
322 describeStacks(params: OpsWorks.Types.DescribeStacksRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeStacksResult) => void): Request<OpsWorks.Types.DescribeStacksResult, AWSError>;
323 /**
324 * Requests a description of one or more stacks. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
325 */
326 describeStacks(callback?: (err: AWSError, data: OpsWorks.Types.DescribeStacksResult) => void): Request<OpsWorks.Types.DescribeStacksResult, AWSError>;
327 /**
328 * Describes time-based auto scaling configurations for specified instances. You must specify at least one of the parameters. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
329 */
330 describeTimeBasedAutoScaling(params: OpsWorks.Types.DescribeTimeBasedAutoScalingRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeTimeBasedAutoScalingResult) => void): Request<OpsWorks.Types.DescribeTimeBasedAutoScalingResult, AWSError>;
331 /**
332 * Describes time-based auto scaling configurations for specified instances. You must specify at least one of the parameters. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
333 */
334 describeTimeBasedAutoScaling(callback?: (err: AWSError, data: OpsWorks.Types.DescribeTimeBasedAutoScalingResult) => void): Request<OpsWorks.Types.DescribeTimeBasedAutoScalingResult, AWSError>;
335 /**
336 * Describe specified users. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
337 */
338 describeUserProfiles(params: OpsWorks.Types.DescribeUserProfilesRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeUserProfilesResult) => void): Request<OpsWorks.Types.DescribeUserProfilesResult, AWSError>;
339 /**
340 * Describe specified users. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
341 */
342 describeUserProfiles(callback?: (err: AWSError, data: OpsWorks.Types.DescribeUserProfilesResult) => void): Request<OpsWorks.Types.DescribeUserProfilesResult, AWSError>;
343 /**
344 * Describes an instance's Amazon EBS volumes. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
345 */
346 describeVolumes(params: OpsWorks.Types.DescribeVolumesRequest, callback?: (err: AWSError, data: OpsWorks.Types.DescribeVolumesResult) => void): Request<OpsWorks.Types.DescribeVolumesResult, AWSError>;
347 /**
348 * Describes an instance's Amazon EBS volumes. This call accepts only one resource-identifying parameter. Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
349 */
350 describeVolumes(callback?: (err: AWSError, data: OpsWorks.Types.DescribeVolumesResult) => void): Request<OpsWorks.Types.DescribeVolumesResult, AWSError>;
351 /**
352 * Detaches a specified Elastic Load Balancing instance from its layer. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
353 */
354 detachElasticLoadBalancer(params: OpsWorks.Types.DetachElasticLoadBalancerRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
355 /**
356 * Detaches a specified Elastic Load Balancing instance from its layer. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
357 */
358 detachElasticLoadBalancer(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
359 /**
360 * Disassociates an Elastic IP address from its instance. The address remains registered with the stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
361 */
362 disassociateElasticIp(params: OpsWorks.Types.DisassociateElasticIpRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
363 /**
364 * Disassociates an Elastic IP address from its instance. The address remains registered with the stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
365 */
366 disassociateElasticIp(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
367 /**
368 * Gets a generated host name for the specified layer, based on the current host name theme. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
369 */
370 getHostnameSuggestion(params: OpsWorks.Types.GetHostnameSuggestionRequest, callback?: (err: AWSError, data: OpsWorks.Types.GetHostnameSuggestionResult) => void): Request<OpsWorks.Types.GetHostnameSuggestionResult, AWSError>;
371 /**
372 * Gets a generated host name for the specified layer, based on the current host name theme. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
373 */
374 getHostnameSuggestion(callback?: (err: AWSError, data: OpsWorks.Types.GetHostnameSuggestionResult) => void): Request<OpsWorks.Types.GetHostnameSuggestionResult, AWSError>;
375 /**
376 * This action can be used only with Windows stacks. Grants RDP access to a Windows instance for a specified time period.
377 */
378 grantAccess(params: OpsWorks.Types.GrantAccessRequest, callback?: (err: AWSError, data: OpsWorks.Types.GrantAccessResult) => void): Request<OpsWorks.Types.GrantAccessResult, AWSError>;
379 /**
380 * This action can be used only with Windows stacks. Grants RDP access to a Windows instance for a specified time period.
381 */
382 grantAccess(callback?: (err: AWSError, data: OpsWorks.Types.GrantAccessResult) => void): Request<OpsWorks.Types.GrantAccessResult, AWSError>;
383 /**
384 * Returns a list of tags that are applied to the specified stack or layer.
385 */
386 listTags(params: OpsWorks.Types.ListTagsRequest, callback?: (err: AWSError, data: OpsWorks.Types.ListTagsResult) => void): Request<OpsWorks.Types.ListTagsResult, AWSError>;
387 /**
388 * Returns a list of tags that are applied to the specified stack or layer.
389 */
390 listTags(callback?: (err: AWSError, data: OpsWorks.Types.ListTagsResult) => void): Request<OpsWorks.Types.ListTagsResult, AWSError>;
391 /**
392 * Reboots a specified instance. For more information, see Starting, Stopping, and Rebooting Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
393 */
394 rebootInstance(params: OpsWorks.Types.RebootInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
395 /**
396 * Reboots a specified instance. For more information, see Starting, Stopping, and Rebooting Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
397 */
398 rebootInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
399 /**
400 * Registers a specified Amazon ECS cluster with a stack. You can register only one cluster with a stack. A cluster can be registered with only one stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
401 */
402 registerEcsCluster(params: OpsWorks.Types.RegisterEcsClusterRequest, callback?: (err: AWSError, data: OpsWorks.Types.RegisterEcsClusterResult) => void): Request<OpsWorks.Types.RegisterEcsClusterResult, AWSError>;
403 /**
404 * Registers a specified Amazon ECS cluster with a stack. You can register only one cluster with a stack. A cluster can be registered with only one stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
405 */
406 registerEcsCluster(callback?: (err: AWSError, data: OpsWorks.Types.RegisterEcsClusterResult) => void): Request<OpsWorks.Types.RegisterEcsClusterResult, AWSError>;
407 /**
408 * Registers an Elastic IP address with a specified stack. An address can be registered with only one stack at a time. If the address is already registered, you must first deregister it by calling DeregisterElasticIp. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
409 */
410 registerElasticIp(params: OpsWorks.Types.RegisterElasticIpRequest, callback?: (err: AWSError, data: OpsWorks.Types.RegisterElasticIpResult) => void): Request<OpsWorks.Types.RegisterElasticIpResult, AWSError>;
411 /**
412 * Registers an Elastic IP address with a specified stack. An address can be registered with only one stack at a time. If the address is already registered, you must first deregister it by calling DeregisterElasticIp. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
413 */
414 registerElasticIp(callback?: (err: AWSError, data: OpsWorks.Types.RegisterElasticIpResult) => void): Request<OpsWorks.Types.RegisterElasticIpResult, AWSError>;
415 /**
416 * Registers instances that were created outside of AWS OpsWorks Stacks with a specified stack. We do not recommend using this action to register instances. The complete registration operation includes two tasks: installing the AWS OpsWorks Stacks agent on the instance, and registering the instance with the stack. RegisterInstance handles only the second step. You should instead use the AWS CLI register command, which performs the entire registration operation. For more information, see Registering an Instance with an AWS OpsWorks Stacks Stack. Registered instances have the same requirements as instances that are created by using the CreateInstance API. For example, registered instances must be running a supported Linux-based operating system, and they must have a supported instance type. For more information about requirements for instances that you want to register, see Preparing the Instance. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
417 */
418 registerInstance(params: OpsWorks.Types.RegisterInstanceRequest, callback?: (err: AWSError, data: OpsWorks.Types.RegisterInstanceResult) => void): Request<OpsWorks.Types.RegisterInstanceResult, AWSError>;
419 /**
420 * Registers instances that were created outside of AWS OpsWorks Stacks with a specified stack. We do not recommend using this action to register instances. The complete registration operation includes two tasks: installing the AWS OpsWorks Stacks agent on the instance, and registering the instance with the stack. RegisterInstance handles only the second step. You should instead use the AWS CLI register command, which performs the entire registration operation. For more information, see Registering an Instance with an AWS OpsWorks Stacks Stack. Registered instances have the same requirements as instances that are created by using the CreateInstance API. For example, registered instances must be running a supported Linux-based operating system, and they must have a supported instance type. For more information about requirements for instances that you want to register, see Preparing the Instance. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
421 */
422 registerInstance(callback?: (err: AWSError, data: OpsWorks.Types.RegisterInstanceResult) => void): Request<OpsWorks.Types.RegisterInstanceResult, AWSError>;
423 /**
424 * Registers an Amazon RDS instance with a stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
425 */
426 registerRdsDbInstance(params: OpsWorks.Types.RegisterRdsDbInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
427 /**
428 * Registers an Amazon RDS instance with a stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
429 */
430 registerRdsDbInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
431 /**
432 * Registers an Amazon EBS volume with a specified stack. A volume can be registered with only one stack at a time. If the volume is already registered, you must first deregister it by calling DeregisterVolume. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
433 */
434 registerVolume(params: OpsWorks.Types.RegisterVolumeRequest, callback?: (err: AWSError, data: OpsWorks.Types.RegisterVolumeResult) => void): Request<OpsWorks.Types.RegisterVolumeResult, AWSError>;
435 /**
436 * Registers an Amazon EBS volume with a specified stack. A volume can be registered with only one stack at a time. If the volume is already registered, you must first deregister it by calling DeregisterVolume. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
437 */
438 registerVolume(callback?: (err: AWSError, data: OpsWorks.Types.RegisterVolumeResult) => void): Request<OpsWorks.Types.RegisterVolumeResult, AWSError>;
439 /**
440 * Specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances. To use load-based auto scaling, you must create a set of load-based auto scaling instances. Load-based auto scaling operates only on the instances from that set, so you must ensure that you have created enough instances to handle the maximum anticipated load. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
441 */
442 setLoadBasedAutoScaling(params: OpsWorks.Types.SetLoadBasedAutoScalingRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
443 /**
444 * Specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances. To use load-based auto scaling, you must create a set of load-based auto scaling instances. Load-based auto scaling operates only on the instances from that set, so you must ensure that you have created enough instances to handle the maximum anticipated load. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
445 */
446 setLoadBasedAutoScaling(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
447 /**
448 * Specifies a user's permissions. For more information, see Security and Permissions. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
449 */
450 setPermission(params: OpsWorks.Types.SetPermissionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
451 /**
452 * Specifies a user's permissions. For more information, see Security and Permissions. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
453 */
454 setPermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
455 /**
456 * Specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-based Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
457 */
458 setTimeBasedAutoScaling(params: OpsWorks.Types.SetTimeBasedAutoScalingRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
459 /**
460 * Specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-based Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
461 */
462 setTimeBasedAutoScaling(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
463 /**
464 * Starts a specified instance. For more information, see Starting, Stopping, and Rebooting Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
465 */
466 startInstance(params: OpsWorks.Types.StartInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
467 /**
468 * Starts a specified instance. For more information, see Starting, Stopping, and Rebooting Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
469 */
470 startInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
471 /**
472 * Starts a stack's instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
473 */
474 startStack(params: OpsWorks.Types.StartStackRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
475 /**
476 * Starts a stack's instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
477 */
478 startStack(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
479 /**
480 * Stops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed instance without losing data. For more information, see Starting, Stopping, and Rebooting Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
481 */
482 stopInstance(params: OpsWorks.Types.StopInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
483 /**
484 * Stops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed instance without losing data. For more information, see Starting, Stopping, and Rebooting Instances. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
485 */
486 stopInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
487 /**
488 * Stops a specified stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
489 */
490 stopStack(params: OpsWorks.Types.StopStackRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
491 /**
492 * Stops a specified stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
493 */
494 stopStack(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
495 /**
496 * Apply cost-allocation tags to a specified stack or layer in AWS OpsWorks Stacks. For more information about how tagging works, see Tags in the AWS OpsWorks User Guide.
497 */
498 tagResource(params: OpsWorks.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
499 /**
500 * Apply cost-allocation tags to a specified stack or layer in AWS OpsWorks Stacks. For more information about how tagging works, see Tags in the AWS OpsWorks User Guide.
501 */
502 tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
503 /**
504 * Unassigns a registered instance from all layers that are using the instance. The instance remains in the stack as an unassigned instance, and can be assigned to another layer as needed. You cannot use this action with instances that were created with AWS OpsWorks Stacks. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
505 */
506 unassignInstance(params: OpsWorks.Types.UnassignInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
507 /**
508 * Unassigns a registered instance from all layers that are using the instance. The instance remains in the stack as an unassigned instance, and can be assigned to another layer as needed. You cannot use this action with instances that were created with AWS OpsWorks Stacks. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
509 */
510 unassignInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
511 /**
512 * Unassigns an assigned Amazon EBS volume. The volume remains registered with the stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
513 */
514 unassignVolume(params: OpsWorks.Types.UnassignVolumeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
515 /**
516 * Unassigns an assigned Amazon EBS volume. The volume remains registered with the stack. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
517 */
518 unassignVolume(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
519 /**
520 * Removes tags from a specified stack or layer.
521 */
522 untagResource(params: OpsWorks.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
523 /**
524 * Removes tags from a specified stack or layer.
525 */
526 untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
527 /**
528 * Updates a specified app. Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
529 */
530 updateApp(params: OpsWorks.Types.UpdateAppRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
531 /**
532 * Updates a specified app. Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
533 */
534 updateApp(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
535 /**
536 * Updates a registered Elastic IP address's name. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
537 */
538 updateElasticIp(params: OpsWorks.Types.UpdateElasticIpRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
539 /**
540 * Updates a registered Elastic IP address's name. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
541 */
542 updateElasticIp(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
543 /**
544 * Updates a specified instance. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
545 */
546 updateInstance(params: OpsWorks.Types.UpdateInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
547 /**
548 * Updates a specified instance. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
549 */
550 updateInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
551 /**
552 * Updates a specified layer. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
553 */
554 updateLayer(params: OpsWorks.Types.UpdateLayerRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
555 /**
556 * Updates a specified layer. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
557 */
558 updateLayer(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
559 /**
560 * Updates a user's SSH public key. Required Permissions: To use this action, an IAM user must have self-management enabled or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
561 */
562 updateMyUserProfile(params: OpsWorks.Types.UpdateMyUserProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
563 /**
564 * Updates a user's SSH public key. Required Permissions: To use this action, an IAM user must have self-management enabled or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
565 */
566 updateMyUserProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
567 /**
568 * Updates an Amazon RDS instance. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
569 */
570 updateRdsDbInstance(params: OpsWorks.Types.UpdateRdsDbInstanceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
571 /**
572 * Updates an Amazon RDS instance. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
573 */
574 updateRdsDbInstance(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
575 /**
576 * Updates a specified stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
577 */
578 updateStack(params: OpsWorks.Types.UpdateStackRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
579 /**
580 * Updates a specified stack. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
581 */
582 updateStack(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
583 /**
584 * Updates a specified user profile. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
585 */
586 updateUserProfile(params: OpsWorks.Types.UpdateUserProfileRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
587 /**
588 * Updates a specified user profile. Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
589 */
590 updateUserProfile(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
591 /**
592 * Updates an Amazon EBS volume's name or mount point. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
593 */
594 updateVolume(params: OpsWorks.Types.UpdateVolumeRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
595 /**
596 * Updates an Amazon EBS volume's name or mount point. For more information, see Resource Management. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
597 */
598 updateVolume(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
599 /**
600 * Waits for the appExists state by periodically calling the underlying OpsWorks.describeAppsoperation every 1 seconds (at most 40 times).
601 */
602 waitFor(state: "appExists", params: OpsWorks.Types.DescribeAppsRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: OpsWorks.Types.DescribeAppsResult) => void): Request<OpsWorks.Types.DescribeAppsResult, AWSError>;
603 /**
604 * Waits for the appExists state by periodically calling the underlying OpsWorks.describeAppsoperation every 1 seconds (at most 40 times).
605 */
606 waitFor(state: "appExists", callback?: (err: AWSError, data: OpsWorks.Types.DescribeAppsResult) => void): Request<OpsWorks.Types.DescribeAppsResult, AWSError>;
607 /**
608 * Waits for the deploymentSuccessful state by periodically calling the underlying OpsWorks.describeDeploymentsoperation every 15 seconds (at most 40 times). Wait until a deployment has completed successfully.
609 */
610 waitFor(state: "deploymentSuccessful", params: OpsWorks.Types.DescribeDeploymentsRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: OpsWorks.Types.DescribeDeploymentsResult) => void): Request<OpsWorks.Types.DescribeDeploymentsResult, AWSError>;
611 /**
612 * Waits for the deploymentSuccessful state by periodically calling the underlying OpsWorks.describeDeploymentsoperation every 15 seconds (at most 40 times). Wait until a deployment has completed successfully.
613 */
614 waitFor(state: "deploymentSuccessful", callback?: (err: AWSError, data: OpsWorks.Types.DescribeDeploymentsResult) => void): Request<OpsWorks.Types.DescribeDeploymentsResult, AWSError>;
615 /**
616 * Waits for the instanceOnline state by periodically calling the underlying OpsWorks.describeInstancesoperation every 15 seconds (at most 40 times). Wait until OpsWorks instance is online.
617 */
618 waitFor(state: "instanceOnline", params: OpsWorks.Types.DescribeInstancesRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request<OpsWorks.Types.DescribeInstancesResult, AWSError>;
619 /**
620 * Waits for the instanceOnline state by periodically calling the underlying OpsWorks.describeInstancesoperation every 15 seconds (at most 40 times). Wait until OpsWorks instance is online.
621 */
622 waitFor(state: "instanceOnline", callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request<OpsWorks.Types.DescribeInstancesResult, AWSError>;
623 /**
624 * Waits for the instanceRegistered state by periodically calling the underlying OpsWorks.describeInstancesoperation every 15 seconds (at most 40 times). Wait until OpsWorks instance is registered.
625 */
626 waitFor(state: "instanceRegistered", params: OpsWorks.Types.DescribeInstancesRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request<OpsWorks.Types.DescribeInstancesResult, AWSError>;
627 /**
628 * Waits for the instanceRegistered state by periodically calling the underlying OpsWorks.describeInstancesoperation every 15 seconds (at most 40 times). Wait until OpsWorks instance is registered.
629 */
630 waitFor(state: "instanceRegistered", callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request<OpsWorks.Types.DescribeInstancesResult, AWSError>;
631 /**
632 * Waits for the instanceStopped state by periodically calling the underlying OpsWorks.describeInstancesoperation every 15 seconds (at most 40 times). Wait until OpsWorks instance is stopped.
633 */
634 waitFor(state: "instanceStopped", params: OpsWorks.Types.DescribeInstancesRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request<OpsWorks.Types.DescribeInstancesResult, AWSError>;
635 /**
636 * Waits for the instanceStopped state by periodically calling the underlying OpsWorks.describeInstancesoperation every 15 seconds (at most 40 times). Wait until OpsWorks instance is stopped.
637 */
638 waitFor(state: "instanceStopped", callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request<OpsWorks.Types.DescribeInstancesResult, AWSError>;
639 /**
640 * Waits for the instanceTerminated state by periodically calling the underlying OpsWorks.describeInstancesoperation every 15 seconds (at most 40 times). Wait until OpsWorks instance is terminated.
641 */
642 waitFor(state: "instanceTerminated", params: OpsWorks.Types.DescribeInstancesRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request<OpsWorks.Types.DescribeInstancesResult, AWSError>;
643 /**
644 * Waits for the instanceTerminated state by periodically calling the underlying OpsWorks.describeInstancesoperation every 15 seconds (at most 40 times). Wait until OpsWorks instance is terminated.
645 */
646 waitFor(state: "instanceTerminated", callback?: (err: AWSError, data: OpsWorks.Types.DescribeInstancesResult) => void): Request<OpsWorks.Types.DescribeInstancesResult, AWSError>;
647}
648declare namespace OpsWorks {
649 export interface AgentVersion {
650 /**
651 * The agent version.
652 */
653 Version?: String;
654 /**
655 * The configuration manager.
656 */
657 ConfigurationManager?: StackConfigurationManager;
658 }
659 export type AgentVersions = AgentVersion[];
660 export interface App {
661 /**
662 * The app ID.
663 */
664 AppId?: String;
665 /**
666 * The app stack ID.
667 */
668 StackId?: String;
669 /**
670 * The app's short name.
671 */
672 Shortname?: String;
673 /**
674 * The app name.
675 */
676 Name?: String;
677 /**
678 * A description of the app.
679 */
680 Description?: String;
681 /**
682 * The app's data sources.
683 */
684 DataSources?: DataSources;
685 /**
686 * The app type.
687 */
688 Type?: AppType;
689 /**
690 * A Source object that describes the app repository.
691 */
692 AppSource?: Source;
693 /**
694 * The app vhost settings with multiple domains separated by commas. For example: 'www.example.com, example.com'
695 */
696 Domains?: Strings;
697 /**
698 * Whether to enable SSL for the app.
699 */
700 EnableSsl?: Boolean;
701 /**
702 * An SslConfiguration object with the SSL configuration.
703 */
704 SslConfiguration?: SslConfiguration;
705 /**
706 * The stack attributes.
707 */
708 Attributes?: AppAttributes;
709 /**
710 * When the app was created.
711 */
712 CreatedAt?: String;
713 /**
714 * An array of EnvironmentVariable objects that specify environment variables to be associated with the app. After you deploy the app, these variables are defined on the associated app server instances. For more information, see Environment Variables. There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variable names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 20 KB)" message.
715 */
716 Environment?: EnvironmentVariables;
717 }
718 export type AppAttributes = {[key: string]: String};
719 export type AppAttributesKeys = "DocumentRoot"|"RailsEnv"|"AutoBundleOnDeploy"|"AwsFlowRubySettings"|string;
720 export type AppType = "aws-flow-ruby"|"java"|"rails"|"php"|"nodejs"|"static"|"other"|string;
721 export type Apps = App[];
722 export type Architecture = "x86_64"|"i386"|string;
723 export interface AssignInstanceRequest {
724 /**
725 * The instance ID.
726 */
727 InstanceId: String;
728 /**
729 * The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a built-in layer.
730 */
731 LayerIds: Strings;
732 }
733 export interface AssignVolumeRequest {
734 /**
735 * The volume ID.
736 */
737 VolumeId: String;
738 /**
739 * The instance ID.
740 */
741 InstanceId?: String;
742 }
743 export interface AssociateElasticIpRequest {
744 /**
745 * The Elastic IP address.
746 */
747 ElasticIp: String;
748 /**
749 * The instance ID.
750 */
751 InstanceId?: String;
752 }
753 export interface AttachElasticLoadBalancerRequest {
754 /**
755 * The Elastic Load Balancing instance's name.
756 */
757 ElasticLoadBalancerName: String;
758 /**
759 * The ID of the layer to which the Elastic Load Balancing instance is to be attached.
760 */
761 LayerId: String;
762 }
763 export interface AutoScalingThresholds {
764 /**
765 * The number of instances to add or remove when the load exceeds a threshold.
766 */
767 InstanceCount?: Integer;
768 /**
769 * The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.
770 */
771 ThresholdsWaitTime?: Minute;
772 /**
773 * The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events. For example, AWS OpsWorks Stacks adds new instances following an upscaling event but the instances won't start reducing the load until they have been booted and configured. There is no point in raising additional scaling events during that operation, which typically takes several minutes. IgnoreMetricsTime allows you to direct AWS OpsWorks Stacks to suppress scaling events long enough to get the new instances online.
774 */
775 IgnoreMetricsTime?: Minute;
776 /**
777 * The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.
778 */
779 CpuThreshold?: Double;
780 /**
781 * The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.
782 */
783 MemoryThreshold?: Double;
784 /**
785 * The load threshold. A value of -1 disables the threshold. For more information about how load is computed, see Load (computing).
786 */
787 LoadThreshold?: Double;
788 /**
789 * Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack. To use custom alarms, you must update your service role to allow cloudwatch:DescribeAlarms. You can either have AWS OpsWorks Stacks update the role for you when you first use this feature or you can edit the role manually. For more information, see Allowing AWS OpsWorks Stacks to Act on Your Behalf.
790 */
791 Alarms?: Strings;
792 }
793 export type AutoScalingType = "load"|"timer"|string;
794 export interface BlockDeviceMapping {
795 /**
796 * The device name that is exposed to the instance, such as /dev/sdh. For the root device, you can use the explicit device name or you can set this parameter to ROOT_DEVICE and AWS OpsWorks Stacks will provide the correct device name.
797 */
798 DeviceName?: String;
799 /**
800 * Suppresses the specified device included in the AMI's block device mapping.
801 */
802 NoDevice?: String;
803 /**
804 * The virtual device name. For more information, see BlockDeviceMapping.
805 */
806 VirtualName?: String;
807 /**
808 * An EBSBlockDevice that defines how to configure an Amazon EBS volume when the instance is launched.
809 */
810 Ebs?: EbsBlockDevice;
811 }
812 export type BlockDeviceMappings = BlockDeviceMapping[];
813 export type Boolean = boolean;
814 export interface ChefConfiguration {
815 /**
816 * Whether to enable Berkshelf.
817 */
818 ManageBerkshelf?: Boolean;
819 /**
820 * The Berkshelf version.
821 */
822 BerkshelfVersion?: String;
823 }
824 export interface CloneStackRequest {
825 /**
826 * The source stack ID.
827 */
828 SourceStackId: String;
829 /**
830 * The cloned stack name.
831 */
832 Name?: String;
833 /**
834 * The cloned stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints.
835 */
836 Region?: String;
837 /**
838 * The ID of the VPC that the cloned stack is to be launched into. It must be in the specified region. All instances are launched into this VPC, and you cannot change the ID later. If your account supports EC2 Classic, the default value is no VPC. If your account does not support EC2 Classic, the default value is the default VPC for the specified region. If the VPC ID corresponds to a default VPC and you have specified either the DefaultAvailabilityZone or the DefaultSubnetId parameter only, AWS OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, AWS OpsWorks Stacks sets these parameters to the first valid Availability Zone for the specified region and the corresponding default VPC subnet ID, respectively. If you specify a nondefault VPC ID, note the following: It must belong to a VPC in your account that is in the specified region. You must specify a value for DefaultSubnetId. For more information about how to use AWS OpsWorks Stacks with a VPC, see Running a Stack in a VPC. For more information about default VPC and EC2 Classic, see Supported Platforms.
839 */
840 VpcId?: String;
841 /**
842 * A list of stack attributes and values as key/value pairs to be added to the cloned stack.
843 */
844 Attributes?: StackAttributes;
845 /**
846 * The stack AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks Stacks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you create a stack by using the AWS OpsWorks Stacks console, it creates the role for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. For more information about IAM ARNs, see Using Identifiers. You must set this parameter to a valid service role ARN or the action will fail; there is no default value. You can specify the source stack's service role ARN, if you prefer, but you must do so explicitly.
847 */
848 ServiceRoleArn: String;
849 /**
850 * The Amazon Resource Name (ARN) of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
851 */
852 DefaultInstanceProfileArn?: String;
853 /**
854 * The stack's operating system, which must be set to one of the following. A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03. A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS. CentOS Linux 7 Red Hat Enterprise Linux 7 Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web. A custom AMI: Custom. You specify the custom AMI you want to use when you create instances. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs. The default option is the parent stack's operating system. For more information about supported operating systems, see AWS OpsWorks Stacks Operating Systems. You can specify a different Linux operating system for the cloned stack, but you cannot change from Linux to Windows or Windows to Linux.
855 */
856 DefaultOs?: String;
857 /**
858 * The stack's host name theme, with spaces are replaced by underscores. The theme is used to generate host names for the stack's instances. By default, HostnameTheme is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are: Baked_Goods Clouds Europe_Cities Fruits Greek_Deities_and_Titans Legendary_creatures_from_Japan Planets_and_Moons Roman_Deities Scottish_Islands US_Cities Wild_Cats To obtain a generated host name, call GetHostNameSuggestion, which returns a host name based on the current theme.
859 */
860 HostnameTheme?: String;
861 /**
862 * The cloned stack's default Availability Zone, which must be in the specified region. For more information, see Regions and Endpoints. If you also specify a value for DefaultSubnetId, the subnet must be in the same zone. For more information, see the VpcId parameter description.
863 */
864 DefaultAvailabilityZone?: String;
865 /**
866 * The stack's default VPC subnet ID. This parameter is required if you specify a value for the VpcId parameter. All instances are launched into this subnet unless you specify otherwise when you create the instance. If you also specify a value for DefaultAvailabilityZone, the subnet must be in that zone. For information on default values and when this parameter is required, see the VpcId parameter description.
867 */
868 DefaultSubnetId?: String;
869 /**
870 * A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format: "{\"key1\": \"value1\", \"key2\": \"value2\",...}" For more information about custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes
871 */
872 CustomJson?: String;
873 /**
874 * The configuration manager. When you clone a stack we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 12.
875 */
876 ConfigurationManager?: StackConfigurationManager;
877 /**
878 * A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version on Chef 11.10 stacks. For more information, see Create a New Stack.
879 */
880 ChefConfiguration?: ChefConfiguration;
881 /**
882 * Whether to use custom cookbooks.
883 */
884 UseCustomCookbooks?: Boolean;
885 /**
886 * Whether to associate the AWS OpsWorks Stacks built-in security groups with the stack's layers. AWS OpsWorks Stacks provides a standard set of built-in security groups, one for each layer, which are associated with layers by default. With UseOpsworksSecurityGroups you can instead provide your own custom security groups. UseOpsworksSecurityGroups has the following settings: True - AWS OpsWorks Stacks automatically associates the appropriate built-in security group with each layer (default setting). You can associate additional security groups with a layer after you create it but you cannot delete the built-in security group. False - AWS OpsWorks Stacks does not associate built-in security groups with layers. You must create appropriate Amazon Elastic Compute Cloud (Amazon EC2) security groups and associate a security group with each layer that you create. However, you can still manually associate a built-in security group with a layer on creation; custom security groups are required only for those layers that need custom settings. For more information, see Create a New Stack.
887 */
888 UseOpsworksSecurityGroups?: Boolean;
889 /**
890 * Contains the information required to retrieve an app or cookbook from a repository. For more information, see Adding Apps or Cookbooks and Recipes.
891 */
892 CustomCookbooksSource?: Source;
893 /**
894 * A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, AWS OpsWorks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see Using SSH to Communicate with an Instance and Managing SSH Access. You can override this setting by specifying a different key pair, or no key pair, when you create an instance.
895 */
896 DefaultSshKeyName?: String;
897 /**
898 * Whether to clone the source stack's permissions.
899 */
900 ClonePermissions?: Boolean;
901 /**
902 * A list of source stack app IDs to be included in the cloned stack.
903 */
904 CloneAppIds?: Strings;
905 /**
906 * The default root device type. This value is used by default for all instances in the cloned stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
907 */
908 DefaultRootDeviceType?: RootDeviceType;
909 /**
910 * The default AWS OpsWorks Stacks agent version. You have the following options: Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available. Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the stack's instances. The default setting is LATEST. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions. AgentVersion cannot be set to Chef 12.2. You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.
911 */
912 AgentVersion?: String;
913 }
914 export interface CloneStackResult {
915 /**
916 * The cloned stack ID.
917 */
918 StackId?: String;
919 }
920 export interface CloudWatchLogsConfiguration {
921 /**
922 * Whether CloudWatch Logs is enabled for a layer.
923 */
924 Enabled?: Boolean;
925 /**
926 * A list of configuration options for CloudWatch Logs.
927 */
928 LogStreams?: CloudWatchLogsLogStreams;
929 }
930 export type CloudWatchLogsEncoding = "ascii"|"big5"|"big5hkscs"|"cp037"|"cp424"|"cp437"|"cp500"|"cp720"|"cp737"|"cp775"|"cp850"|"cp852"|"cp855"|"cp856"|"cp857"|"cp858"|"cp860"|"cp861"|"cp862"|"cp863"|"cp864"|"cp865"|"cp866"|"cp869"|"cp874"|"cp875"|"cp932"|"cp949"|"cp950"|"cp1006"|"cp1026"|"cp1140"|"cp1250"|"cp1251"|"cp1252"|"cp1253"|"cp1254"|"cp1255"|"cp1256"|"cp1257"|"cp1258"|"euc_jp"|"euc_jis_2004"|"euc_jisx0213"|"euc_kr"|"gb2312"|"gbk"|"gb18030"|"hz"|"iso2022_jp"|"iso2022_jp_1"|"iso2022_jp_2"|"iso2022_jp_2004"|"iso2022_jp_3"|"iso2022_jp_ext"|"iso2022_kr"|"latin_1"|"iso8859_2"|"iso8859_3"|"iso8859_4"|"iso8859_5"|"iso8859_6"|"iso8859_7"|"iso8859_8"|"iso8859_9"|"iso8859_10"|"iso8859_13"|"iso8859_14"|"iso8859_15"|"iso8859_16"|"johab"|"koi8_r"|"koi8_u"|"mac_cyrillic"|"mac_greek"|"mac_iceland"|"mac_latin2"|"mac_roman"|"mac_turkish"|"ptcp154"|"shift_jis"|"shift_jis_2004"|"shift_jisx0213"|"utf_32"|"utf_32_be"|"utf_32_le"|"utf_16"|"utf_16_be"|"utf_16_le"|"utf_7"|"utf_8"|"utf_8_sig"|string;
931 export type CloudWatchLogsInitialPosition = "start_of_file"|"end_of_file"|string;
932 export interface CloudWatchLogsLogStream {
933 /**
934 * Specifies the destination log group. A log group is created automatically if it doesn't already exist. Log group names can be between 1 and 512 characters long. Allowed characters include a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period).
935 */
936 LogGroupName?: String;
937 /**
938 * Specifies how the time stamp is extracted from logs. For more information, see the CloudWatch Logs Agent Reference.
939 */
940 DatetimeFormat?: String;
941 /**
942 * Specifies the time zone of log event time stamps.
943 */
944 TimeZone?: CloudWatchLogsTimeZone;
945 /**
946 * Specifies log files that you want to push to CloudWatch Logs. File can point to a specific file or multiple files (by using wild card characters such as /var/log/system.log*). Only the latest file is pushed to CloudWatch Logs, based on file modification time. We recommend that you use wild card characters to specify a series of files of the same type, such as access_log.2014-06-01-01, access_log.2014-06-01-02, and so on by using a pattern like access_log.*. Don't use a wildcard to match multiple file types, such as access_log_80 and access_log_443. To specify multiple, different file types, add another log stream entry to the configuration file, so that each log file type is stored in a different log group. Zipped files are not supported.
947 */
948 File?: String;
949 /**
950 * Specifies the range of lines for identifying a file. The valid values are one number, or two dash-delimited numbers, such as '1', '2-5'. The default value is '1', meaning the first line is used to calculate the fingerprint. Fingerprint lines are not sent to CloudWatch Logs unless all specified lines are available.
951 */
952 FileFingerprintLines?: String;
953 /**
954 * Specifies the pattern for identifying the start of a log message.
955 */
956 MultiLineStartPattern?: String;
957 /**
958 * Specifies where to start to read data (start_of_file or end_of_file). The default is start_of_file. This setting is only used if there is no state persisted for that log stream.
959 */
960 InitialPosition?: CloudWatchLogsInitialPosition;
961 /**
962 * Specifies the encoding of the log file so that the file can be read correctly. The default is utf_8. Encodings supported by Python codecs.decode() can be used here.
963 */
964 Encoding?: CloudWatchLogsEncoding;
965 /**
966 * Specifies the time duration for the batching of log events. The minimum value is 5000ms and default value is 5000ms.
967 */
968 BufferDuration?: Integer;
969 /**
970 * Specifies the max number of log events in a batch, up to 10000. The default value is 1000.
971 */
972 BatchCount?: Integer;
973 /**
974 * Specifies the maximum size of log events in a batch, in bytes, up to 1048576 bytes. The default value is 32768 bytes. This size is calculated as the sum of all event messages in UTF-8, plus 26 bytes for each log event.
975 */
976 BatchSize?: Integer;
977 }
978 export type CloudWatchLogsLogStreams = CloudWatchLogsLogStream[];
979 export type CloudWatchLogsTimeZone = "LOCAL"|"UTC"|string;
980 export interface Command {
981 /**
982 * The command ID.
983 */
984 CommandId?: String;
985 /**
986 * The ID of the instance where the command was executed.
987 */
988 InstanceId?: String;
989 /**
990 * The command deployment ID.
991 */
992 DeploymentId?: String;
993 /**
994 * Date and time when the command was run.
995 */
996 CreatedAt?: DateTime;
997 /**
998 * Date and time when the command was acknowledged.
999 */
1000 AcknowledgedAt?: DateTime;
1001 /**
1002 * Date when the command completed.
1003 */
1004 CompletedAt?: DateTime;
1005 /**
1006 * The command status: failed successful skipped pending
1007 */
1008 Status?: String;
1009 /**
1010 * The command exit code.
1011 */
1012 ExitCode?: Integer;
1013 /**
1014 * The URL of the command log.
1015 */
1016 LogUrl?: String;
1017 /**
1018 * The command type: configure deploy execute_recipes install_dependencies restart rollback setup start stop undeploy update_custom_cookbooks update_dependencies
1019 */
1020 Type?: String;
1021 }
1022 export type Commands = Command[];
1023 export interface CreateAppRequest {
1024 /**
1025 * The stack ID.
1026 */
1027 StackId: String;
1028 /**
1029 * The app's short name.
1030 */
1031 Shortname?: String;
1032 /**
1033 * The app name.
1034 */
1035 Name: String;
1036 /**
1037 * A description of the app.
1038 */
1039 Description?: String;
1040 /**
1041 * The app's data source.
1042 */
1043 DataSources?: DataSources;
1044 /**
1045 * The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. AWS OpsWorks Stacks deploys an application to those instances that are members of the corresponding layer. If your app isn't one of the standard types, or you prefer to implement your own Deploy recipes, specify other.
1046 */
1047 Type: AppType;
1048 /**
1049 * A Source object that specifies the app repository.
1050 */
1051 AppSource?: Source;
1052 /**
1053 * The app virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'
1054 */
1055 Domains?: Strings;
1056 /**
1057 * Whether to enable SSL for the app.
1058 */
1059 EnableSsl?: Boolean;
1060 /**
1061 * An SslConfiguration object with the SSL configuration.
1062 */
1063 SslConfiguration?: SslConfiguration;
1064 /**
1065 * One or more user-defined key/value pairs to be added to the stack attributes.
1066 */
1067 Attributes?: AppAttributes;
1068 /**
1069 * An array of EnvironmentVariable objects that specify environment variables to be associated with the app. After you deploy the app, these variables are defined on the associated app server instance. For more information, see Environment Variables. There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variables' names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 20KB)." If you have specified one or more environment variables, you cannot modify the stack's Chef version.
1070 */
1071 Environment?: EnvironmentVariables;
1072 }
1073 export interface CreateAppResult {
1074 /**
1075 * The app ID.
1076 */
1077 AppId?: String;
1078 }
1079 export interface CreateDeploymentRequest {
1080 /**
1081 * The stack ID.
1082 */
1083 StackId: String;
1084 /**
1085 * The app ID. This parameter is required for app deployments, but not for other deployment commands.
1086 */
1087 AppId?: String;
1088 /**
1089 * The instance IDs for the deployment targets.
1090 */
1091 InstanceIds?: Strings;
1092 /**
1093 * The layer IDs for the deployment targets.
1094 */
1095 LayerIds?: Strings;
1096 /**
1097 * A DeploymentCommand object that specifies the deployment command and any associated arguments.
1098 */
1099 Command: DeploymentCommand;
1100 /**
1101 * A user-defined comment.
1102 */
1103 Comment?: String;
1104 /**
1105 * A string that contains user-defined, custom JSON. You can use this parameter to override some corresponding default stack configuration JSON values. The string should be in the following format: "{\"key1\": \"value1\", \"key2\": \"value2\",...}" For more information about custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes and Overriding Attributes With Custom JSON.
1106 */
1107 CustomJson?: String;
1108 }
1109 export interface CreateDeploymentResult {
1110 /**
1111 * The deployment ID, which can be used with other requests to identify the deployment.
1112 */
1113 DeploymentId?: String;
1114 }
1115 export interface CreateInstanceRequest {
1116 /**
1117 * The stack ID.
1118 */
1119 StackId: String;
1120 /**
1121 * An array that contains the instance's layer IDs.
1122 */
1123 LayerIds: Strings;
1124 /**
1125 * The instance type, such as t2.micro. For a list of supported instance types, open the stack in the console, choose Instances, and choose + Instance. The Size list contains the currently supported types. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.
1126 */
1127 InstanceType: String;
1128 /**
1129 * For load-based or time-based instances, the type. Windows stacks can use only time-based instances.
1130 */
1131 AutoScalingType?: AutoScalingType;
1132 /**
1133 * The instance host name.
1134 */
1135 Hostname?: String;
1136 /**
1137 * The instance's operating system, which must be set to one of the following. A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03. A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS. CentOS Linux 7 Red Hat Enterprise Linux 7 A supported Windows operating system, such as Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web. A custom AMI: Custom. For more information about the supported operating systems, see AWS OpsWorks Stacks Operating Systems. The default option is the current Amazon Linux version. If you set this parameter to Custom, you must use the CreateInstance action's AmiId parameter to specify the custom AMI that you want to use. Block device mappings are not supported if the value is Custom. For more information about supported operating systems, see Operating SystemsFor more information about how to use custom AMIs with AWS OpsWorks Stacks, see Using Custom AMIs.
1138 */
1139 Os?: String;
1140 /**
1141 * A custom AMI ID to be used to create the instance. The AMI should be based on one of the supported operating systems. For more information, see Using Custom AMIs. If you specify a custom AMI, you must set Os to Custom.
1142 */
1143 AmiId?: String;
1144 /**
1145 * The instance's Amazon EC2 key-pair name.
1146 */
1147 SshKeyName?: String;
1148 /**
1149 * The instance Availability Zone. For more information, see Regions and Endpoints.
1150 */
1151 AvailabilityZone?: String;
1152 /**
1153 * The instance's virtualization type, paravirtual or hvm.
1154 */
1155 VirtualizationType?: String;
1156 /**
1157 * The ID of the instance's subnet. If the stack is running in a VPC, you can use this parameter to override the stack's default subnet ID value and direct AWS OpsWorks Stacks to launch the instance in a different subnet.
1158 */
1159 SubnetId?: String;
1160 /**
1161 * The instance architecture. The default option is x86_64. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.
1162 */
1163 Architecture?: Architecture;
1164 /**
1165 * The instance root device type. For more information, see Storage for the Root Device.
1166 */
1167 RootDeviceType?: RootDeviceType;
1168 /**
1169 * An array of BlockDeviceMapping objects that specify the instance's block devices. For more information, see Block Device Mapping. Note that block device mappings are not supported for custom AMIs.
1170 */
1171 BlockDeviceMappings?: BlockDeviceMappings;
1172 /**
1173 * Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or by manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true to ensure that your instances have the latest security updates.
1174 */
1175 InstallUpdatesOnBoot?: Boolean;
1176 /**
1177 * Whether to create an Amazon EBS-optimized instance.
1178 */
1179 EbsOptimized?: Boolean;
1180 /**
1181 * The default AWS OpsWorks Stacks agent version. You have the following options: INHERIT - Use the stack's default agent version setting. version_number - Use the specified agent version. This value overrides the stack's default setting. To update the agent version, edit the instance configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the instance. The default setting is INHERIT. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions. AgentVersion cannot be set to Chef 12.2.
1182 */
1183 AgentVersion?: String;
1184 /**
1185 * The instance's tenancy option. The default option is no tenancy, or if the instance is running in a VPC, inherit tenancy settings from the VPC. The following are valid values for this parameter: dedicated, default, or host. Because there are costs associated with changes in tenancy options, we recommend that you research tenancy options before choosing them for your instances. For more information about dedicated hosts, see Dedicated Hosts Overview and Amazon EC2 Dedicated Hosts. For more information about dedicated instances, see Dedicated Instances and Amazon EC2 Dedicated Instances.
1186 */
1187 Tenancy?: String;
1188 }
1189 export interface CreateInstanceResult {
1190 /**
1191 * The instance ID.
1192 */
1193 InstanceId?: String;
1194 }
1195 export interface CreateLayerRequest {
1196 /**
1197 * The layer stack ID.
1198 */
1199 StackId: String;
1200 /**
1201 * The layer type. A stack cannot have more than one built-in layer of the same type. It can have any number of custom layers. Built-in layers are not available in Chef 12 stacks.
1202 */
1203 Type: LayerType;
1204 /**
1205 * The layer name, which is used by the console.
1206 */
1207 Name: String;
1208 /**
1209 * For custom layers only, use this parameter to specify the layer's short name, which is used internally by AWS OpsWorks Stacks and by Chef recipes. The short name is also used as the name for the directory where your app files are installed. It can have a maximum of 200 characters, which are limited to the alphanumeric characters, '-', '_', and '.'. The built-in layers' short names are defined by AWS OpsWorks Stacks. For more information, see the Layer Reference.
1210 */
1211 Shortname: String;
1212 /**
1213 * One or more user-defined key-value pairs to be added to the stack attributes. To create a cluster layer, set the EcsClusterArn attribute to the cluster's ARN.
1214 */
1215 Attributes?: LayerAttributes;
1216 /**
1217 * Specifies CloudWatch Logs configuration options for the layer. For more information, see CloudWatchLogsLogStream.
1218 */
1219 CloudWatchLogsConfiguration?: CloudWatchLogsConfiguration;
1220 /**
1221 * The ARN of an IAM profile to be used for the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
1222 */
1223 CustomInstanceProfileArn?: String;
1224 /**
1225 * A JSON-formatted string containing custom stack configuration and deployment attributes to be installed on the layer's instances. For more information, see Using Custom JSON. This feature is supported as of version 1.7.42 of the AWS CLI.
1226 */
1227 CustomJson?: String;
1228 /**
1229 * An array containing the layer custom security group IDs.
1230 */
1231 CustomSecurityGroupIds?: Strings;
1232 /**
1233 * An array of Package objects that describes the layer packages.
1234 */
1235 Packages?: Strings;
1236 /**
1237 * A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
1238 */
1239 VolumeConfigurations?: VolumeConfigurations;
1240 /**
1241 * Whether to disable auto healing for the layer.
1242 */
1243 EnableAutoHealing?: Boolean;
1244 /**
1245 * Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.
1246 */
1247 AutoAssignElasticIps?: Boolean;
1248 /**
1249 * For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see How to Edit a Layer.
1250 */
1251 AutoAssignPublicIps?: Boolean;
1252 /**
1253 * A LayerCustomRecipes object that specifies the layer custom recipes.
1254 */
1255 CustomRecipes?: Recipes;
1256 /**
1257 * Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or by manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. To ensure that your instances have the latest security updates, we strongly recommend using the default value of true.
1258 */
1259 InstallUpdatesOnBoot?: Boolean;
1260 /**
1261 * Whether to use Amazon EBS-optimized instances.
1262 */
1263 UseEbsOptimizedInstances?: Boolean;
1264 /**
1265 * A LifeCycleEventConfiguration object that you can use to configure the Shutdown event to specify an execution timeout and enable or disable Elastic Load Balancer connection draining.
1266 */
1267 LifecycleEventConfiguration?: LifecycleEventConfiguration;
1268 }
1269 export interface CreateLayerResult {
1270 /**
1271 * The layer ID.
1272 */
1273 LayerId?: String;
1274 }
1275 export interface CreateStackRequest {
1276 /**
1277 * The stack name.
1278 */
1279 Name: String;
1280 /**
1281 * The stack's AWS region, such as ap-south-1. For more information about Amazon regions, see Regions and Endpoints. In the AWS CLI, this API maps to the --stack-region parameter. If the --stack-region parameter and the AWS CLI common parameter --region are set to the same value, the stack uses a regional endpoint. If the --stack-region parameter is not set, but the AWS CLI --region parameter is, this also results in a stack with a regional endpoint. However, if the --region parameter is set to us-east-1, and the --stack-region parameter is set to one of the following, then the stack uses a legacy or classic region: us-west-1, us-west-2, sa-east-1, eu-central-1, eu-west-1, ap-northeast-1, ap-southeast-1, ap-southeast-2. In this case, the actual API endpoint of the stack is in us-east-1. Only the preceding regions are supported as classic regions in the us-east-1 API endpoint. Because it is a best practice to choose the regional endpoint that is closest to where you manage AWS, we recommend that you use regional endpoints for new stacks. The AWS CLI common --region parameter always specifies a regional API endpoint; it cannot be used to specify a classic AWS OpsWorks Stacks region.
1282 */
1283 Region: String;
1284 /**
1285 * The ID of the VPC that the stack is to be launched into. The VPC must be in the stack's region. All instances are launched into this VPC. You cannot change the ID later. If your account supports EC2-Classic, the default value is no VPC. If your account does not support EC2-Classic, the default value is the default VPC for the specified region. If the VPC ID corresponds to a default VPC and you have specified either the DefaultAvailabilityZone or the DefaultSubnetId parameter only, AWS OpsWorks Stacks infers the value of the other parameter. If you specify neither parameter, AWS OpsWorks Stacks sets these parameters to the first valid Availability Zone for the specified region and the corresponding default VPC subnet ID, respectively. If you specify a nondefault VPC ID, note the following: It must belong to a VPC in your account that is in the specified region. You must specify a value for DefaultSubnetId. For more information about how to use AWS OpsWorks Stacks with a VPC, see Running a Stack in a VPC. For more information about default VPC and EC2-Classic, see Supported Platforms.
1286 */
1287 VpcId?: String;
1288 /**
1289 * One or more user-defined key-value pairs to be added to the stack attributes.
1290 */
1291 Attributes?: StackAttributes;
1292 /**
1293 * The stack's AWS Identity and Access Management (IAM) role, which allows AWS OpsWorks Stacks to work with AWS resources on your behalf. You must set this parameter to the Amazon Resource Name (ARN) for an existing IAM role. For more information about IAM ARNs, see Using Identifiers.
1294 */
1295 ServiceRoleArn: String;
1296 /**
1297 * The Amazon Resource Name (ARN) of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
1298 */
1299 DefaultInstanceProfileArn: String;
1300 /**
1301 * The stack's default operating system, which is installed on every instance unless you specify a different operating system when you create the instance. You can specify one of the following. A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03. A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS. CentOS Linux 7 Red Hat Enterprise Linux 7 A supported Windows operating system, such as Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web. A custom AMI: Custom. You specify the custom AMI you want to use when you create instances. For more information, see Using Custom AMIs. The default option is the current Amazon Linux version. For more information about supported operating systems, see AWS OpsWorks Stacks Operating Systems.
1302 */
1303 DefaultOs?: String;
1304 /**
1305 * The stack's host name theme, with spaces replaced by underscores. The theme is used to generate host names for the stack's instances. By default, HostnameTheme is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are: Baked_Goods Clouds Europe_Cities Fruits Greek_Deities_and_Titans Legendary_creatures_from_Japan Planets_and_Moons Roman_Deities Scottish_Islands US_Cities Wild_Cats To obtain a generated host name, call GetHostNameSuggestion, which returns a host name based on the current theme.
1306 */
1307 HostnameTheme?: String;
1308 /**
1309 * The stack's default Availability Zone, which must be in the specified region. For more information, see Regions and Endpoints. If you also specify a value for DefaultSubnetId, the subnet must be in the same zone. For more information, see the VpcId parameter description.
1310 */
1311 DefaultAvailabilityZone?: String;
1312 /**
1313 * The stack's default VPC subnet ID. This parameter is required if you specify a value for the VpcId parameter. All instances are launched into this subnet unless you specify otherwise when you create the instance. If you also specify a value for DefaultAvailabilityZone, the subnet must be in that zone. For information on default values and when this parameter is required, see the VpcId parameter description.
1314 */
1315 DefaultSubnetId?: String;
1316 /**
1317 * A string that contains user-defined, custom JSON. It can be used to override the corresponding default stack configuration attribute values or to pass data to recipes. The string should be in the following format: "{\"key1\": \"value1\", \"key2\": \"value2\",...}" For more information about custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
1318 */
1319 CustomJson?: String;
1320 /**
1321 * The configuration manager. When you create a stack we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 12.
1322 */
1323 ConfigurationManager?: StackConfigurationManager;
1324 /**
1325 * A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version on Chef 11.10 stacks. For more information, see Create a New Stack.
1326 */
1327 ChefConfiguration?: ChefConfiguration;
1328 /**
1329 * Whether the stack uses custom cookbooks.
1330 */
1331 UseCustomCookbooks?: Boolean;
1332 /**
1333 * Whether to associate the AWS OpsWorks Stacks built-in security groups with the stack's layers. AWS OpsWorks Stacks provides a standard set of built-in security groups, one for each layer, which are associated with layers by default. With UseOpsworksSecurityGroups you can instead provide your own custom security groups. UseOpsworksSecurityGroups has the following settings: True - AWS OpsWorks Stacks automatically associates the appropriate built-in security group with each layer (default setting). You can associate additional security groups with a layer after you create it, but you cannot delete the built-in security group. False - AWS OpsWorks Stacks does not associate built-in security groups with layers. You must create appropriate EC2 security groups and associate a security group with each layer that you create. However, you can still manually associate a built-in security group with a layer on creation; custom security groups are required only for those layers that need custom settings. For more information, see Create a New Stack.
1334 */
1335 UseOpsworksSecurityGroups?: Boolean;
1336 /**
1337 * Contains the information required to retrieve an app or cookbook from a repository. For more information, see Adding Apps or Cookbooks and Recipes.
1338 */
1339 CustomCookbooksSource?: Source;
1340 /**
1341 * A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, AWS OpsWorks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see Using SSH to Communicate with an Instance and Managing SSH Access. You can override this setting by specifying a different key pair, or no key pair, when you create an instance.
1342 */
1343 DefaultSshKeyName?: String;
1344 /**
1345 * The default root device type. This value is the default for all instances in the stack, but you can override it when you create an instance. The default option is instance-store. For more information, see Storage for the Root Device.
1346 */
1347 DefaultRootDeviceType?: RootDeviceType;
1348 /**
1349 * The default AWS OpsWorks Stacks agent version. You have the following options: Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available. Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the stack's instances. The default setting is the most recent release of the agent. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions. AgentVersion cannot be set to Chef 12.2. You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.
1350 */
1351 AgentVersion?: String;
1352 }
1353 export interface CreateStackResult {
1354 /**
1355 * The stack ID, which is an opaque string that you use to identify the stack when performing actions such as DescribeStacks.
1356 */
1357 StackId?: String;
1358 }
1359 export interface CreateUserProfileRequest {
1360 /**
1361 * The user's IAM ARN; this can also be a federated user's ARN.
1362 */
1363 IamUserArn: String;
1364 /**
1365 * The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks Stacks removes them. For example, my.name will be changed to myname. If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from the IAM user name.
1366 */
1367 SshUsername?: String;
1368 /**
1369 * The user's public SSH key.
1370 */
1371 SshPublicKey?: String;
1372 /**
1373 * Whether users can specify their own SSH public key through the My Settings page. For more information, see Setting an IAM User's Public SSH Key.
1374 */
1375 AllowSelfManagement?: Boolean;
1376 }
1377 export interface CreateUserProfileResult {
1378 /**
1379 * The user's IAM ARN.
1380 */
1381 IamUserArn?: String;
1382 }
1383 export type DailyAutoScalingSchedule = {[key: string]: Switch};
1384 export interface DataSource {
1385 /**
1386 * The data source's type, AutoSelectOpsworksMysqlInstance, OpsworksMysqlInstance, RdsDbInstance, or None.
1387 */
1388 Type?: String;
1389 /**
1390 * The data source's ARN.
1391 */
1392 Arn?: String;
1393 /**
1394 * The database name.
1395 */
1396 DatabaseName?: String;
1397 }
1398 export type DataSources = DataSource[];
1399 export type DateTime = string;
1400 export interface DeleteAppRequest {
1401 /**
1402 * The app ID.
1403 */
1404 AppId: String;
1405 }
1406 export interface DeleteInstanceRequest {
1407 /**
1408 * The instance ID.
1409 */
1410 InstanceId: String;
1411 /**
1412 * Whether to delete the instance Elastic IP address.
1413 */
1414 DeleteElasticIp?: Boolean;
1415 /**
1416 * Whether to delete the instance's Amazon EBS volumes.
1417 */
1418 DeleteVolumes?: Boolean;
1419 }
1420 export interface DeleteLayerRequest {
1421 /**
1422 * The layer ID.
1423 */
1424 LayerId: String;
1425 }
1426 export interface DeleteStackRequest {
1427 /**
1428 * The stack ID.
1429 */
1430 StackId: String;
1431 }
1432 export interface DeleteUserProfileRequest {
1433 /**
1434 * The user's IAM ARN. This can also be a federated user's ARN.
1435 */
1436 IamUserArn: String;
1437 }
1438 export interface Deployment {
1439 /**
1440 * The deployment ID.
1441 */
1442 DeploymentId?: String;
1443 /**
1444 * The stack ID.
1445 */
1446 StackId?: String;
1447 /**
1448 * The app ID.
1449 */
1450 AppId?: String;
1451 /**
1452 * Date when the deployment was created.
1453 */
1454 CreatedAt?: DateTime;
1455 /**
1456 * Date when the deployment completed.
1457 */
1458 CompletedAt?: DateTime;
1459 /**
1460 * The deployment duration.
1461 */
1462 Duration?: Integer;
1463 /**
1464 * The user's IAM ARN.
1465 */
1466 IamUserArn?: String;
1467 /**
1468 * A user-defined comment.
1469 */
1470 Comment?: String;
1471 /**
1472 * Used to specify a stack or deployment command.
1473 */
1474 Command?: DeploymentCommand;
1475 /**
1476 * The deployment status: running successful failed
1477 */
1478 Status?: String;
1479 /**
1480 * A string that contains user-defined custom JSON. It can be used to override the corresponding default stack configuration attribute values for stack or to pass data to recipes. The string should be in the following format: "{\"key1\": \"value1\", \"key2\": \"value2\",...}" For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
1481 */
1482 CustomJson?: String;
1483 /**
1484 * The IDs of the target instances.
1485 */
1486 InstanceIds?: Strings;
1487 }
1488 export interface DeploymentCommand {
1489 /**
1490 * Specifies the operation. You can specify only one command. For stacks, the following commands are available: execute_recipes: Execute one or more recipes. To specify the recipes, set an Args parameter named recipes to the list of recipes to be executed. For example, to execute phpapp::appsetup, set Args to {"recipes":["phpapp::appsetup"]}. install_dependencies: Install the stack's dependencies. update_custom_cookbooks: Update the stack's custom cookbooks. update_dependencies: Update the stack's dependencies. The update_dependencies and install_dependencies commands are supported only for Linux instances. You can run the commands successfully on Windows instances, but they do nothing. For apps, the following commands are available: deploy: Deploy an app. Ruby on Rails apps have an optional Args parameter named migrate. Set Args to {"migrate":["true"]} to migrate the database. The default setting is {"migrate":["false"]}. rollback Roll the app back to the previous version. When you update an app, AWS OpsWorks Stacks stores the previous version, up to a maximum of five versions. You can use this command to roll an app back as many as four versions. start: Start the app's web or application server. stop: Stop the app's web or application server. restart: Restart the app's web or application server. undeploy: Undeploy the app.
1491 */
1492 Name: DeploymentCommandName;
1493 /**
1494 * The arguments of those commands that take arguments. It should be set to a JSON object with the following format: {"arg_name1" : ["value1", "value2", ...], "arg_name2" : ["value1", "value2", ...], ...} The update_dependencies command takes two arguments: upgrade_os_to - Specifies the desired Amazon Linux version for instances whose OS you want to upgrade, such as Amazon Linux 2016.09. You must also set the allow_reboot argument to true. allow_reboot - Specifies whether to allow AWS OpsWorks Stacks to reboot the instances if necessary, after installing the updates. This argument can be set to either true or false. The default value is false. For example, to upgrade an instance to Amazon Linux 2016.09, set Args to the following. { "upgrade_os_to":["Amazon Linux 2016.09"], "allow_reboot":["true"] }
1495 */
1496 Args?: DeploymentCommandArgs;
1497 }
1498 export type DeploymentCommandArgs = {[key: string]: Strings};
1499 export type DeploymentCommandName = "install_dependencies"|"update_dependencies"|"update_custom_cookbooks"|"execute_recipes"|"configure"|"setup"|"deploy"|"rollback"|"start"|"stop"|"restart"|"undeploy"|string;
1500 export type Deployments = Deployment[];
1501 export interface DeregisterEcsClusterRequest {
1502 /**
1503 * The cluster's Amazon Resource Number (ARN).
1504 */
1505 EcsClusterArn: String;
1506 }
1507 export interface DeregisterElasticIpRequest {
1508 /**
1509 * The Elastic IP address.
1510 */
1511 ElasticIp: String;
1512 }
1513 export interface DeregisterInstanceRequest {
1514 /**
1515 * The instance ID.
1516 */
1517 InstanceId: String;
1518 }
1519 export interface DeregisterRdsDbInstanceRequest {
1520 /**
1521 * The Amazon RDS instance's ARN.
1522 */
1523 RdsDbInstanceArn: String;
1524 }
1525 export interface DeregisterVolumeRequest {
1526 /**
1527 * The AWS OpsWorks Stacks volume ID, which is the GUID that AWS OpsWorks Stacks assigned to the instance when you registered the volume with the stack, not the Amazon EC2 volume ID.
1528 */
1529 VolumeId: String;
1530 }
1531 export interface DescribeAgentVersionsRequest {
1532 /**
1533 * The stack ID.
1534 */
1535 StackId?: String;
1536 /**
1537 * The configuration manager.
1538 */
1539 ConfigurationManager?: StackConfigurationManager;
1540 }
1541 export interface DescribeAgentVersionsResult {
1542 /**
1543 * The agent versions for the specified stack or configuration manager. Note that this value is the complete version number, not the abbreviated number used by the console.
1544 */
1545 AgentVersions?: AgentVersions;
1546 }
1547 export interface DescribeAppsRequest {
1548 /**
1549 * The app stack ID. If you use this parameter, DescribeApps returns a description of the apps in the specified stack.
1550 */
1551 StackId?: String;
1552 /**
1553 * An array of app IDs for the apps to be described. If you use this parameter, DescribeApps returns a description of the specified apps. Otherwise, it returns a description of every app.
1554 */
1555 AppIds?: Strings;
1556 }
1557 export interface DescribeAppsResult {
1558 /**
1559 * An array of App objects that describe the specified apps.
1560 */
1561 Apps?: Apps;
1562 }
1563 export interface DescribeCommandsRequest {
1564 /**
1565 * The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.
1566 */
1567 DeploymentId?: String;
1568 /**
1569 * The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.
1570 */
1571 InstanceId?: String;
1572 /**
1573 * An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
1574 */
1575 CommandIds?: Strings;
1576 }
1577 export interface DescribeCommandsResult {
1578 /**
1579 * An array of Command objects that describe each of the specified commands.
1580 */
1581 Commands?: Commands;
1582 }
1583 export interface DescribeDeploymentsRequest {
1584 /**
1585 * The stack ID. If you include this parameter, the command returns a description of the commands associated with the specified stack.
1586 */
1587 StackId?: String;
1588 /**
1589 * The app ID. If you include this parameter, the command returns a description of the commands associated with the specified app.
1590 */
1591 AppId?: String;
1592 /**
1593 * An array of deployment IDs to be described. If you include this parameter, the command returns a description of the specified deployments. Otherwise, it returns a description of every deployment.
1594 */
1595 DeploymentIds?: Strings;
1596 }
1597 export interface DescribeDeploymentsResult {
1598 /**
1599 * An array of Deployment objects that describe the deployments.
1600 */
1601 Deployments?: Deployments;
1602 }
1603 export interface DescribeEcsClustersRequest {
1604 /**
1605 * A list of ARNs, one for each cluster to be described.
1606 */
1607 EcsClusterArns?: Strings;
1608 /**
1609 * A stack ID. DescribeEcsClusters returns a description of the cluster that is registered with the stack.
1610 */
1611 StackId?: String;
1612 /**
1613 * If the previous paginated request did not return all of the remaining results, the response object'sNextToken parameter value is set to a token. To retrieve the next set of results, call DescribeEcsClusters again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
1614 */
1615 NextToken?: String;
1616 /**
1617 * To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.
1618 */
1619 MaxResults?: Integer;
1620 }
1621 export interface DescribeEcsClustersResult {
1622 /**
1623 * A list of EcsCluster objects containing the cluster descriptions.
1624 */
1625 EcsClusters?: EcsClusters;
1626 /**
1627 * If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object's NextToken parameter to retrieve the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set to null.
1628 */
1629 NextToken?: String;
1630 }
1631 export interface DescribeElasticIpsRequest {
1632 /**
1633 * The instance ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses associated with the specified instance.
1634 */
1635 InstanceId?: String;
1636 /**
1637 * A stack ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses that are registered with the specified stack.
1638 */
1639 StackId?: String;
1640 /**
1641 * An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.
1642 */
1643 Ips?: Strings;
1644 }
1645 export interface DescribeElasticIpsResult {
1646 /**
1647 * An ElasticIps object that describes the specified Elastic IP addresses.
1648 */
1649 ElasticIps?: ElasticIps;
1650 }
1651 export interface DescribeElasticLoadBalancersRequest {
1652 /**
1653 * A stack ID. The action describes the stack's Elastic Load Balancing instances.
1654 */
1655 StackId?: String;
1656 /**
1657 * A list of layer IDs. The action describes the Elastic Load Balancing instances for the specified layers.
1658 */
1659 LayerIds?: Strings;
1660 }
1661 export interface DescribeElasticLoadBalancersResult {
1662 /**
1663 * A list of ElasticLoadBalancer objects that describe the specified Elastic Load Balancing instances.
1664 */
1665 ElasticLoadBalancers?: ElasticLoadBalancers;
1666 }
1667 export interface DescribeInstancesRequest {
1668 /**
1669 * A stack ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified stack.
1670 */
1671 StackId?: String;
1672 /**
1673 * A layer ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified layer.
1674 */
1675 LayerId?: String;
1676 /**
1677 * An array of instance IDs to be described. If you use this parameter, DescribeInstances returns a description of the specified instances. Otherwise, it returns a description of every instance.
1678 */
1679 InstanceIds?: Strings;
1680 }
1681 export interface DescribeInstancesResult {
1682 /**
1683 * An array of Instance objects that describe the instances.
1684 */
1685 Instances?: Instances;
1686 }
1687 export interface DescribeLayersRequest {
1688 /**
1689 * The stack ID.
1690 */
1691 StackId?: String;
1692 /**
1693 * An array of layer IDs that specify the layers to be described. If you omit this parameter, DescribeLayers returns a description of every layer in the specified stack.
1694 */
1695 LayerIds?: Strings;
1696 }
1697 export interface DescribeLayersResult {
1698 /**
1699 * An array of Layer objects that describe the layers.
1700 */
1701 Layers?: Layers;
1702 }
1703 export interface DescribeLoadBasedAutoScalingRequest {
1704 /**
1705 * An array of layer IDs.
1706 */
1707 LayerIds: Strings;
1708 }
1709 export interface DescribeLoadBasedAutoScalingResult {
1710 /**
1711 * An array of LoadBasedAutoScalingConfiguration objects that describe each layer's configuration.
1712 */
1713 LoadBasedAutoScalingConfigurations?: LoadBasedAutoScalingConfigurations;
1714 }
1715 export interface DescribeMyUserProfileResult {
1716 /**
1717 * A UserProfile object that describes the user's SSH information.
1718 */
1719 UserProfile?: SelfUserProfile;
1720 }
1721 export interface DescribeOperatingSystemsResponse {
1722 /**
1723 * Contains information in response to a DescribeOperatingSystems request.
1724 */
1725 OperatingSystems?: OperatingSystems;
1726 }
1727 export interface DescribePermissionsRequest {
1728 /**
1729 * The user's IAM ARN. This can also be a federated user's ARN. For more information about IAM ARNs, see Using Identifiers.
1730 */
1731 IamUserArn?: String;
1732 /**
1733 * The stack ID.
1734 */
1735 StackId?: String;
1736 }
1737 export interface DescribePermissionsResult {
1738 /**
1739 * An array of Permission objects that describe the stack permissions. If the request object contains only a stack ID, the array contains a Permission object with permissions for each of the stack IAM ARNs. If the request object contains only an IAM ARN, the array contains a Permission object with permissions for each of the user's stack IDs. If the request contains a stack ID and an IAM ARN, the array contains a single Permission object with permissions for the specified stack and IAM ARN.
1740 */
1741 Permissions?: Permissions;
1742 }
1743 export interface DescribeRaidArraysRequest {
1744 /**
1745 * The instance ID. If you use this parameter, DescribeRaidArrays returns descriptions of the RAID arrays associated with the specified instance.
1746 */
1747 InstanceId?: String;
1748 /**
1749 * The stack ID.
1750 */
1751 StackId?: String;
1752 /**
1753 * An array of RAID array IDs. If you use this parameter, DescribeRaidArrays returns descriptions of the specified arrays. Otherwise, it returns a description of every array.
1754 */
1755 RaidArrayIds?: Strings;
1756 }
1757 export interface DescribeRaidArraysResult {
1758 /**
1759 * A RaidArrays object that describes the specified RAID arrays.
1760 */
1761 RaidArrays?: RaidArrays;
1762 }
1763 export interface DescribeRdsDbInstancesRequest {
1764 /**
1765 * The ID of the stack with which the instances are registered. The operation returns descriptions of all registered Amazon RDS instances.
1766 */
1767 StackId: String;
1768 /**
1769 * An array containing the ARNs of the instances to be described.
1770 */
1771 RdsDbInstanceArns?: Strings;
1772 }
1773 export interface DescribeRdsDbInstancesResult {
1774 /**
1775 * An a array of RdsDbInstance objects that describe the instances.
1776 */
1777 RdsDbInstances?: RdsDbInstances;
1778 }
1779 export interface DescribeServiceErrorsRequest {
1780 /**
1781 * The stack ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified stack.
1782 */
1783 StackId?: String;
1784 /**
1785 * The instance ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified instance.
1786 */
1787 InstanceId?: String;
1788 /**
1789 * An array of service error IDs. If you use this parameter, DescribeServiceErrors returns descriptions of the specified errors. Otherwise, it returns a description of every error.
1790 */
1791 ServiceErrorIds?: Strings;
1792 }
1793 export interface DescribeServiceErrorsResult {
1794 /**
1795 * An array of ServiceError objects that describe the specified service errors.
1796 */
1797 ServiceErrors?: ServiceErrors;
1798 }
1799 export interface DescribeStackProvisioningParametersRequest {
1800 /**
1801 * The stack ID.
1802 */
1803 StackId: String;
1804 }
1805 export interface DescribeStackProvisioningParametersResult {
1806 /**
1807 * The AWS OpsWorks Stacks agent installer's URL.
1808 */
1809 AgentInstallerUrl?: String;
1810 /**
1811 * An embedded object that contains the provisioning parameters.
1812 */
1813 Parameters?: Parameters;
1814 }
1815 export interface DescribeStackSummaryRequest {
1816 /**
1817 * The stack ID.
1818 */
1819 StackId: String;
1820 }
1821 export interface DescribeStackSummaryResult {
1822 /**
1823 * A StackSummary object that contains the results.
1824 */
1825 StackSummary?: StackSummary;
1826 }
1827 export interface DescribeStacksRequest {
1828 /**
1829 * An array of stack IDs that specify the stacks to be described. If you omit this parameter, DescribeStacks returns a description of every stack.
1830 */
1831 StackIds?: Strings;
1832 }
1833 export interface DescribeStacksResult {
1834 /**
1835 * An array of Stack objects that describe the stacks.
1836 */
1837 Stacks?: Stacks;
1838 }
1839 export interface DescribeTimeBasedAutoScalingRequest {
1840 /**
1841 * An array of instance IDs.
1842 */
1843 InstanceIds: Strings;
1844 }
1845 export interface DescribeTimeBasedAutoScalingResult {
1846 /**
1847 * An array of TimeBasedAutoScalingConfiguration objects that describe the configuration for the specified instances.
1848 */
1849 TimeBasedAutoScalingConfigurations?: TimeBasedAutoScalingConfigurations;
1850 }
1851 export interface DescribeUserProfilesRequest {
1852 /**
1853 * An array of IAM or federated user ARNs that identify the users to be described.
1854 */
1855 IamUserArns?: Strings;
1856 }
1857 export interface DescribeUserProfilesResult {
1858 /**
1859 * A Users object that describes the specified users.
1860 */
1861 UserProfiles?: UserProfiles;
1862 }
1863 export interface DescribeVolumesRequest {
1864 /**
1865 * The instance ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified instance.
1866 */
1867 InstanceId?: String;
1868 /**
1869 * A stack ID. The action describes the stack's registered Amazon EBS volumes.
1870 */
1871 StackId?: String;
1872 /**
1873 * The RAID array ID. If you use this parameter, DescribeVolumes returns descriptions of the volumes associated with the specified RAID array.
1874 */
1875 RaidArrayId?: String;
1876 /**
1877 * Am array of volume IDs. If you use this parameter, DescribeVolumes returns descriptions of the specified volumes. Otherwise, it returns a description of every volume.
1878 */
1879 VolumeIds?: Strings;
1880 }
1881 export interface DescribeVolumesResult {
1882 /**
1883 * An array of volume IDs.
1884 */
1885 Volumes?: Volumes;
1886 }
1887 export interface DetachElasticLoadBalancerRequest {
1888 /**
1889 * The Elastic Load Balancing instance's name.
1890 */
1891 ElasticLoadBalancerName: String;
1892 /**
1893 * The ID of the layer that the Elastic Load Balancing instance is attached to.
1894 */
1895 LayerId: String;
1896 }
1897 export interface DisassociateElasticIpRequest {
1898 /**
1899 * The Elastic IP address.
1900 */
1901 ElasticIp: String;
1902 }
1903 export type Double = number;
1904 export interface EbsBlockDevice {
1905 /**
1906 * The snapshot ID.
1907 */
1908 SnapshotId?: String;
1909 /**
1910 * The number of I/O operations per second (IOPS) that the volume supports. For more information, see EbsBlockDevice.
1911 */
1912 Iops?: Integer;
1913 /**
1914 * The volume size, in GiB. For more information, see EbsBlockDevice.
1915 */
1916 VolumeSize?: Integer;
1917 /**
1918 * The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned IOPS (SSD) volumes, st1 for Throughput Optimized hard disk drives (HDD), sc1 for Cold HDD,and standard for Magnetic volumes. If you specify the io1 volume type, you must also specify a value for the Iops attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size).
1919 */
1920 VolumeType?: VolumeType;
1921 /**
1922 * Whether the volume is deleted on instance termination.
1923 */
1924 DeleteOnTermination?: Boolean;
1925 }
1926 export interface EcsCluster {
1927 /**
1928 * The cluster's ARN.
1929 */
1930 EcsClusterArn?: String;
1931 /**
1932 * The cluster name.
1933 */
1934 EcsClusterName?: String;
1935 /**
1936 * The stack ID.
1937 */
1938 StackId?: String;
1939 /**
1940 * The time and date that the cluster was registered with the stack.
1941 */
1942 RegisteredAt?: DateTime;
1943 }
1944 export type EcsClusters = EcsCluster[];
1945 export interface ElasticIp {
1946 /**
1947 * The IP address.
1948 */
1949 Ip?: String;
1950 /**
1951 * The name.
1952 */
1953 Name?: String;
1954 /**
1955 * The domain.
1956 */
1957 Domain?: String;
1958 /**
1959 * The AWS region. For more information, see Regions and Endpoints.
1960 */
1961 Region?: String;
1962 /**
1963 * The ID of the instance that the address is attached to.
1964 */
1965 InstanceId?: String;
1966 }
1967 export type ElasticIps = ElasticIp[];
1968 export interface ElasticLoadBalancer {
1969 /**
1970 * The Elastic Load Balancing instance's name.
1971 */
1972 ElasticLoadBalancerName?: String;
1973 /**
1974 * The instance's AWS region.
1975 */
1976 Region?: String;
1977 /**
1978 * The instance's public DNS name.
1979 */
1980 DnsName?: String;
1981 /**
1982 * The ID of the stack that the instance is associated with.
1983 */
1984 StackId?: String;
1985 /**
1986 * The ID of the layer that the instance is attached to.
1987 */
1988 LayerId?: String;
1989 /**
1990 * The VPC ID.
1991 */
1992 VpcId?: String;
1993 /**
1994 * A list of Availability Zones.
1995 */
1996 AvailabilityZones?: Strings;
1997 /**
1998 * A list of subnet IDs, if the stack is running in a VPC.
1999 */
2000 SubnetIds?: Strings;
2001 /**
2002 * A list of the EC2 instances that the Elastic Load Balancing instance is managing traffic for.
2003 */
2004 Ec2InstanceIds?: Strings;
2005 }
2006 export type ElasticLoadBalancers = ElasticLoadBalancer[];
2007 export interface EnvironmentVariable {
2008 /**
2009 * (Required) The environment variable's name, which can consist of up to 64 characters and must be specified. The name can contain upper- and lowercase letters, numbers, and underscores (_), but it must start with a letter or underscore.
2010 */
2011 Key: String;
2012 /**
2013 * (Optional) The environment variable's value, which can be left empty. If you specify a value, it can contain up to 256 characters, which must all be printable.
2014 */
2015 Value: String;
2016 /**
2017 * (Optional) Whether the variable's value will be returned by the DescribeApps action. To conceal an environment variable's value, set Secure to true. DescribeApps then returns *****FILTERED***** instead of the actual value. The default value for Secure is false.
2018 */
2019 Secure?: Boolean;
2020 }
2021 export type EnvironmentVariables = EnvironmentVariable[];
2022 export interface GetHostnameSuggestionRequest {
2023 /**
2024 * The layer ID.
2025 */
2026 LayerId: String;
2027 }
2028 export interface GetHostnameSuggestionResult {
2029 /**
2030 * The layer ID.
2031 */
2032 LayerId?: String;
2033 /**
2034 * The generated host name.
2035 */
2036 Hostname?: String;
2037 }
2038 export interface GrantAccessRequest {
2039 /**
2040 * The instance's AWS OpsWorks Stacks ID.
2041 */
2042 InstanceId: String;
2043 /**
2044 * The length of time (in minutes) that the grant is valid. When the grant expires at the end of this period, the user will no longer be able to use the credentials to log in. If the user is logged in at the time, he or she automatically will be logged out.
2045 */
2046 ValidForInMinutes?: ValidForInMinutes;
2047 }
2048 export interface GrantAccessResult {
2049 /**
2050 * A TemporaryCredential object that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.
2051 */
2052 TemporaryCredential?: TemporaryCredential;
2053 }
2054 export type Hour = string;
2055 export interface Instance {
2056 /**
2057 * The agent version. This parameter is set to INHERIT if the instance inherits the default stack setting or to a a version number for a fixed agent version.
2058 */
2059 AgentVersion?: String;
2060 /**
2061 * A custom AMI ID to be used to create the instance. For more information, see Instances
2062 */
2063 AmiId?: String;
2064 /**
2065 * The instance architecture: "i386" or "x86_64".
2066 */
2067 Architecture?: Architecture;
2068 /**
2069 * The instance's Amazon Resource Number (ARN).
2070 */
2071 Arn?: String;
2072 /**
2073 * For load-based or time-based instances, the type.
2074 */
2075 AutoScalingType?: AutoScalingType;
2076 /**
2077 * The instance Availability Zone. For more information, see Regions and Endpoints.
2078 */
2079 AvailabilityZone?: String;
2080 /**
2081 * An array of BlockDeviceMapping objects that specify the instance's block device mappings.
2082 */
2083 BlockDeviceMappings?: BlockDeviceMappings;
2084 /**
2085 * The time that the instance was created.
2086 */
2087 CreatedAt?: DateTime;
2088 /**
2089 * Whether this is an Amazon EBS-optimized instance.
2090 */
2091 EbsOptimized?: Boolean;
2092 /**
2093 * The ID of the associated Amazon EC2 instance.
2094 */
2095 Ec2InstanceId?: String;
2096 /**
2097 * For container instances, the Amazon ECS cluster's ARN.
2098 */
2099 EcsClusterArn?: String;
2100 /**
2101 * For container instances, the instance's ARN.
2102 */
2103 EcsContainerInstanceArn?: String;
2104 /**
2105 * The instance Elastic IP address .
2106 */
2107 ElasticIp?: String;
2108 /**
2109 * The instance host name.
2110 */
2111 Hostname?: String;
2112 /**
2113 * For registered instances, the infrastructure class: ec2 or on-premises.
2114 */
2115 InfrastructureClass?: String;
2116 /**
2117 * Whether to install operating system and package updates when the instance boots. The default value is true. If this value is set to false, you must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or by manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates.
2118 */
2119 InstallUpdatesOnBoot?: Boolean;
2120 /**
2121 * The instance ID.
2122 */
2123 InstanceId?: String;
2124 /**
2125 * The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.
2126 */
2127 InstanceProfileArn?: String;
2128 /**
2129 * The instance type, such as t2.micro.
2130 */
2131 InstanceType?: String;
2132 /**
2133 * The ID of the last service error. For more information, call DescribeServiceErrors.
2134 */
2135 LastServiceErrorId?: String;
2136 /**
2137 * An array containing the instance layer IDs.
2138 */
2139 LayerIds?: Strings;
2140 /**
2141 * The instance's operating system.
2142 */
2143 Os?: String;
2144 /**
2145 * The instance's platform.
2146 */
2147 Platform?: String;
2148 /**
2149 * The instance's private DNS name.
2150 */
2151 PrivateDns?: String;
2152 /**
2153 * The instance's private IP address.
2154 */
2155 PrivateIp?: String;
2156 /**
2157 * The instance public DNS name.
2158 */
2159 PublicDns?: String;
2160 /**
2161 * The instance public IP address.
2162 */
2163 PublicIp?: String;
2164 /**
2165 * For registered instances, who performed the registration.
2166 */
2167 RegisteredBy?: String;
2168 /**
2169 * The instance's reported AWS OpsWorks Stacks agent version.
2170 */
2171 ReportedAgentVersion?: String;
2172 /**
2173 * For registered instances, the reported operating system.
2174 */
2175 ReportedOs?: ReportedOs;
2176 /**
2177 * The instance's root device type. For more information, see Storage for the Root Device.
2178 */
2179 RootDeviceType?: RootDeviceType;
2180 /**
2181 * The root device volume ID.
2182 */
2183 RootDeviceVolumeId?: String;
2184 /**
2185 * An array containing the instance security group IDs.
2186 */
2187 SecurityGroupIds?: Strings;
2188 /**
2189 * The SSH key's Deep Security Agent (DSA) fingerprint.
2190 */
2191 SshHostDsaKeyFingerprint?: String;
2192 /**
2193 * The SSH key's RSA fingerprint.
2194 */
2195 SshHostRsaKeyFingerprint?: String;
2196 /**
2197 * The instance's Amazon EC2 key-pair name.
2198 */
2199 SshKeyName?: String;
2200 /**
2201 * The stack ID.
2202 */
2203 StackId?: String;
2204 /**
2205 * The instance status: booting connection_lost online pending rebooting requested running_setup setup_failed shutting_down start_failed stop_failed stopped stopping terminated terminating
2206 */
2207 Status?: String;
2208 /**
2209 * The instance's subnet ID; applicable only if the stack is running in a VPC.
2210 */
2211 SubnetId?: String;
2212 /**
2213 * The instance's tenancy option, such as dedicated or host.
2214 */
2215 Tenancy?: String;
2216 /**
2217 * The instance's virtualization type: paravirtual or hvm.
2218 */
2219 VirtualizationType?: VirtualizationType;
2220 }
2221 export interface InstanceIdentity {
2222 /**
2223 * A JSON document that contains the metadata.
2224 */
2225 Document?: String;
2226 /**
2227 * A signature that can be used to verify the document's accuracy and authenticity.
2228 */
2229 Signature?: String;
2230 }
2231 export type Instances = Instance[];
2232 export interface InstancesCount {
2233 /**
2234 * The number of instances in the Assigning state.
2235 */
2236 Assigning?: Integer;
2237 /**
2238 * The number of instances with booting status.
2239 */
2240 Booting?: Integer;
2241 /**
2242 * The number of instances with connection_lost status.
2243 */
2244 ConnectionLost?: Integer;
2245 /**
2246 * The number of instances in the Deregistering state.
2247 */
2248 Deregistering?: Integer;
2249 /**
2250 * The number of instances with online status.
2251 */
2252 Online?: Integer;
2253 /**
2254 * The number of instances with pending status.
2255 */
2256 Pending?: Integer;
2257 /**
2258 * The number of instances with rebooting status.
2259 */
2260 Rebooting?: Integer;
2261 /**
2262 * The number of instances in the Registered state.
2263 */
2264 Registered?: Integer;
2265 /**
2266 * The number of instances in the Registering state.
2267 */
2268 Registering?: Integer;
2269 /**
2270 * The number of instances with requested status.
2271 */
2272 Requested?: Integer;
2273 /**
2274 * The number of instances with running_setup status.
2275 */
2276 RunningSetup?: Integer;
2277 /**
2278 * The number of instances with setup_failed status.
2279 */
2280 SetupFailed?: Integer;
2281 /**
2282 * The number of instances with shutting_down status.
2283 */
2284 ShuttingDown?: Integer;
2285 /**
2286 * The number of instances with start_failed status.
2287 */
2288 StartFailed?: Integer;
2289 /**
2290 * The number of instances with stop_failed status.
2291 */
2292 StopFailed?: Integer;
2293 /**
2294 * The number of instances with stopped status.
2295 */
2296 Stopped?: Integer;
2297 /**
2298 * The number of instances with stopping status.
2299 */
2300 Stopping?: Integer;
2301 /**
2302 * The number of instances with terminated status.
2303 */
2304 Terminated?: Integer;
2305 /**
2306 * The number of instances with terminating status.
2307 */
2308 Terminating?: Integer;
2309 /**
2310 * The number of instances in the Unassigning state.
2311 */
2312 Unassigning?: Integer;
2313 }
2314 export type Integer = number;
2315 export interface Layer {
2316 /**
2317 * The Amazon Resource Number (ARN) of a layer.
2318 */
2319 Arn?: String;
2320 /**
2321 * The layer stack ID.
2322 */
2323 StackId?: String;
2324 /**
2325 * The layer ID.
2326 */
2327 LayerId?: String;
2328 /**
2329 * The layer type.
2330 */
2331 Type?: LayerType;
2332 /**
2333 * The layer name.
2334 */
2335 Name?: String;
2336 /**
2337 * The layer short name.
2338 */
2339 Shortname?: String;
2340 /**
2341 * The layer attributes. For the HaproxyStatsPassword, MysqlRootPassword, and GangliaPassword attributes, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value For an ECS Cluster layer, AWS OpsWorks Stacks the EcsClusterArn attribute is set to the cluster's ARN.
2342 */
2343 Attributes?: LayerAttributes;
2344 /**
2345 * The Amazon CloudWatch Logs configuration settings for the layer.
2346 */
2347 CloudWatchLogsConfiguration?: CloudWatchLogsConfiguration;
2348 /**
2349 * The ARN of the default IAM profile to be used for the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
2350 */
2351 CustomInstanceProfileArn?: String;
2352 /**
2353 * A JSON formatted string containing the layer's custom stack configuration and deployment attributes.
2354 */
2355 CustomJson?: String;
2356 /**
2357 * An array containing the layer's custom security group IDs.
2358 */
2359 CustomSecurityGroupIds?: Strings;
2360 /**
2361 * An array containing the layer's security group names.
2362 */
2363 DefaultSecurityGroupNames?: Strings;
2364 /**
2365 * An array of Package objects that describe the layer's packages.
2366 */
2367 Packages?: Strings;
2368 /**
2369 * A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
2370 */
2371 VolumeConfigurations?: VolumeConfigurations;
2372 /**
2373 * Whether auto healing is disabled for the layer.
2374 */
2375 EnableAutoHealing?: Boolean;
2376 /**
2377 * Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.
2378 */
2379 AutoAssignElasticIps?: Boolean;
2380 /**
2381 * For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see How to Edit a Layer.
2382 */
2383 AutoAssignPublicIps?: Boolean;
2384 /**
2385 * AWS OpsWorks Stacks supports five lifecycle events: setup, configuration, deploy, undeploy, and shutdown. For each layer, AWS OpsWorks Stacks runs a set of standard recipes for each event. You can also provide custom recipes for any or all layers and events. AWS OpsWorks Stacks runs custom event recipes after the standard recipes. LayerCustomRecipes specifies the custom recipes for a particular layer to be run in response to each of the five events. To specify a recipe, use the cookbook's directory name in the repository followed by two colons and the recipe name, which is the recipe's file name without the .rb extension. For example: phpapp2::dbsetup specifies the dbsetup.rb recipe in the repository's phpapp2 folder.
2386 */
2387 DefaultRecipes?: Recipes;
2388 /**
2389 * A LayerCustomRecipes object that specifies the layer's custom recipes.
2390 */
2391 CustomRecipes?: Recipes;
2392 /**
2393 * Date when the layer was created.
2394 */
2395 CreatedAt?: DateTime;
2396 /**
2397 * Whether to install operating system and package updates when the instance boots. The default value is true. If this value is set to false, you must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates.
2398 */
2399 InstallUpdatesOnBoot?: Boolean;
2400 /**
2401 * Whether the layer uses Amazon EBS-optimized instances.
2402 */
2403 UseEbsOptimizedInstances?: Boolean;
2404 /**
2405 * A LifeCycleEventConfiguration object that specifies the Shutdown event configuration.
2406 */
2407 LifecycleEventConfiguration?: LifecycleEventConfiguration;
2408 }
2409 export type LayerAttributes = {[key: string]: String};
2410 export type LayerAttributesKeys = "EcsClusterArn"|"EnableHaproxyStats"|"HaproxyStatsUrl"|"HaproxyStatsUser"|"HaproxyStatsPassword"|"HaproxyHealthCheckUrl"|"HaproxyHealthCheckMethod"|"MysqlRootPassword"|"MysqlRootPasswordUbiquitous"|"GangliaUrl"|"GangliaUser"|"GangliaPassword"|"MemcachedMemory"|"NodejsVersion"|"RubyVersion"|"RubygemsVersion"|"ManageBundler"|"BundlerVersion"|"RailsStack"|"PassengerVersion"|"Jvm"|"JvmVersion"|"JvmOptions"|"JavaAppServer"|"JavaAppServerVersion"|string;
2411 export type LayerType = "aws-flow-ruby"|"ecs-cluster"|"java-app"|"lb"|"web"|"php-app"|"rails-app"|"nodejs-app"|"memcached"|"db-master"|"monitoring-master"|"custom"|string;
2412 export type Layers = Layer[];
2413 export interface LifecycleEventConfiguration {
2414 /**
2415 * A ShutdownEventConfiguration object that specifies the Shutdown event configuration.
2416 */
2417 Shutdown?: ShutdownEventConfiguration;
2418 }
2419 export interface ListTagsRequest {
2420 /**
2421 * The stack or layer's Amazon Resource Number (ARN).
2422 */
2423 ResourceArn: ResourceArn;
2424 /**
2425 * Do not use. A validation exception occurs if you add a MaxResults parameter to a ListTagsRequest call.
2426 */
2427 MaxResults?: MaxResults;
2428 /**
2429 * Do not use. A validation exception occurs if you add a NextToken parameter to a ListTagsRequest call.
2430 */
2431 NextToken?: NextToken;
2432 }
2433 export interface ListTagsResult {
2434 /**
2435 * A set of key-value pairs that contain tag keys and tag values that are attached to a stack or layer.
2436 */
2437 Tags?: Tags;
2438 /**
2439 * If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object's NextToken parameter to get the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set to null.
2440 */
2441 NextToken?: NextToken;
2442 }
2443 export interface LoadBasedAutoScalingConfiguration {
2444 /**
2445 * The layer ID.
2446 */
2447 LayerId?: String;
2448 /**
2449 * Whether load-based auto scaling is enabled for the layer.
2450 */
2451 Enable?: Boolean;
2452 /**
2453 * An AutoScalingThresholds object that describes the upscaling configuration, which defines how and when AWS OpsWorks Stacks increases the number of instances.
2454 */
2455 UpScaling?: AutoScalingThresholds;
2456 /**
2457 * An AutoScalingThresholds object that describes the downscaling configuration, which defines how and when AWS OpsWorks Stacks reduces the number of instances.
2458 */
2459 DownScaling?: AutoScalingThresholds;
2460 }
2461 export type LoadBasedAutoScalingConfigurations = LoadBasedAutoScalingConfiguration[];
2462 export type MaxResults = number;
2463 export type Minute = number;
2464 export type NextToken = string;
2465 export interface OperatingSystem {
2466 /**
2467 * The name of the operating system, such as Amazon Linux 2018.03.
2468 */
2469 Name?: String;
2470 /**
2471 * The ID of a supported operating system, such as Amazon Linux 2018.03.
2472 */
2473 Id?: String;
2474 /**
2475 * The type of a supported operating system, either Linux or Windows.
2476 */
2477 Type?: String;
2478 /**
2479 * Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.
2480 */
2481 ConfigurationManagers?: OperatingSystemConfigurationManagers;
2482 /**
2483 * A short name for the operating system manufacturer.
2484 */
2485 ReportedName?: String;
2486 /**
2487 * The version of the operating system, including the release and edition, if applicable.
2488 */
2489 ReportedVersion?: String;
2490 /**
2491 * Indicates that an operating system is not supported for new instances.
2492 */
2493 Supported?: Boolean;
2494 }
2495 export interface OperatingSystemConfigurationManager {
2496 /**
2497 * The name of the configuration manager, which is Chef.
2498 */
2499 Name?: String;
2500 /**
2501 * The versions of the configuration manager that are supported by an operating system.
2502 */
2503 Version?: String;
2504 }
2505 export type OperatingSystemConfigurationManagers = OperatingSystemConfigurationManager[];
2506 export type OperatingSystems = OperatingSystem[];
2507 export type Parameters = {[key: string]: String};
2508 export interface Permission {
2509 /**
2510 * A stack ID.
2511 */
2512 StackId?: String;
2513 /**
2514 * The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.
2515 */
2516 IamUserArn?: String;
2517 /**
2518 * Whether the user can use SSH.
2519 */
2520 AllowSsh?: Boolean;
2521 /**
2522 * Whether the user can use sudo.
2523 */
2524 AllowSudo?: Boolean;
2525 /**
2526 * The user's permission level, which must be the following: deny show deploy manage iam_only For more information on the permissions associated with these levels, see Managing User Permissions
2527 */
2528 Level?: String;
2529 }
2530 export type Permissions = Permission[];
2531 export interface RaidArray {
2532 /**
2533 * The array ID.
2534 */
2535 RaidArrayId?: String;
2536 /**
2537 * The instance ID.
2538 */
2539 InstanceId?: String;
2540 /**
2541 * The array name.
2542 */
2543 Name?: String;
2544 /**
2545 * The RAID level.
2546 */
2547 RaidLevel?: Integer;
2548 /**
2549 * The number of disks in the array.
2550 */
2551 NumberOfDisks?: Integer;
2552 /**
2553 * The array's size.
2554 */
2555 Size?: Integer;
2556 /**
2557 * The array's Linux device. For example /dev/mdadm0.
2558 */
2559 Device?: String;
2560 /**
2561 * The array's mount point.
2562 */
2563 MountPoint?: String;
2564 /**
2565 * The array's Availability Zone. For more information, see Regions and Endpoints.
2566 */
2567 AvailabilityZone?: String;
2568 /**
2569 * When the RAID array was created.
2570 */
2571 CreatedAt?: DateTime;
2572 /**
2573 * The stack ID.
2574 */
2575 StackId?: String;
2576 /**
2577 * The volume type, standard or PIOPS.
2578 */
2579 VolumeType?: String;
2580 /**
2581 * For PIOPS volumes, the IOPS per disk.
2582 */
2583 Iops?: Integer;
2584 }
2585 export type RaidArrays = RaidArray[];
2586 export interface RdsDbInstance {
2587 /**
2588 * The instance's ARN.
2589 */
2590 RdsDbInstanceArn?: String;
2591 /**
2592 * The DB instance identifier.
2593 */
2594 DbInstanceIdentifier?: String;
2595 /**
2596 * The master user name.
2597 */
2598 DbUser?: String;
2599 /**
2600 * AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.
2601 */
2602 DbPassword?: String;
2603 /**
2604 * The instance's AWS region.
2605 */
2606 Region?: String;
2607 /**
2608 * The instance's address.
2609 */
2610 Address?: String;
2611 /**
2612 * The instance's database engine.
2613 */
2614 Engine?: String;
2615 /**
2616 * The ID of the stack with which the instance is registered.
2617 */
2618 StackId?: String;
2619 /**
2620 * Set to true if AWS OpsWorks Stacks is unable to discover the Amazon RDS instance. AWS OpsWorks Stacks attempts to discover the instance only once. If this value is set to true, you must deregister the instance, and then register it again.
2621 */
2622 MissingOnRds?: Boolean;
2623 }
2624 export type RdsDbInstances = RdsDbInstance[];
2625 export interface RebootInstanceRequest {
2626 /**
2627 * The instance ID.
2628 */
2629 InstanceId: String;
2630 }
2631 export interface Recipes {
2632 /**
2633 * An array of custom recipe names to be run following a setup event.
2634 */
2635 Setup?: Strings;
2636 /**
2637 * An array of custom recipe names to be run following a configure event.
2638 */
2639 Configure?: Strings;
2640 /**
2641 * An array of custom recipe names to be run following a deploy event.
2642 */
2643 Deploy?: Strings;
2644 /**
2645 * An array of custom recipe names to be run following a undeploy event.
2646 */
2647 Undeploy?: Strings;
2648 /**
2649 * An array of custom recipe names to be run following a shutdown event.
2650 */
2651 Shutdown?: Strings;
2652 }
2653 export interface RegisterEcsClusterRequest {
2654 /**
2655 * The cluster's ARN.
2656 */
2657 EcsClusterArn: String;
2658 /**
2659 * The stack ID.
2660 */
2661 StackId: String;
2662 }
2663 export interface RegisterEcsClusterResult {
2664 /**
2665 * The cluster's ARN.
2666 */
2667 EcsClusterArn?: String;
2668 }
2669 export interface RegisterElasticIpRequest {
2670 /**
2671 * The Elastic IP address.
2672 */
2673 ElasticIp: String;
2674 /**
2675 * The stack ID.
2676 */
2677 StackId: String;
2678 }
2679 export interface RegisterElasticIpResult {
2680 /**
2681 * The Elastic IP address.
2682 */
2683 ElasticIp?: String;
2684 }
2685 export interface RegisterInstanceRequest {
2686 /**
2687 * The ID of the stack that the instance is to be registered with.
2688 */
2689 StackId: String;
2690 /**
2691 * The instance's hostname.
2692 */
2693 Hostname?: String;
2694 /**
2695 * The instance's public IP address.
2696 */
2697 PublicIp?: String;
2698 /**
2699 * The instance's private IP address.
2700 */
2701 PrivateIp?: String;
2702 /**
2703 * The instances public RSA key. This key is used to encrypt communication between the instance and the service.
2704 */
2705 RsaPublicKey?: String;
2706 /**
2707 * The instances public RSA key fingerprint.
2708 */
2709 RsaPublicKeyFingerprint?: String;
2710 /**
2711 * An InstanceIdentity object that contains the instance's identity.
2712 */
2713 InstanceIdentity?: InstanceIdentity;
2714 }
2715 export interface RegisterInstanceResult {
2716 /**
2717 * The registered instance's AWS OpsWorks Stacks ID.
2718 */
2719 InstanceId?: String;
2720 }
2721 export interface RegisterRdsDbInstanceRequest {
2722 /**
2723 * The stack ID.
2724 */
2725 StackId: String;
2726 /**
2727 * The Amazon RDS instance's ARN.
2728 */
2729 RdsDbInstanceArn: String;
2730 /**
2731 * The database's master user name.
2732 */
2733 DbUser: String;
2734 /**
2735 * The database password.
2736 */
2737 DbPassword: String;
2738 }
2739 export interface RegisterVolumeRequest {
2740 /**
2741 * The Amazon EBS volume ID.
2742 */
2743 Ec2VolumeId?: String;
2744 /**
2745 * The stack ID.
2746 */
2747 StackId: String;
2748 }
2749 export interface RegisterVolumeResult {
2750 /**
2751 * The volume ID.
2752 */
2753 VolumeId?: String;
2754 }
2755 export interface ReportedOs {
2756 /**
2757 * The operating system family.
2758 */
2759 Family?: String;
2760 /**
2761 * The operating system name.
2762 */
2763 Name?: String;
2764 /**
2765 * The operating system version.
2766 */
2767 Version?: String;
2768 }
2769 export type ResourceArn = string;
2770 export type RootDeviceType = "ebs"|"instance-store"|string;
2771 export interface SelfUserProfile {
2772 /**
2773 * The user's IAM ARN.
2774 */
2775 IamUserArn?: String;
2776 /**
2777 * The user's name.
2778 */
2779 Name?: String;
2780 /**
2781 * The user's SSH user name.
2782 */
2783 SshUsername?: String;
2784 /**
2785 * The user's SSH public key.
2786 */
2787 SshPublicKey?: String;
2788 }
2789 export interface ServiceError {
2790 /**
2791 * The error ID.
2792 */
2793 ServiceErrorId?: String;
2794 /**
2795 * The stack ID.
2796 */
2797 StackId?: String;
2798 /**
2799 * The instance ID.
2800 */
2801 InstanceId?: String;
2802 /**
2803 * The error type.
2804 */
2805 Type?: String;
2806 /**
2807 * A message that describes the error.
2808 */
2809 Message?: String;
2810 /**
2811 * When the error occurred.
2812 */
2813 CreatedAt?: DateTime;
2814 }
2815 export type ServiceErrors = ServiceError[];
2816 export interface SetLoadBasedAutoScalingRequest {
2817 /**
2818 * The layer ID.
2819 */
2820 LayerId: String;
2821 /**
2822 * Enables load-based auto scaling for the layer.
2823 */
2824 Enable?: Boolean;
2825 /**
2826 * An AutoScalingThresholds object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, AWS OpsWorks Stacks starts a specified number of instances.
2827 */
2828 UpScaling?: AutoScalingThresholds;
2829 /**
2830 * An AutoScalingThresholds object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, AWS OpsWorks Stacks stops a specified number of instances.
2831 */
2832 DownScaling?: AutoScalingThresholds;
2833 }
2834 export interface SetPermissionRequest {
2835 /**
2836 * The stack ID.
2837 */
2838 StackId: String;
2839 /**
2840 * The user's IAM ARN. This can also be a federated user's ARN.
2841 */
2842 IamUserArn: String;
2843 /**
2844 * The user is allowed to use SSH to communicate with the instance.
2845 */
2846 AllowSsh?: Boolean;
2847 /**
2848 * The user is allowed to use sudo to elevate privileges.
2849 */
2850 AllowSudo?: Boolean;
2851 /**
2852 * The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level. deny show deploy manage iam_only For more information about the permissions associated with these levels, see Managing User Permissions.
2853 */
2854 Level?: String;
2855 }
2856 export interface SetTimeBasedAutoScalingRequest {
2857 /**
2858 * The instance ID.
2859 */
2860 InstanceId: String;
2861 /**
2862 * An AutoScalingSchedule with the instance schedule.
2863 */
2864 AutoScalingSchedule?: WeeklyAutoScalingSchedule;
2865 }
2866 export interface ShutdownEventConfiguration {
2867 /**
2868 * The time, in seconds, that AWS OpsWorks Stacks will wait after triggering a Shutdown event before shutting down an instance.
2869 */
2870 ExecutionTimeout?: Integer;
2871 /**
2872 * Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining
2873 */
2874 DelayUntilElbConnectionsDrained?: Boolean;
2875 }
2876 export interface Source {
2877 /**
2878 * The repository type.
2879 */
2880 Type?: SourceType;
2881 /**
2882 * The source URL. The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz.
2883 */
2884 Url?: String;
2885 /**
2886 * This parameter depends on the repository type. For Amazon S3 bundles, set Username to the appropriate IAM access key ID. For HTTP bundles, Git repositories, and Subversion repositories, set Username to the user name.
2887 */
2888 Username?: String;
2889 /**
2890 * When included in a request, the parameter depends on the repository type. For Amazon S3 bundles, set Password to the appropriate IAM secret access key. For HTTP bundles and Subversion repositories, set Password to the password. For more information on how to safely handle IAM credentials, see https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html. In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.
2891 */
2892 Password?: String;
2893 /**
2894 * In requests, the repository's SSH key. In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.
2895 */
2896 SshKey?: String;
2897 /**
2898 * The application's version. AWS OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.
2899 */
2900 Revision?: String;
2901 }
2902 export type SourceType = "git"|"svn"|"archive"|"s3"|string;
2903 export interface SslConfiguration {
2904 /**
2905 * The contents of the certificate's domain.crt file.
2906 */
2907 Certificate: String;
2908 /**
2909 * The private key; the contents of the certificate's domain.kex file.
2910 */
2911 PrivateKey: String;
2912 /**
2913 * Optional. Can be used to specify an intermediate certificate authority key or client authentication.
2914 */
2915 Chain?: String;
2916 }
2917 export interface Stack {
2918 /**
2919 * The stack ID.
2920 */
2921 StackId?: String;
2922 /**
2923 * The stack name.
2924 */
2925 Name?: String;
2926 /**
2927 * The stack's ARN.
2928 */
2929 Arn?: String;
2930 /**
2931 * The stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints.
2932 */
2933 Region?: String;
2934 /**
2935 * The VPC ID; applicable only if the stack is running in a VPC.
2936 */
2937 VpcId?: String;
2938 /**
2939 * The stack's attributes.
2940 */
2941 Attributes?: StackAttributes;
2942 /**
2943 * The stack AWS Identity and Access Management (IAM) role.
2944 */
2945 ServiceRoleArn?: String;
2946 /**
2947 * The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
2948 */
2949 DefaultInstanceProfileArn?: String;
2950 /**
2951 * The stack's default operating system.
2952 */
2953 DefaultOs?: String;
2954 /**
2955 * The stack host name theme, with spaces replaced by underscores.
2956 */
2957 HostnameTheme?: String;
2958 /**
2959 * The stack's default Availability Zone. For more information, see Regions and Endpoints.
2960 */
2961 DefaultAvailabilityZone?: String;
2962 /**
2963 * The default subnet ID; applicable only if the stack is running in a VPC.
2964 */
2965 DefaultSubnetId?: String;
2966 /**
2967 * A JSON object that contains user-defined attributes to be added to the stack configuration and deployment attributes. You can use custom JSON to override the corresponding default stack configuration attribute values or to pass data to recipes. The string should be in the following format: "{\"key1\": \"value1\", \"key2\": \"value2\",...}" For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
2968 */
2969 CustomJson?: String;
2970 /**
2971 * The configuration manager.
2972 */
2973 ConfigurationManager?: StackConfigurationManager;
2974 /**
2975 * A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version. For more information, see Create a New Stack.
2976 */
2977 ChefConfiguration?: ChefConfiguration;
2978 /**
2979 * Whether the stack uses custom cookbooks.
2980 */
2981 UseCustomCookbooks?: Boolean;
2982 /**
2983 * Whether the stack automatically associates the AWS OpsWorks Stacks built-in security groups with the stack's layers.
2984 */
2985 UseOpsworksSecurityGroups?: Boolean;
2986 /**
2987 * Contains the information required to retrieve an app or cookbook from a repository. For more information, see Adding Apps or Cookbooks and Recipes.
2988 */
2989 CustomCookbooksSource?: Source;
2990 /**
2991 * A default Amazon EC2 key pair for the stack's instances. You can override this value when you create or update an instance.
2992 */
2993 DefaultSshKeyName?: String;
2994 /**
2995 * The date when the stack was created.
2996 */
2997 CreatedAt?: DateTime;
2998 /**
2999 * The default root device type. This value is used by default for all instances in the stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
3000 */
3001 DefaultRootDeviceType?: RootDeviceType;
3002 /**
3003 * The agent version. This parameter is set to LATEST for auto-update. or a version number for a fixed agent version.
3004 */
3005 AgentVersion?: String;
3006 }
3007 export type StackAttributes = {[key: string]: String};
3008 export type StackAttributesKeys = "Color"|string;
3009 export interface StackConfigurationManager {
3010 /**
3011 * The name. This parameter must be set to "Chef".
3012 */
3013 Name?: String;
3014 /**
3015 * The Chef version. This parameter must be set to 12, 11.10, or 11.4 for Linux stacks, and to 12.2 for Windows stacks. The default value for Linux stacks is 11.4.
3016 */
3017 Version?: String;
3018 }
3019 export interface StackSummary {
3020 /**
3021 * The stack ID.
3022 */
3023 StackId?: String;
3024 /**
3025 * The stack name.
3026 */
3027 Name?: String;
3028 /**
3029 * The stack's ARN.
3030 */
3031 Arn?: String;
3032 /**
3033 * The number of layers.
3034 */
3035 LayersCount?: Integer;
3036 /**
3037 * The number of apps.
3038 */
3039 AppsCount?: Integer;
3040 /**
3041 * An InstancesCount object with the number of instances in each status.
3042 */
3043 InstancesCount?: InstancesCount;
3044 }
3045 export type Stacks = Stack[];
3046 export interface StartInstanceRequest {
3047 /**
3048 * The instance ID.
3049 */
3050 InstanceId: String;
3051 }
3052 export interface StartStackRequest {
3053 /**
3054 * The stack ID.
3055 */
3056 StackId: String;
3057 }
3058 export interface StopInstanceRequest {
3059 /**
3060 * The instance ID.
3061 */
3062 InstanceId: String;
3063 /**
3064 * Specifies whether to force an instance to stop. If the instance's root device type is ebs, or EBS-backed, adding the Force parameter to the StopInstances API call disassociates the AWS OpsWorks Stacks instance from EC2, and forces deletion of only the OpsWorks Stacks instance. You must also delete the formerly-associated instance in EC2 after troubleshooting and replacing the AWS OpsWorks Stacks instance with a new one.
3065 */
3066 Force?: Boolean;
3067 }
3068 export interface StopStackRequest {
3069 /**
3070 * The stack ID.
3071 */
3072 StackId: String;
3073 }
3074 export type String = string;
3075 export type Strings = String[];
3076 export type Switch = string;
3077 export type TagKey = string;
3078 export type TagKeys = TagKey[];
3079 export interface TagResourceRequest {
3080 /**
3081 * The stack or layer's Amazon Resource Number (ARN).
3082 */
3083 ResourceArn: ResourceArn;
3084 /**
3085 * A map that contains tag keys and tag values that are attached to a stack or layer. The key cannot be empty. The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : / The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : / Leading and trailing white spaces are trimmed from both the key and value. A maximum of 40 tags is allowed for any resource.
3086 */
3087 Tags: Tags;
3088 }
3089 export type TagValue = string;
3090 export type Tags = {[key: string]: TagValue};
3091 export interface TemporaryCredential {
3092 /**
3093 * The user name.
3094 */
3095 Username?: String;
3096 /**
3097 * The password.
3098 */
3099 Password?: String;
3100 /**
3101 * The length of time (in minutes) that the grant is valid. When the grant expires, at the end of this period, the user will no longer be able to use the credentials to log in. If they are logged in at the time, they will be automatically logged out.
3102 */
3103 ValidForInMinutes?: Integer;
3104 /**
3105 * The instance's AWS OpsWorks Stacks ID.
3106 */
3107 InstanceId?: String;
3108 }
3109 export interface TimeBasedAutoScalingConfiguration {
3110 /**
3111 * The instance ID.
3112 */
3113 InstanceId?: String;
3114 /**
3115 * A WeeklyAutoScalingSchedule object with the instance schedule.
3116 */
3117 AutoScalingSchedule?: WeeklyAutoScalingSchedule;
3118 }
3119 export type TimeBasedAutoScalingConfigurations = TimeBasedAutoScalingConfiguration[];
3120 export interface UnassignInstanceRequest {
3121 /**
3122 * The instance ID.
3123 */
3124 InstanceId: String;
3125 }
3126 export interface UnassignVolumeRequest {
3127 /**
3128 * The volume ID.
3129 */
3130 VolumeId: String;
3131 }
3132 export interface UntagResourceRequest {
3133 /**
3134 * The stack or layer's Amazon Resource Number (ARN).
3135 */
3136 ResourceArn: ResourceArn;
3137 /**
3138 * A list of the keys of tags to be removed from a stack or layer.
3139 */
3140 TagKeys: TagKeys;
3141 }
3142 export interface UpdateAppRequest {
3143 /**
3144 * The app ID.
3145 */
3146 AppId: String;
3147 /**
3148 * The app name.
3149 */
3150 Name?: String;
3151 /**
3152 * A description of the app.
3153 */
3154 Description?: String;
3155 /**
3156 * The app's data sources.
3157 */
3158 DataSources?: DataSources;
3159 /**
3160 * The app type.
3161 */
3162 Type?: AppType;
3163 /**
3164 * A Source object that specifies the app repository.
3165 */
3166 AppSource?: Source;
3167 /**
3168 * The app's virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'
3169 */
3170 Domains?: Strings;
3171 /**
3172 * Whether SSL is enabled for the app.
3173 */
3174 EnableSsl?: Boolean;
3175 /**
3176 * An SslConfiguration object with the SSL configuration.
3177 */
3178 SslConfiguration?: SslConfiguration;
3179 /**
3180 * One or more user-defined key/value pairs to be added to the stack attributes.
3181 */
3182 Attributes?: AppAttributes;
3183 /**
3184 * An array of EnvironmentVariable objects that specify environment variables to be associated with the app. After you deploy the app, these variables are defined on the associated app server instances.For more information, see Environment Variables. There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variables' names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 20 KB)." If you have specified one or more environment variables, you cannot modify the stack's Chef version.
3185 */
3186 Environment?: EnvironmentVariables;
3187 }
3188 export interface UpdateElasticIpRequest {
3189 /**
3190 * The IP address for which you want to update the name.
3191 */
3192 ElasticIp: String;
3193 /**
3194 * The new name.
3195 */
3196 Name?: String;
3197 }
3198 export interface UpdateInstanceRequest {
3199 /**
3200 * The instance ID.
3201 */
3202 InstanceId: String;
3203 /**
3204 * The instance's layer IDs.
3205 */
3206 LayerIds?: Strings;
3207 /**
3208 * The instance type, such as t2.micro. For a list of supported instance types, open the stack in the console, choose Instances, and choose + Instance. The Size list contains the currently supported types. For more information, see Instance Families and Types. The parameter values that you use to specify the various types are in the API Name column of the Available Instance Types table.
3209 */
3210 InstanceType?: String;
3211 /**
3212 * For load-based or time-based instances, the type. Windows stacks can use only time-based instances.
3213 */
3214 AutoScalingType?: AutoScalingType;
3215 /**
3216 * The instance host name.
3217 */
3218 Hostname?: String;
3219 /**
3220 * The instance's operating system, which must be set to one of the following. You cannot update an instance that is using a custom AMI. A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03. A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS. CentOS Linux 7 Red Hat Enterprise Linux 7 A supported Windows operating system, such as Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web. For more information about supported operating systems, see AWS OpsWorks Stacks Operating Systems. The default option is the current Amazon Linux version. If you set this parameter to Custom, you must use the AmiId parameter to specify the custom AMI that you want to use. For more information about supported operating systems, see Operating Systems. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs. You can specify a different Linux operating system for the updated stack, but you cannot change from Linux to Windows or Windows to Linux.
3221 */
3222 Os?: String;
3223 /**
3224 * The ID of the AMI that was used to create the instance. The value of this parameter must be the same AMI ID that the instance is already using. You cannot apply a new AMI to an instance by running UpdateInstance. UpdateInstance does not work on instances that are using custom AMIs.
3225 */
3226 AmiId?: String;
3227 /**
3228 * The instance's Amazon EC2 key name.
3229 */
3230 SshKeyName?: String;
3231 /**
3232 * The instance architecture. Instance types do not necessarily support both architectures. For a list of the architectures that are supported by the different instance types, see Instance Families and Types.
3233 */
3234 Architecture?: Architecture;
3235 /**
3236 * Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or by manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates.
3237 */
3238 InstallUpdatesOnBoot?: Boolean;
3239 /**
3240 * This property cannot be updated.
3241 */
3242 EbsOptimized?: Boolean;
3243 /**
3244 * The default AWS OpsWorks Stacks agent version. You have the following options: INHERIT - Use the stack's default agent version setting. version_number - Use the specified agent version. This value overrides the stack's default setting. To update the agent version, you must edit the instance configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the instance. The default setting is INHERIT. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions. AgentVersion cannot be set to Chef 12.2.
3245 */
3246 AgentVersion?: String;
3247 }
3248 export interface UpdateLayerRequest {
3249 /**
3250 * The layer ID.
3251 */
3252 LayerId: String;
3253 /**
3254 * The layer name, which is used by the console.
3255 */
3256 Name?: String;
3257 /**
3258 * For custom layers only, use this parameter to specify the layer's short name, which is used internally by AWS OpsWorks Stacks and by Chef. The short name is also used as the name for the directory where your app files are installed. It can have a maximum of 200 characters and must be in the following format: /\A[a-z0-9\-\_\.]+\Z/. The built-in layers' short names are defined by AWS OpsWorks Stacks. For more information, see the Layer Reference
3259 */
3260 Shortname?: String;
3261 /**
3262 * One or more user-defined key/value pairs to be added to the stack attributes.
3263 */
3264 Attributes?: LayerAttributes;
3265 /**
3266 * Specifies CloudWatch Logs configuration options for the layer. For more information, see CloudWatchLogsLogStream.
3267 */
3268 CloudWatchLogsConfiguration?: CloudWatchLogsConfiguration;
3269 /**
3270 * The ARN of an IAM profile to be used for all of the layer's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
3271 */
3272 CustomInstanceProfileArn?: String;
3273 /**
3274 * A JSON-formatted string containing custom stack configuration and deployment attributes to be installed on the layer's instances. For more information, see Using Custom JSON.
3275 */
3276 CustomJson?: String;
3277 /**
3278 * An array containing the layer's custom security group IDs.
3279 */
3280 CustomSecurityGroupIds?: Strings;
3281 /**
3282 * An array of Package objects that describe the layer's packages.
3283 */
3284 Packages?: Strings;
3285 /**
3286 * A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
3287 */
3288 VolumeConfigurations?: VolumeConfigurations;
3289 /**
3290 * Whether to disable auto healing for the layer.
3291 */
3292 EnableAutoHealing?: Boolean;
3293 /**
3294 * Whether to automatically assign an Elastic IP address to the layer's instances. For more information, see How to Edit a Layer.
3295 */
3296 AutoAssignElasticIps?: Boolean;
3297 /**
3298 * For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's instances. For more information, see How to Edit a Layer.
3299 */
3300 AutoAssignPublicIps?: Boolean;
3301 /**
3302 * A LayerCustomRecipes object that specifies the layer's custom recipes.
3303 */
3304 CustomRecipes?: Recipes;
3305 /**
3306 * Whether to install operating system and package updates when the instance boots. The default value is true. To control when updates are installed, set this value to false. You must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates.
3307 */
3308 InstallUpdatesOnBoot?: Boolean;
3309 /**
3310 * Whether to use Amazon EBS-optimized instances.
3311 */
3312 UseEbsOptimizedInstances?: Boolean;
3313 /**
3314 *
3315 */
3316 LifecycleEventConfiguration?: LifecycleEventConfiguration;
3317 }
3318 export interface UpdateMyUserProfileRequest {
3319 /**
3320 * The user's SSH public key.
3321 */
3322 SshPublicKey?: String;
3323 }
3324 export interface UpdateRdsDbInstanceRequest {
3325 /**
3326 * The Amazon RDS instance's ARN.
3327 */
3328 RdsDbInstanceArn: String;
3329 /**
3330 * The master user name.
3331 */
3332 DbUser?: String;
3333 /**
3334 * The database password.
3335 */
3336 DbPassword?: String;
3337 }
3338 export interface UpdateStackRequest {
3339 /**
3340 * The stack ID.
3341 */
3342 StackId: String;
3343 /**
3344 * The stack's new name.
3345 */
3346 Name?: String;
3347 /**
3348 * One or more user-defined key-value pairs to be added to the stack attributes.
3349 */
3350 Attributes?: StackAttributes;
3351 /**
3352 * Do not use this parameter. You cannot update a stack's service role.
3353 */
3354 ServiceRoleArn?: String;
3355 /**
3356 * The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
3357 */
3358 DefaultInstanceProfileArn?: String;
3359 /**
3360 * The stack's operating system, which must be set to one of the following: A supported Linux operating system: An Amazon Linux version, such as Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux 2015.03. A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu 14.04 LTS, or Ubuntu 12.04 LTS. CentOS Linux 7 Red Hat Enterprise Linux 7 A supported Windows operating system, such as Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web. A custom AMI: Custom. You specify the custom AMI you want to use when you create instances. For more information about how to use custom AMIs with OpsWorks, see Using Custom AMIs. The default option is the stack's current operating system. For more information about supported operating systems, see AWS OpsWorks Stacks Operating Systems.
3361 */
3362 DefaultOs?: String;
3363 /**
3364 * The stack's new host name theme, with spaces replaced by underscores. The theme is used to generate host names for the stack's instances. By default, HostnameTheme is set to Layer_Dependent, which creates host names by appending integers to the layer's short name. The other themes are: Baked_Goods Clouds Europe_Cities Fruits Greek_Deities_and_Titans Legendary_creatures_from_Japan Planets_and_Moons Roman_Deities Scottish_Islands US_Cities Wild_Cats To obtain a generated host name, call GetHostNameSuggestion, which returns a host name based on the current theme.
3365 */
3366 HostnameTheme?: String;
3367 /**
3368 * The stack's default Availability Zone, which must be in the stack's region. For more information, see Regions and Endpoints. If you also specify a value for DefaultSubnetId, the subnet must be in the same zone. For more information, see CreateStack.
3369 */
3370 DefaultAvailabilityZone?: String;
3371 /**
3372 * The stack's default VPC subnet ID. This parameter is required if you specify a value for the VpcId parameter. All instances are launched into this subnet unless you specify otherwise when you create the instance. If you also specify a value for DefaultAvailabilityZone, the subnet must be in that zone. For information on default values and when this parameter is required, see the VpcId parameter description.
3373 */
3374 DefaultSubnetId?: String;
3375 /**
3376 * A string that contains user-defined, custom JSON. It can be used to override the corresponding default stack configuration JSON values or to pass data to recipes. The string should be in the following format: "{\"key1\": \"value1\", \"key2\": \"value2\",...}" For more information about custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
3377 */
3378 CustomJson?: String;
3379 /**
3380 * The configuration manager. When you update a stack, we recommend that you use the configuration manager to specify the Chef version: 12, 11.10, or 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for Linux stacks is currently 12.
3381 */
3382 ConfigurationManager?: StackConfigurationManager;
3383 /**
3384 * A ChefConfiguration object that specifies whether to enable Berkshelf and the Berkshelf version on Chef 11.10 stacks. For more information, see Create a New Stack.
3385 */
3386 ChefConfiguration?: ChefConfiguration;
3387 /**
3388 * Whether the stack uses custom cookbooks.
3389 */
3390 UseCustomCookbooks?: Boolean;
3391 /**
3392 * Contains the information required to retrieve an app or cookbook from a repository. For more information, see Adding Apps or Cookbooks and Recipes.
3393 */
3394 CustomCookbooksSource?: Source;
3395 /**
3396 * A default Amazon EC2 key-pair name. The default value is none. If you specify a key-pair name, AWS OpsWorks Stacks installs the public key on the instance and you can use the private key with an SSH client to log in to the instance. For more information, see Using SSH to Communicate with an Instance and Managing SSH Access. You can override this setting by specifying a different key pair, or no key pair, when you create an instance.
3397 */
3398 DefaultSshKeyName?: String;
3399 /**
3400 * The default root device type. This value is used by default for all instances in the stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
3401 */
3402 DefaultRootDeviceType?: RootDeviceType;
3403 /**
3404 * Whether to associate the AWS OpsWorks Stacks built-in security groups with the stack's layers. AWS OpsWorks Stacks provides a standard set of built-in security groups, one for each layer, which are associated with layers by default. UseOpsworksSecurityGroups allows you to provide your own custom security groups instead of using the built-in groups. UseOpsworksSecurityGroups has the following settings: True - AWS OpsWorks Stacks automatically associates the appropriate built-in security group with each layer (default setting). You can associate additional security groups with a layer after you create it, but you cannot delete the built-in security group. False - AWS OpsWorks Stacks does not associate built-in security groups with layers. You must create appropriate EC2 security groups and associate a security group with each layer that you create. However, you can still manually associate a built-in security group with a layer on. Custom security groups are required only for those layers that need custom settings. For more information, see Create a New Stack.
3405 */
3406 UseOpsworksSecurityGroups?: Boolean;
3407 /**
3408 * The default AWS OpsWorks Stacks agent version. You have the following options: Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically installs new agent versions on the stack's instances as soon as they are available. Fixed version - Set this parameter to your preferred agent version. To update the agent version, you must edit the stack configuration and specify a new version. AWS OpsWorks Stacks then automatically installs that version on the stack's instances. The default setting is LATEST. To specify an agent version, you must use the complete version number, not the abbreviated number shown on the console. For a list of available agent version numbers, call DescribeAgentVersions. AgentVersion cannot be set to Chef 12.2. You can also specify an agent version when you create or update an instance, which overrides the stack's default setting.
3409 */
3410 AgentVersion?: String;
3411 }
3412 export interface UpdateUserProfileRequest {
3413 /**
3414 * The user IAM ARN. This can also be a federated user's ARN.
3415 */
3416 IamUserArn: String;
3417 /**
3418 * The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks Stacks removes them. For example, my.name will be changed to myname. If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from the IAM user name.
3419 */
3420 SshUsername?: String;
3421 /**
3422 * The user's new SSH public key.
3423 */
3424 SshPublicKey?: String;
3425 /**
3426 * Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
3427 */
3428 AllowSelfManagement?: Boolean;
3429 }
3430 export interface UpdateVolumeRequest {
3431 /**
3432 * The volume ID.
3433 */
3434 VolumeId: String;
3435 /**
3436 * The new name.
3437 */
3438 Name?: String;
3439 /**
3440 * The new mount point.
3441 */
3442 MountPoint?: String;
3443 }
3444 export interface UserProfile {
3445 /**
3446 * The user's IAM ARN.
3447 */
3448 IamUserArn?: String;
3449 /**
3450 * The user's name.
3451 */
3452 Name?: String;
3453 /**
3454 * The user's SSH user name.
3455 */
3456 SshUsername?: String;
3457 /**
3458 * The user's SSH public key.
3459 */
3460 SshPublicKey?: String;
3461 /**
3462 * Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
3463 */
3464 AllowSelfManagement?: Boolean;
3465 }
3466 export type UserProfiles = UserProfile[];
3467 export type ValidForInMinutes = number;
3468 export type VirtualizationType = "paravirtual"|"hvm"|string;
3469 export interface Volume {
3470 /**
3471 * The volume ID.
3472 */
3473 VolumeId?: String;
3474 /**
3475 * The Amazon EC2 volume ID.
3476 */
3477 Ec2VolumeId?: String;
3478 /**
3479 * The volume name.
3480 */
3481 Name?: String;
3482 /**
3483 * The RAID array ID.
3484 */
3485 RaidArrayId?: String;
3486 /**
3487 * The instance ID.
3488 */
3489 InstanceId?: String;
3490 /**
3491 * The value returned by DescribeVolumes.
3492 */
3493 Status?: String;
3494 /**
3495 * The volume size.
3496 */
3497 Size?: Integer;
3498 /**
3499 * The device name.
3500 */
3501 Device?: String;
3502 /**
3503 * The volume mount point. For example, "/mnt/disk1".
3504 */
3505 MountPoint?: String;
3506 /**
3507 * The AWS region. For more information about AWS regions, see Regions and Endpoints.
3508 */
3509 Region?: String;
3510 /**
3511 * The volume Availability Zone. For more information, see Regions and Endpoints.
3512 */
3513 AvailabilityZone?: String;
3514 /**
3515 * The volume type. For more information, see Amazon EBS Volume Types. standard - Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum size of 1024 GiB. io1 - Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a maximum size of 16384 GiB. gp2 - General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB and a maximum size of 16384 GiB. st1 - Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB. sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.
3516 */
3517 VolumeType?: String;
3518 /**
3519 * For PIOPS volumes, the IOPS per disk.
3520 */
3521 Iops?: Integer;
3522 /**
3523 * Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.
3524 */
3525 Encrypted?: Boolean;
3526 }
3527 export interface VolumeConfiguration {
3528 /**
3529 * The volume mount point. For example "/dev/sdh".
3530 */
3531 MountPoint: String;
3532 /**
3533 * The volume RAID level.
3534 */
3535 RaidLevel?: Integer;
3536 /**
3537 * The number of disks in the volume.
3538 */
3539 NumberOfDisks: Integer;
3540 /**
3541 * The volume size.
3542 */
3543 Size: Integer;
3544 /**
3545 * The volume type. For more information, see Amazon EBS Volume Types. standard - Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum size of 1024 GiB. io1 - Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a maximum size of 16384 GiB. gp2 - General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB and a maximum size of 16384 GiB. st1 - Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB. sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.
3546 */
3547 VolumeType?: String;
3548 /**
3549 * For PIOPS volumes, the IOPS per disk.
3550 */
3551 Iops?: Integer;
3552 /**
3553 * Specifies whether an Amazon EBS volume is encrypted. For more information, see Amazon EBS Encryption.
3554 */
3555 Encrypted?: Boolean;
3556 }
3557 export type VolumeConfigurations = VolumeConfiguration[];
3558 export type VolumeType = "gp2"|"io1"|"standard"|string;
3559 export type Volumes = Volume[];
3560 export interface WeeklyAutoScalingSchedule {
3561 /**
3562 * The schedule for Monday.
3563 */
3564 Monday?: DailyAutoScalingSchedule;
3565 /**
3566 * The schedule for Tuesday.
3567 */
3568 Tuesday?: DailyAutoScalingSchedule;
3569 /**
3570 * The schedule for Wednesday.
3571 */
3572 Wednesday?: DailyAutoScalingSchedule;
3573 /**
3574 * The schedule for Thursday.
3575 */
3576 Thursday?: DailyAutoScalingSchedule;
3577 /**
3578 * The schedule for Friday.
3579 */
3580 Friday?: DailyAutoScalingSchedule;
3581 /**
3582 * The schedule for Saturday.
3583 */
3584 Saturday?: DailyAutoScalingSchedule;
3585 /**
3586 * The schedule for Sunday.
3587 */
3588 Sunday?: DailyAutoScalingSchedule;
3589 }
3590 /**
3591 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
3592 */
3593 export type apiVersion = "2013-02-18"|"latest"|string;
3594 export interface ClientApiVersions {
3595 /**
3596 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
3597 */
3598 apiVersion?: apiVersion;
3599 }
3600 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
3601 /**
3602 * Contains interfaces for use with the OpsWorks client.
3603 */
3604 export import Types = OpsWorks;
3605}
3606export = OpsWorks;