Documentation ¶
Overview ¶
Package controltower provides functionality for managing AWS Control Tower landing zones. Version: 1.0.0
Index ¶
Constants ¶
View Source
const ( // Role names RoleNameControlTowerAdmin = "AWSControlTowerAdmin" RoleNameCloudTrail = "AWSControlTowerCloudTrail" RoleNameStackSet = "AWSControlTowerStackSet" // Path prefixes ServiceRolePath = "/service-role/" // Resource naming CloudTrailName = "aws-controltower-trail" CloudWatchLogGroupName = "/aws/controltower/cloudtrail" // Retry configuration MaxRetryAttempts = 3 BaseRetryDelay = time.Second * 2 MaxRetryDelay = time.Second * 30 // Rate limiting RateLimit = 10 RateBurst = 20 )
Constants for resource naming and configuration
Variables ¶
This section is empty.
Functions ¶
func SetupLandingZone ¶
func SetupLandingZone(ctx *pulumi.Context, org *config.OrganizationSetup, cfg *config.LandingZoneConfig) error
SetupLandingZone configures the Control Tower landing zone
Types ¶
type LandingZone ¶
type LandingZone struct {
// contains filtered or unexported fields
}
LandingZone represents a Control Tower landing zone configuration
func NewLandingZone ¶
func NewLandingZone(ctx context.Context) (*LandingZone, error)
NewLandingZone creates a new landing zone instance
type LandingZoneService ¶
type LandingZoneService interface { Setup(ctx *pulumi.Context, org *config.OrganizationSetup, cfg *config.LandingZoneConfig) error EnableGuardrails(ctx *pulumi.Context, cfg *config.LandingZoneConfig) error ConfigureLogging(ctx *pulumi.Context, cfg *config.LandingZoneConfig) error Backup(ctx context.Context) error Restore(ctx context.Context, backupId string) error }
LandingZoneService defines the interface for landing zone operations
Click to show internal directories.
Click to hide internal directories.