serial_console_accesses
Creates, updates, deletes, gets or lists a serial_console_accesses resource.
Overview​
| Name | serial_console_accesses |
| Type | Resource |
| Id | aws.ec2.serial_console_accesses |
Fields​
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
disable_serial_console_access | exec | region | DryRun | Disables access to the EC2 serial console of all instances for your account. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide. |
enable_serial_console_access | exec | region | DryRun | Enables access to the EC2 serial console of all instances for your account. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
DryRun | boolean | Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. |
Lifecycle Methods​
- disable_serial_console_access
- enable_serial_console_access
Disables access to the EC2 serial console of all instances for your account. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.
EXEC aws.ec2.serial_console_accesses.disable_serial_console_access
@region='{{ region }}' --required,
@DryRun={{ DryRun }}
;
Enables access to the EC2 serial console of all instances for your account. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.
EXEC aws.ec2.serial_console_accesses.enable_serial_console_access
@region='{{ region }}' --required,
@DryRun={{ DryRun }}
;