aws cloudformation start stop instance

AWSTemplateFormatVersion: '2010-09-09' Description: 'Lambda function to start and stop an instance based on a schedule' Parameters: InstanceIds: Type: 'List<AWS::EC2::Instance::Id>' Description: 'The instances to start/stop on a schedule' StartCron: Type: String Description: 'The schedule expression to start the instance' StopCron: Type: String Description: 'The schedule expression to stop the instance' Resources: FunctionRole: Type: 'AWS::IAM::Role' Properties: AssumeRolePolicyDocument: … Continue reading aws cloudformation start stop instance