Turbot Guardrails Hub 
Hub
  • Mods
  • Policy Packs
  • Docs
  • Home
ModsPolicy PacksDocsHome
Mods
AWS
Loading policies...

Policy: AWS > EC2 > Instance > Schedule

Set a schedule for starting and stopping an AWS EC2 instance.

The with Tag override options enforce the selected schedule, but allow individual instances to override it with a schedule of their own via the tag named in the AWS > EC2 > Instance > Schedule > Tag policy. The Enforce: Per Schedule > Tag schedule option enforces only the schedule defined by that tag.

Targets

This policy targets the following resource types:

  • AWS > EC2 > Instance

Related Policies

  • Schedule Tag [Deprecated]
  • Tag

Controls

Setting this policy configures this control:

  • AWS > EC2 > Instance > Schedule

Policy Specification

Schema Type
string
Default
Skip
Valid Values [YAML]
  • Skip
    
  • Enforce: Business hours (8:00am - 6:00pm on weekdays)
    
  • Enforce: Business hours (8:00am - 6:00pm on weekdays) with Tag override
    
  • Enforce: Extended business hours (7:00am - 11:00pm on weekdays)
    
  • >-
      Enforce: Extended business hours (7:00am - 11:00pm on weekdays) with Tag
      override
    
  • Enforce: Stop for night (stop at 10:00pm every day)
    
  • Enforce: Stop for night (stop at 10:00pm every day) with Tag override
    
  • Enforce: Stop for weekend (stop at 10:00pm on Friday)
    
  • Enforce: Stop for weekend (stop at 10:00pm on Friday) with Tag override
    
  • Enforce: Per Schedule > Tag schedule
    
Examples [YAML]
  • Enforce: Business hours (8:00am - 6:00pm on weekdays)
    

Category

  • Resource > Schedule

In Your Workspace

  • Policy Settings by Type report

Developers

    Category URI
    • tmod:@turbot/turbot#/control/categories/resourceSchedule
  • Policy Type URI
    • tmod:@turbot/aws-ec2#/policy/types/instanceSchedule
  • GraphQL
    • query policyType(id: "tmod:@turbot/aws-ec2#/policy/types/instanceSchedule") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/aws-ec2#/policy/types/instanceSchedule'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/aws-ec2#/policy/types/instanceSchedule'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/aws-ec2#/policy/types/instanceSchedule"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/aws-ec2#/policy/types/instanceSchedule"
Guardrails
Guardrails Hub
  • Hub
  • Docs
  • Blog
  • Changelog
Products
  • GuardrailsGuardrails
  • PipesPipes
  • SteampipeSteampipe
  • PowerpipePowerpipe
  • FlowpipeFlowpipe
  • TailpipeTailpipe
Turbot
  • Home
  • About us
  • We're hiring!
  • Contact us
Community

Our community of practitioners love to discuss cloud governance & security.

Slack logoJoin us on Slack →

System StatusLegalSecurity
Terms of UseSecurityPrivacy
181
Mods
521
Resource Types
9,179
Policies
3,583
Controls
1,955
Quick Actions
547
IAM