Documentation ¶
Index ¶
- type Account
- func (a Account) AllBaselineStacks() []Stack
- func (a Account) AllTags() []string
- func (a Account) AssumeRoleARN() string
- func (a Account) FilterBaselineStacks(stackNames string) []Stack
- func (a Account) FilterServiceControlPolicies(stackNames string) []Stack
- func (a Account) ID() string
- func (a Account) IsAWS() bool
- func (a Account) IsProvisioned() bool
- func (a Account) Name() string
- func (a Account) Type() string
- type OrganizationUnit
- func (grp OrganizationUnit) AllBaselineStacks() []Stack
- func (grp OrganizationUnit) AllDescendentAccounts() []*Account
- func (grp OrganizationUnit) AllDescendentOUs() []*OrganizationUnit
- func (grp OrganizationUnit) AllTags() []string
- func (grp OrganizationUnit) DelegatedAdministrator() *Account
- func (grp OrganizationUnit) ID() string
- func (grp OrganizationUnit) ManagementAccount() *Account
- func (grp OrganizationUnit) Name() string
- func (grp OrganizationUnit) Type() string
- type Resource
- type Stack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Email string `yaml:"Email"` AccountName string `yaml:"AccountName"` State string `yaml:"State,omitempty"` AccountID string `yaml:"-"` AssumeRoleName string `yaml:"AssumeRoleName,omitempty"` Tags []string `yaml:"Tags,omitempty"` BaselineStacks []Stack `yaml:"Stacks,omitempty"` ServiceControlPolicies []Stack `yaml:"ServiceControlPolicies,omitempty"` ManagementAccount bool `yaml:"-"` DelegatedAdministrator bool `yaml:"DelegatedAdministrator,omitempty"` Parent *OrganizationUnit `yaml:"-"` }
func (Account) AllBaselineStacks ¶
func (Account) AssumeRoleARN ¶
func (Account) FilterBaselineStacks ¶
func (Account) FilterServiceControlPolicies ¶
func (Account) IsProvisioned ¶
type OrganizationUnit ¶ added in v0.4.0
type OrganizationUnit struct { OUID *string `yaml:"-"` OUName string `yaml:"Name,omitempty"` ChildGroups []*OrganizationUnit `yaml:"AccountGroups,omitempty"` // Deprecated. Use `OrganizationUnits` ChildOUs []*OrganizationUnit `yaml:"OrganizationUnits,omitempty"` Tags []string `yaml:"Tags,omitempty"` Accounts []*Account `yaml:"Accounts,omitempty"` BaselineStacks []Stack `yaml:"Stacks,omitempty"` ServiceControlPolicies []Stack `yaml:"ServiceControlPolicies,omitempty"` Parent *OrganizationUnit `yaml:"-"` }
func (OrganizationUnit) AllBaselineStacks ¶ added in v0.4.0
func (grp OrganizationUnit) AllBaselineStacks() []Stack
func (OrganizationUnit) AllDescendentAccounts ¶ added in v0.4.0
func (grp OrganizationUnit) AllDescendentAccounts() []*Account
func (OrganizationUnit) AllDescendentOUs ¶ added in v0.4.0
func (grp OrganizationUnit) AllDescendentOUs() []*OrganizationUnit
func (OrganizationUnit) AllTags ¶ added in v0.4.0
func (grp OrganizationUnit) AllTags() []string
func (OrganizationUnit) DelegatedAdministrator ¶ added in v0.5.0
func (grp OrganizationUnit) DelegatedAdministrator() *Account
This should only be called from the Root OU.
func (OrganizationUnit) ID ¶ added in v0.4.0
func (grp OrganizationUnit) ID() string
func (OrganizationUnit) ManagementAccount ¶ added in v0.5.0
func (grp OrganizationUnit) ManagementAccount() *Account
This should only be called from the Root OU.
func (OrganizationUnit) Name ¶ added in v0.4.0
func (grp OrganizationUnit) Name() string
func (OrganizationUnit) Type ¶ added in v0.4.0
func (grp OrganizationUnit) Type() string
type Stack ¶
type Stack struct { Name string `yaml:"Name"` Type string `yaml:"Type"` Path string `yaml:"Path"` Region string `yaml:"Region,omitempty"` RoleOverrideARN string `yaml:"RoleOverrideARN,omitempty"` Workspace string `yaml:"Workspace,omitempty"` }
func (Stack) AWSRegionEnv ¶ added in v0.5.4
func (Stack) WorkspaceEnabled ¶ added in v0.5.4
Click to show internal directories.
Click to hide internal directories.