Documentation ¶
Overview ¶
Package organization provides functionality for managing AWS Organizations. Version: 1.0.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RetryWithBackoff ¶
func RetryWithBackoff(operation func() error, config RetryConfig) error
RetryWithBackoff implements exponential backoff retry logic
Types ¶
type Organization ¶
type Organization struct {
// contains filtered or unexported fields
}
Organization represents an AWS Organization
func NewOrganization ¶
func NewOrganization(ctx *pulumi.Context, cfg *config.OrganizationConfig) (*Organization, error)
NewOrganization creates a new AWS Organization with the specified configuration
func (*Organization) Backup ¶
func (o *Organization) Backup(ctx context.Context) error
Backup creates a backup of the organization state
func (*Organization) Cleanup ¶
func (o *Organization) Cleanup() error
Cleanup performs cleanup operations
type OrganizationService ¶
type OrganizationService interface { CreateOU(ctx *pulumi.Context, name string, parentId pulumi.StringInput, tags pulumi.StringMap) (*organizations.OrganizationalUnit, error) CreateOUHierarchy(ctx *pulumi.Context, parent pulumi.StringInput, ouConfig *config.OUConfig, tags pulumi.StringMap) (*organizations.OrganizationalUnit, map[string]*organizations.OrganizationalUnit, error) Backup(ctx context.Context) error Restore(ctx context.Context, backupId string) error }
OrganizationService defines the interface for organization operations
type RetryConfig ¶
RetryConfig defines the configuration for retry operations
Click to show internal directories.
Click to hide internal directories.