Documentation ¶
Index ¶
- type AmiDistributionConfiguration
- type AmiDistributionConfigurationAttributes
- func (adc AmiDistributionConfigurationAttributes) AmiTags() terra.MapValue[terra.StringValue]
- func (adc AmiDistributionConfigurationAttributes) Description() terra.StringValue
- func (adc AmiDistributionConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (adc AmiDistributionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (adc AmiDistributionConfigurationAttributes) InternalWithRef(ref terra.Reference) AmiDistributionConfigurationAttributes
- func (adc AmiDistributionConfigurationAttributes) KmsKeyId() terra.StringValue
- func (adc AmiDistributionConfigurationAttributes) LaunchPermission() terra.ListValue[LaunchPermissionAttributes]
- func (adc AmiDistributionConfigurationAttributes) Name() terra.StringValue
- func (adc AmiDistributionConfigurationAttributes) TargetAccountIds() terra.SetValue[terra.StringValue]
- type AmiDistributionConfigurationState
- type ContainerDistributionConfiguration
- type ContainerDistributionConfigurationAttributes
- func (cdc ContainerDistributionConfigurationAttributes) ContainerTags() terra.SetValue[terra.StringValue]
- func (cdc ContainerDistributionConfigurationAttributes) Description() terra.StringValue
- func (cdc ContainerDistributionConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (cdc ContainerDistributionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cdc ContainerDistributionConfigurationAttributes) InternalWithRef(ref terra.Reference) ContainerDistributionConfigurationAttributes
- func (cdc ContainerDistributionConfigurationAttributes) TargetRepository() terra.ListValue[TargetRepositoryAttributes]
- type ContainerDistributionConfigurationState
- type Distribution
- type DistributionAttributes
- func (d DistributionAttributes) AmiDistributionConfiguration() terra.ListValue[AmiDistributionConfigurationAttributes]
- func (d DistributionAttributes) ContainerDistributionConfiguration() terra.ListValue[ContainerDistributionConfigurationAttributes]
- func (d DistributionAttributes) FastLaunchConfiguration() terra.SetValue[FastLaunchConfigurationAttributes]
- func (d DistributionAttributes) InternalRef() (terra.Reference, error)
- func (d DistributionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DistributionAttributes) InternalWithRef(ref terra.Reference) DistributionAttributes
- func (d DistributionAttributes) LaunchTemplateConfiguration() terra.SetValue[LaunchTemplateConfigurationAttributes]
- func (d DistributionAttributes) LicenseConfigurationArns() terra.SetValue[terra.StringValue]
- func (d DistributionAttributes) Region() terra.StringValue
- type DistributionState
- type FastLaunchConfiguration
- type FastLaunchConfigurationAttributes
- func (flc FastLaunchConfigurationAttributes) AccountId() terra.StringValue
- func (flc FastLaunchConfigurationAttributes) Enabled() terra.BoolValue
- func (flc FastLaunchConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (flc FastLaunchConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (flc FastLaunchConfigurationAttributes) InternalWithRef(ref terra.Reference) FastLaunchConfigurationAttributes
- func (flc FastLaunchConfigurationAttributes) LaunchTemplate() terra.ListValue[LaunchTemplateAttributes]
- func (flc FastLaunchConfigurationAttributes) MaxParallelLaunches() terra.NumberValue
- func (flc FastLaunchConfigurationAttributes) SnapshotConfiguration() terra.ListValue[SnapshotConfigurationAttributes]
- type FastLaunchConfigurationState
- type LaunchPermission
- type LaunchPermissionAttributes
- func (lp LaunchPermissionAttributes) InternalRef() (terra.Reference, error)
- func (lp LaunchPermissionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lp LaunchPermissionAttributes) InternalWithRef(ref terra.Reference) LaunchPermissionAttributes
- func (lp LaunchPermissionAttributes) OrganizationArns() terra.SetValue[terra.StringValue]
- func (lp LaunchPermissionAttributes) OrganizationalUnitArns() terra.SetValue[terra.StringValue]
- func (lp LaunchPermissionAttributes) UserGroups() terra.SetValue[terra.StringValue]
- func (lp LaunchPermissionAttributes) UserIds() terra.SetValue[terra.StringValue]
- type LaunchPermissionState
- type LaunchTemplate
- type LaunchTemplateAttributes
- func (lt LaunchTemplateAttributes) InternalRef() (terra.Reference, error)
- func (lt LaunchTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lt LaunchTemplateAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateAttributes
- func (lt LaunchTemplateAttributes) LaunchTemplateId() terra.StringValue
- func (lt LaunchTemplateAttributes) LaunchTemplateName() terra.StringValue
- func (lt LaunchTemplateAttributes) LaunchTemplateVersion() terra.StringValue
- type LaunchTemplateConfiguration
- type LaunchTemplateConfigurationAttributes
- func (ltc LaunchTemplateConfigurationAttributes) AccountId() terra.StringValue
- func (ltc LaunchTemplateConfigurationAttributes) Default() terra.BoolValue
- func (ltc LaunchTemplateConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ltc LaunchTemplateConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ltc LaunchTemplateConfigurationAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateConfigurationAttributes
- func (ltc LaunchTemplateConfigurationAttributes) LaunchTemplateId() terra.StringValue
- type LaunchTemplateConfigurationState
- type LaunchTemplateState
- type SnapshotConfiguration
- type SnapshotConfigurationAttributes
- func (sc SnapshotConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (sc SnapshotConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc SnapshotConfigurationAttributes) InternalWithRef(ref terra.Reference) SnapshotConfigurationAttributes
- func (sc SnapshotConfigurationAttributes) TargetResourceCount() terra.NumberValue
- type SnapshotConfigurationState
- type TargetRepository
- type TargetRepositoryAttributes
- func (tr TargetRepositoryAttributes) InternalRef() (terra.Reference, error)
- func (tr TargetRepositoryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tr TargetRepositoryAttributes) InternalWithRef(ref terra.Reference) TargetRepositoryAttributes
- func (tr TargetRepositoryAttributes) RepositoryName() terra.StringValue
- func (tr TargetRepositoryAttributes) Service() terra.StringValue
- type TargetRepositoryState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmiDistributionConfiguration ¶
type AmiDistributionConfiguration struct { // AmiTags: map of string, optional AmiTags terra.MapValue[terra.StringValue] `hcl:"ami_tags,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // KmsKeyId: string, optional KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // TargetAccountIds: set of string, optional TargetAccountIds terra.SetValue[terra.StringValue] `hcl:"target_account_ids,attr"` // LaunchPermission: optional LaunchPermission *LaunchPermission `hcl:"launch_permission,block"` }
type AmiDistributionConfigurationAttributes ¶
type AmiDistributionConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (AmiDistributionConfigurationAttributes) AmiTags ¶
func (adc AmiDistributionConfigurationAttributes) AmiTags() terra.MapValue[terra.StringValue]
func (AmiDistributionConfigurationAttributes) Description ¶
func (adc AmiDistributionConfigurationAttributes) Description() terra.StringValue
func (AmiDistributionConfigurationAttributes) InternalRef ¶
func (adc AmiDistributionConfigurationAttributes) InternalRef() (terra.Reference, error)
func (AmiDistributionConfigurationAttributes) InternalTokens ¶
func (adc AmiDistributionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AmiDistributionConfigurationAttributes) InternalWithRef ¶
func (adc AmiDistributionConfigurationAttributes) InternalWithRef(ref terra.Reference) AmiDistributionConfigurationAttributes
func (AmiDistributionConfigurationAttributes) KmsKeyId ¶
func (adc AmiDistributionConfigurationAttributes) KmsKeyId() terra.StringValue
func (AmiDistributionConfigurationAttributes) LaunchPermission ¶
func (adc AmiDistributionConfigurationAttributes) LaunchPermission() terra.ListValue[LaunchPermissionAttributes]
func (AmiDistributionConfigurationAttributes) Name ¶
func (adc AmiDistributionConfigurationAttributes) Name() terra.StringValue
func (AmiDistributionConfigurationAttributes) TargetAccountIds ¶
func (adc AmiDistributionConfigurationAttributes) TargetAccountIds() terra.SetValue[terra.StringValue]
type AmiDistributionConfigurationState ¶
type AmiDistributionConfigurationState struct { AmiTags map[string]string `json:"ami_tags"` Description string `json:"description"` KmsKeyId string `json:"kms_key_id"` Name string `json:"name"` TargetAccountIds []string `json:"target_account_ids"` LaunchPermission []LaunchPermissionState `json:"launch_permission"` }
type ContainerDistributionConfiguration ¶
type ContainerDistributionConfiguration struct { // ContainerTags: set of string, optional ContainerTags terra.SetValue[terra.StringValue] `hcl:"container_tags,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // TargetRepository: required TargetRepository *TargetRepository `hcl:"target_repository,block" validate:"required"` }
type ContainerDistributionConfigurationAttributes ¶
type ContainerDistributionConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ContainerDistributionConfigurationAttributes) ContainerTags ¶
func (cdc ContainerDistributionConfigurationAttributes) ContainerTags() terra.SetValue[terra.StringValue]
func (ContainerDistributionConfigurationAttributes) Description ¶
func (cdc ContainerDistributionConfigurationAttributes) Description() terra.StringValue
func (ContainerDistributionConfigurationAttributes) InternalRef ¶
func (cdc ContainerDistributionConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ContainerDistributionConfigurationAttributes) InternalTokens ¶
func (cdc ContainerDistributionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContainerDistributionConfigurationAttributes) InternalWithRef ¶
func (cdc ContainerDistributionConfigurationAttributes) InternalWithRef(ref terra.Reference) ContainerDistributionConfigurationAttributes
func (ContainerDistributionConfigurationAttributes) TargetRepository ¶
func (cdc ContainerDistributionConfigurationAttributes) TargetRepository() terra.ListValue[TargetRepositoryAttributes]
type ContainerDistributionConfigurationState ¶
type ContainerDistributionConfigurationState struct { ContainerTags []string `json:"container_tags"` Description string `json:"description"` TargetRepository []TargetRepositoryState `json:"target_repository"` }
type Distribution ¶
type Distribution struct { // LicenseConfigurationArns: set of string, optional LicenseConfigurationArns terra.SetValue[terra.StringValue] `hcl:"license_configuration_arns,attr"` // Region: string, required Region terra.StringValue `hcl:"region,attr" validate:"required"` // AmiDistributionConfiguration: optional AmiDistributionConfiguration *AmiDistributionConfiguration `hcl:"ami_distribution_configuration,block"` // ContainerDistributionConfiguration: optional ContainerDistributionConfiguration *ContainerDistributionConfiguration `hcl:"container_distribution_configuration,block"` // FastLaunchConfiguration: min=0,max=1000 FastLaunchConfiguration []FastLaunchConfiguration `hcl:"fast_launch_configuration,block" validate:"min=0,max=1000"` // LaunchTemplateConfiguration: min=0,max=100 LaunchTemplateConfiguration []LaunchTemplateConfiguration `hcl:"launch_template_configuration,block" validate:"min=0,max=100"` }
type DistributionAttributes ¶
type DistributionAttributes struct {
// contains filtered or unexported fields
}
func (DistributionAttributes) AmiDistributionConfiguration ¶
func (d DistributionAttributes) AmiDistributionConfiguration() terra.ListValue[AmiDistributionConfigurationAttributes]
func (DistributionAttributes) ContainerDistributionConfiguration ¶
func (d DistributionAttributes) ContainerDistributionConfiguration() terra.ListValue[ContainerDistributionConfigurationAttributes]
func (DistributionAttributes) FastLaunchConfiguration ¶
func (d DistributionAttributes) FastLaunchConfiguration() terra.SetValue[FastLaunchConfigurationAttributes]
func (DistributionAttributes) InternalRef ¶
func (d DistributionAttributes) InternalRef() (terra.Reference, error)
func (DistributionAttributes) InternalTokens ¶
func (d DistributionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DistributionAttributes) InternalWithRef ¶
func (d DistributionAttributes) InternalWithRef(ref terra.Reference) DistributionAttributes
func (DistributionAttributes) LaunchTemplateConfiguration ¶
func (d DistributionAttributes) LaunchTemplateConfiguration() terra.SetValue[LaunchTemplateConfigurationAttributes]
func (DistributionAttributes) LicenseConfigurationArns ¶
func (d DistributionAttributes) LicenseConfigurationArns() terra.SetValue[terra.StringValue]
func (DistributionAttributes) Region ¶
func (d DistributionAttributes) Region() terra.StringValue
type DistributionState ¶
type DistributionState struct { LicenseConfigurationArns []string `json:"license_configuration_arns"` Region string `json:"region"` AmiDistributionConfiguration []AmiDistributionConfigurationState `json:"ami_distribution_configuration"` ContainerDistributionConfiguration []ContainerDistributionConfigurationState `json:"container_distribution_configuration"` FastLaunchConfiguration []FastLaunchConfigurationState `json:"fast_launch_configuration"` LaunchTemplateConfiguration []LaunchTemplateConfigurationState `json:"launch_template_configuration"` }
type FastLaunchConfiguration ¶
type FastLaunchConfiguration struct { // AccountId: string, required AccountId terra.StringValue `hcl:"account_id,attr" validate:"required"` // Enabled: bool, required Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"` // MaxParallelLaunches: number, optional MaxParallelLaunches terra.NumberValue `hcl:"max_parallel_launches,attr"` // LaunchTemplate: optional LaunchTemplate *LaunchTemplate `hcl:"launch_template,block"` // SnapshotConfiguration: optional SnapshotConfiguration *SnapshotConfiguration `hcl:"snapshot_configuration,block"` }
type FastLaunchConfigurationAttributes ¶
type FastLaunchConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (FastLaunchConfigurationAttributes) AccountId ¶
func (flc FastLaunchConfigurationAttributes) AccountId() terra.StringValue
func (FastLaunchConfigurationAttributes) Enabled ¶
func (flc FastLaunchConfigurationAttributes) Enabled() terra.BoolValue
func (FastLaunchConfigurationAttributes) InternalRef ¶
func (flc FastLaunchConfigurationAttributes) InternalRef() (terra.Reference, error)
func (FastLaunchConfigurationAttributes) InternalTokens ¶
func (flc FastLaunchConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FastLaunchConfigurationAttributes) InternalWithRef ¶
func (flc FastLaunchConfigurationAttributes) InternalWithRef(ref terra.Reference) FastLaunchConfigurationAttributes
func (FastLaunchConfigurationAttributes) LaunchTemplate ¶
func (flc FastLaunchConfigurationAttributes) LaunchTemplate() terra.ListValue[LaunchTemplateAttributes]
func (FastLaunchConfigurationAttributes) MaxParallelLaunches ¶
func (flc FastLaunchConfigurationAttributes) MaxParallelLaunches() terra.NumberValue
func (FastLaunchConfigurationAttributes) SnapshotConfiguration ¶
func (flc FastLaunchConfigurationAttributes) SnapshotConfiguration() terra.ListValue[SnapshotConfigurationAttributes]
type FastLaunchConfigurationState ¶
type FastLaunchConfigurationState struct { AccountId string `json:"account_id"` Enabled bool `json:"enabled"` MaxParallelLaunches float64 `json:"max_parallel_launches"` LaunchTemplate []LaunchTemplateState `json:"launch_template"` SnapshotConfiguration []SnapshotConfigurationState `json:"snapshot_configuration"` }
type LaunchPermission ¶
type LaunchPermission struct { // OrganizationArns: set of string, optional OrganizationArns terra.SetValue[terra.StringValue] `hcl:"organization_arns,attr"` // OrganizationalUnitArns: set of string, optional OrganizationalUnitArns terra.SetValue[terra.StringValue] `hcl:"organizational_unit_arns,attr"` // UserGroups: set of string, optional UserGroups terra.SetValue[terra.StringValue] `hcl:"user_groups,attr"` // UserIds: set of string, optional UserIds terra.SetValue[terra.StringValue] `hcl:"user_ids,attr"` }
type LaunchPermissionAttributes ¶
type LaunchPermissionAttributes struct {
// contains filtered or unexported fields
}
func (LaunchPermissionAttributes) InternalRef ¶
func (lp LaunchPermissionAttributes) InternalRef() (terra.Reference, error)
func (LaunchPermissionAttributes) InternalTokens ¶
func (lp LaunchPermissionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LaunchPermissionAttributes) InternalWithRef ¶
func (lp LaunchPermissionAttributes) InternalWithRef(ref terra.Reference) LaunchPermissionAttributes
func (LaunchPermissionAttributes) OrganizationArns ¶
func (lp LaunchPermissionAttributes) OrganizationArns() terra.SetValue[terra.StringValue]
func (LaunchPermissionAttributes) OrganizationalUnitArns ¶
func (lp LaunchPermissionAttributes) OrganizationalUnitArns() terra.SetValue[terra.StringValue]
func (LaunchPermissionAttributes) UserGroups ¶
func (lp LaunchPermissionAttributes) UserGroups() terra.SetValue[terra.StringValue]
func (LaunchPermissionAttributes) UserIds ¶
func (lp LaunchPermissionAttributes) UserIds() terra.SetValue[terra.StringValue]
type LaunchPermissionState ¶
type LaunchTemplate ¶
type LaunchTemplate struct { // LaunchTemplateId: string, optional LaunchTemplateId terra.StringValue `hcl:"launch_template_id,attr"` // LaunchTemplateName: string, optional LaunchTemplateName terra.StringValue `hcl:"launch_template_name,attr"` // LaunchTemplateVersion: string, optional LaunchTemplateVersion terra.StringValue `hcl:"launch_template_version,attr"` }
type LaunchTemplateAttributes ¶
type LaunchTemplateAttributes struct {
// contains filtered or unexported fields
}
func (LaunchTemplateAttributes) InternalRef ¶
func (lt LaunchTemplateAttributes) InternalRef() (terra.Reference, error)
func (LaunchTemplateAttributes) InternalTokens ¶
func (lt LaunchTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LaunchTemplateAttributes) InternalWithRef ¶
func (lt LaunchTemplateAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateAttributes
func (LaunchTemplateAttributes) LaunchTemplateId ¶
func (lt LaunchTemplateAttributes) LaunchTemplateId() terra.StringValue
func (LaunchTemplateAttributes) LaunchTemplateName ¶
func (lt LaunchTemplateAttributes) LaunchTemplateName() terra.StringValue
func (LaunchTemplateAttributes) LaunchTemplateVersion ¶
func (lt LaunchTemplateAttributes) LaunchTemplateVersion() terra.StringValue
type LaunchTemplateConfiguration ¶
type LaunchTemplateConfiguration struct { // AccountId: string, optional AccountId terra.StringValue `hcl:"account_id,attr"` // Default: bool, optional Default terra.BoolValue `hcl:"default,attr"` // LaunchTemplateId: string, required LaunchTemplateId terra.StringValue `hcl:"launch_template_id,attr" validate:"required"` }
type LaunchTemplateConfigurationAttributes ¶
type LaunchTemplateConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (LaunchTemplateConfigurationAttributes) AccountId ¶
func (ltc LaunchTemplateConfigurationAttributes) AccountId() terra.StringValue
func (LaunchTemplateConfigurationAttributes) Default ¶
func (ltc LaunchTemplateConfigurationAttributes) Default() terra.BoolValue
func (LaunchTemplateConfigurationAttributes) InternalRef ¶
func (ltc LaunchTemplateConfigurationAttributes) InternalRef() (terra.Reference, error)
func (LaunchTemplateConfigurationAttributes) InternalTokens ¶
func (ltc LaunchTemplateConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LaunchTemplateConfigurationAttributes) InternalWithRef ¶
func (ltc LaunchTemplateConfigurationAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateConfigurationAttributes
func (LaunchTemplateConfigurationAttributes) LaunchTemplateId ¶
func (ltc LaunchTemplateConfigurationAttributes) LaunchTemplateId() terra.StringValue
type LaunchTemplateState ¶
type SnapshotConfiguration ¶
type SnapshotConfiguration struct { // TargetResourceCount: number, optional TargetResourceCount terra.NumberValue `hcl:"target_resource_count,attr"` }
type SnapshotConfigurationAttributes ¶
type SnapshotConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (SnapshotConfigurationAttributes) InternalRef ¶
func (sc SnapshotConfigurationAttributes) InternalRef() (terra.Reference, error)
func (SnapshotConfigurationAttributes) InternalTokens ¶
func (sc SnapshotConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnapshotConfigurationAttributes) InternalWithRef ¶
func (sc SnapshotConfigurationAttributes) InternalWithRef(ref terra.Reference) SnapshotConfigurationAttributes
func (SnapshotConfigurationAttributes) TargetResourceCount ¶
func (sc SnapshotConfigurationAttributes) TargetResourceCount() terra.NumberValue
type SnapshotConfigurationState ¶
type SnapshotConfigurationState struct {
TargetResourceCount float64 `json:"target_resource_count"`
}
type TargetRepository ¶
type TargetRepository struct { // RepositoryName: string, required RepositoryName terra.StringValue `hcl:"repository_name,attr" validate:"required"` // Service: string, required Service terra.StringValue `hcl:"service,attr" validate:"required"` }
type TargetRepositoryAttributes ¶
type TargetRepositoryAttributes struct {
// contains filtered or unexported fields
}
func (TargetRepositoryAttributes) InternalRef ¶
func (tr TargetRepositoryAttributes) InternalRef() (terra.Reference, error)
func (TargetRepositoryAttributes) InternalTokens ¶
func (tr TargetRepositoryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetRepositoryAttributes) InternalWithRef ¶
func (tr TargetRepositoryAttributes) InternalWithRef(ref terra.Reference) TargetRepositoryAttributes
func (TargetRepositoryAttributes) RepositoryName ¶
func (tr TargetRepositoryAttributes) RepositoryName() terra.StringValue
func (TargetRepositoryAttributes) Service ¶
func (tr TargetRepositoryAttributes) Service() terra.StringValue
type TargetRepositoryState ¶
Click to show internal directories.
Click to hide internal directories.