AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Lightsail::Instance

CfnInstance

L1 CloudFormation construct for AWS::Lightsail::Instance

Import

import { CfnInstance } from 'aws-cdk-lib/aws-lightsail';

Or use the module namespace:

import * as lightsail from 'aws-cdk-lib/aws-lightsail';
// lightsail.CfnInstance

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter