imagebuilderdistributionconfiguration

package
v0.0.0-...-964ba77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 (AmiDistributionConfigurationAttributes) Description

func (AmiDistributionConfigurationAttributes) InternalRef

func (AmiDistributionConfigurationAttributes) InternalTokens

func (AmiDistributionConfigurationAttributes) InternalWithRef

func (AmiDistributionConfigurationAttributes) KmsKeyId

func (AmiDistributionConfigurationAttributes) LaunchPermission

func (AmiDistributionConfigurationAttributes) Name

func (AmiDistributionConfigurationAttributes) TargetAccountIds

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 (ContainerDistributionConfigurationAttributes) Description

func (ContainerDistributionConfigurationAttributes) InternalRef

func (ContainerDistributionConfigurationAttributes) InternalTokens

func (ContainerDistributionConfigurationAttributes) InternalWithRef

func (ContainerDistributionConfigurationAttributes) TargetRepository

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 (DistributionAttributes) ContainerDistributionConfiguration

func (DistributionAttributes) FastLaunchConfiguration

func (DistributionAttributes) InternalRef

func (d DistributionAttributes) InternalRef() (terra.Reference, error)

func (DistributionAttributes) InternalTokens

func (d DistributionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DistributionAttributes) InternalWithRef

func (DistributionAttributes) LaunchTemplateConfiguration

func (DistributionAttributes) LicenseConfigurationArns

func (d DistributionAttributes) LicenseConfigurationArns() terra.SetValue[terra.StringValue]

func (DistributionAttributes) Region

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 (FastLaunchConfigurationAttributes) Enabled

func (FastLaunchConfigurationAttributes) InternalRef

func (FastLaunchConfigurationAttributes) InternalTokens

func (flc FastLaunchConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FastLaunchConfigurationAttributes) InternalWithRef

func (FastLaunchConfigurationAttributes) LaunchTemplate

func (FastLaunchConfigurationAttributes) MaxParallelLaunches

func (flc FastLaunchConfigurationAttributes) MaxParallelLaunches() terra.NumberValue

func (FastLaunchConfigurationAttributes) SnapshotConfiguration

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 (LaunchPermissionAttributes) OrganizationArns

func (LaunchPermissionAttributes) OrganizationalUnitArns

func (lp LaunchPermissionAttributes) OrganizationalUnitArns() terra.SetValue[terra.StringValue]

func (LaunchPermissionAttributes) UserGroups

func (LaunchPermissionAttributes) UserIds

type LaunchPermissionState

type LaunchPermissionState struct {
	OrganizationArns       []string `json:"organization_arns"`
	OrganizationalUnitArns []string `json:"organizational_unit_arns"`
	UserGroups             []string `json:"user_groups"`
	UserIds                []string `json:"user_ids"`
}

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 (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 (LaunchTemplateConfigurationAttributes) Default

func (LaunchTemplateConfigurationAttributes) InternalRef

func (LaunchTemplateConfigurationAttributes) InternalTokens

func (LaunchTemplateConfigurationAttributes) InternalWithRef

func (LaunchTemplateConfigurationAttributes) LaunchTemplateId

type LaunchTemplateConfigurationState

type LaunchTemplateConfigurationState struct {
	AccountId        string `json:"account_id"`
	Default          bool   `json:"default"`
	LaunchTemplateId string `json:"launch_template_id"`
}

type LaunchTemplateState

type LaunchTemplateState struct {
	LaunchTemplateId      string `json:"launch_template_id"`
	LaunchTemplateName    string `json:"launch_template_name"`
	LaunchTemplateVersion string `json:"launch_template_version"`
}

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 (SnapshotConfigurationAttributes) InternalTokens

func (sc SnapshotConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SnapshotConfigurationAttributes) InternalWithRef

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 (TargetRepositoryAttributes) RepositoryName

func (tr TargetRepositoryAttributes) RepositoryName() terra.StringValue

func (TargetRepositoryAttributes) Service

type TargetRepositoryState

type TargetRepositoryState struct {
	RepositoryName string `json:"repository_name"`
	Service        string `json:"service"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL