We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4377a5 commit 7621439Copy full SHA for 7621439
packages/aws-cdk-lib/aws-ec2/lib/instance.ts
@@ -630,7 +630,7 @@ export class Instance extends Resource implements IInstance {
630
* - Add commands to the instance UserData to run `cfn-init` and `cfn-signal`.
631
* - Update the instance's CreationPolicy to wait for the `cfn-signal` commands.
632
*/
633
- private applyCloudFormationInit(init: CloudFormationInit, options: ApplyCloudFormationInitOptions = {}) {
+ public applyCloudFormationInit(init: CloudFormationInit, options: ApplyCloudFormationInitOptions = {}) {
634
init.attach(this.instance, {
635
platform: this.osType,
636
instanceRole: this.role,
0 commit comments