Skip to content

Resource: awsEc2SerialConsoleAccess

Provides a resource to manage whether serial console access is enabled for your AWS account in the current AWS region.

\~> NOTE: Removing this Terraform resource disables serial console access.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.ec2SerialConsoleAccess.Ec2SerialConsoleAccess(this, "example", {
  enabled: true,
});

Argument Reference

The following arguments are supported:

  • enabled - (Optional) Whether or not serial console access is enabled. Valid values are true or false. Defaults to true.

Attributes Reference

No additional attributes are exported.

Import

Serial console access state can be imported, e.g.,

$ terraform import aws_ec2_serial_console_access.example default