aws_imagebuilder_image_pipeline

package
v0.0.0-...-4deecce Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// ContainerRecipeArn: string, optional
	ContainerRecipeArn terra.StringValue `hcl:"container_recipe_arn,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DistributionConfigurationArn: string, optional
	DistributionConfigurationArn terra.StringValue `hcl:"distribution_configuration_arn,attr"`
	// EnhancedImageMetadataEnabled: bool, optional
	EnhancedImageMetadataEnabled terra.BoolValue `hcl:"enhanced_image_metadata_enabled,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// ImageRecipeArn: string, optional
	ImageRecipeArn terra.StringValue `hcl:"image_recipe_arn,attr"`
	// InfrastructureConfigurationArn: string, required
	InfrastructureConfigurationArn terra.StringValue `hcl:"infrastructure_configuration_arn,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Status: string, optional
	Status terra.StringValue `hcl:"status,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// ImageScanningConfiguration: optional
	ImageScanningConfiguration *ImageScanningConfiguration `hcl:"image_scanning_configuration,block"`
	// ImageTestsConfiguration: optional
	ImageTestsConfiguration *ImageTestsConfiguration `hcl:"image_tests_configuration,block"`
	// Schedule: optional
	Schedule *Schedule `hcl:"schedule,block"`
}

Args contains the configurations for aws_imagebuilder_image_pipeline.

type DataArgs

type DataArgs struct {
	// Arn: string, required
	Arn terra.StringValue `hcl:"arn,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
}

DataArgs contains the configurations for aws_imagebuilder_image_pipeline.

type DataImageScanningConfigurationAttributes

type DataImageScanningConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (DataImageScanningConfigurationAttributes) EcrConfiguration

func (DataImageScanningConfigurationAttributes) ImageScanningEnabled

func (isc DataImageScanningConfigurationAttributes) ImageScanningEnabled() terra.BoolValue

func (DataImageScanningConfigurationAttributes) InternalRef

func (DataImageScanningConfigurationAttributes) InternalTokens

func (DataImageScanningConfigurationAttributes) InternalWithRef

type DataImageScanningConfigurationEcrConfigurationAttributes

type DataImageScanningConfigurationEcrConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (DataImageScanningConfigurationEcrConfigurationAttributes) ContainerTags

func (DataImageScanningConfigurationEcrConfigurationAttributes) InternalRef

func (DataImageScanningConfigurationEcrConfigurationAttributes) InternalTokens

func (DataImageScanningConfigurationEcrConfigurationAttributes) InternalWithRef

func (DataImageScanningConfigurationEcrConfigurationAttributes) RepositoryName

type DataImageScanningConfigurationEcrConfigurationState

type DataImageScanningConfigurationEcrConfigurationState struct {
	ContainerTags  []string `json:"container_tags"`
	RepositoryName string   `json:"repository_name"`
}

type DataImageScanningConfigurationState

type DataImageScanningConfigurationState struct {
	ImageScanningEnabled bool                                                  `json:"image_scanning_enabled"`
	EcrConfiguration     []DataImageScanningConfigurationEcrConfigurationState `json:"ecr_configuration"`
}

type DataImageTestsConfigurationAttributes

type DataImageTestsConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (DataImageTestsConfigurationAttributes) ImageTestsEnabled

func (itc DataImageTestsConfigurationAttributes) ImageTestsEnabled() terra.BoolValue

func (DataImageTestsConfigurationAttributes) InternalRef

func (DataImageTestsConfigurationAttributes) InternalTokens

func (DataImageTestsConfigurationAttributes) InternalWithRef

func (DataImageTestsConfigurationAttributes) TimeoutMinutes

type DataImageTestsConfigurationState

type DataImageTestsConfigurationState struct {
	ImageTestsEnabled bool    `json:"image_tests_enabled"`
	TimeoutMinutes    float64 `json:"timeout_minutes"`
}

type DataScheduleAttributes

type DataScheduleAttributes struct {
	// contains filtered or unexported fields
}

func (DataScheduleAttributes) InternalRef

func (s DataScheduleAttributes) InternalRef() (terra.Reference, error)

func (DataScheduleAttributes) InternalTokens

func (s DataScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataScheduleAttributes) InternalWithRef

func (DataScheduleAttributes) PipelineExecutionStartCondition

func (s DataScheduleAttributes) PipelineExecutionStartCondition() terra.StringValue

func (DataScheduleAttributes) ScheduleExpression

func (s DataScheduleAttributes) ScheduleExpression() terra.StringValue

type DataScheduleState

type DataScheduleState struct {
	PipelineExecutionStartCondition string `json:"pipeline_execution_start_condition"`
	ScheduleExpression              string `json:"schedule_expression"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_imagebuilder_image_pipeline.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aiip *DataSource) Attributes() dataAwsImagebuilderImagePipelineAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (aiip *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aiip *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aiip *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type ImageScanningConfiguration

type ImageScanningConfiguration struct {
	// ImageScanningEnabled: bool, optional
	ImageScanningEnabled terra.BoolValue `hcl:"image_scanning_enabled,attr"`
	// ImageScanningConfigurationEcrConfiguration: optional
	EcrConfiguration *ImageScanningConfigurationEcrConfiguration `hcl:"ecr_configuration,block"`
}

type ImageScanningConfigurationAttributes

type ImageScanningConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (ImageScanningConfigurationAttributes) EcrConfiguration

func (ImageScanningConfigurationAttributes) ImageScanningEnabled

func (isc ImageScanningConfigurationAttributes) ImageScanningEnabled() terra.BoolValue

func (ImageScanningConfigurationAttributes) InternalRef

func (ImageScanningConfigurationAttributes) InternalTokens

func (ImageScanningConfigurationAttributes) InternalWithRef

type ImageScanningConfigurationEcrConfiguration

type ImageScanningConfigurationEcrConfiguration struct {
	// ContainerTags: set of string, optional
	ContainerTags terra.SetValue[terra.StringValue] `hcl:"container_tags,attr"`
	// RepositoryName: string, optional
	RepositoryName terra.StringValue `hcl:"repository_name,attr"`
}

type ImageScanningConfigurationEcrConfigurationAttributes

type ImageScanningConfigurationEcrConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (ImageScanningConfigurationEcrConfigurationAttributes) ContainerTags

func (ImageScanningConfigurationEcrConfigurationAttributes) InternalRef

func (ImageScanningConfigurationEcrConfigurationAttributes) InternalTokens

func (ImageScanningConfigurationEcrConfigurationAttributes) InternalWithRef

func (ImageScanningConfigurationEcrConfigurationAttributes) RepositoryName

type ImageScanningConfigurationEcrConfigurationState

type ImageScanningConfigurationEcrConfigurationState struct {
	ContainerTags  []string `json:"container_tags"`
	RepositoryName string   `json:"repository_name"`
}

type ImageScanningConfigurationState

type ImageScanningConfigurationState struct {
	ImageScanningEnabled bool                                              `json:"image_scanning_enabled"`
	EcrConfiguration     []ImageScanningConfigurationEcrConfigurationState `json:"ecr_configuration"`
}

type ImageTestsConfiguration

type ImageTestsConfiguration struct {
	// ImageTestsEnabled: bool, optional
	ImageTestsEnabled terra.BoolValue `hcl:"image_tests_enabled,attr"`
	// TimeoutMinutes: number, optional
	TimeoutMinutes terra.NumberValue `hcl:"timeout_minutes,attr"`
}

type ImageTestsConfigurationAttributes

type ImageTestsConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (ImageTestsConfigurationAttributes) ImageTestsEnabled

func (itc ImageTestsConfigurationAttributes) ImageTestsEnabled() terra.BoolValue

func (ImageTestsConfigurationAttributes) InternalRef

func (ImageTestsConfigurationAttributes) InternalTokens

func (itc ImageTestsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ImageTestsConfigurationAttributes) InternalWithRef

func (ImageTestsConfigurationAttributes) TimeoutMinutes

type ImageTestsConfigurationState

type ImageTestsConfigurationState struct {
	ImageTestsEnabled bool    `json:"image_tests_enabled"`
	TimeoutMinutes    float64 `json:"timeout_minutes"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_imagebuilder_image_pipeline.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aiip *Resource) Attributes() awsImagebuilderImagePipelineAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (aiip *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (aiip *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (aiip *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (aiip *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (aiip *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aiip *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aiip *Resource) State() (*awsImagebuilderImagePipelineState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (aiip *Resource) StateMust() *awsImagebuilderImagePipelineState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (aiip *Resource) Type() string

Type returns the Terraform object type for Resource.

type Schedule

type Schedule struct {
	// PipelineExecutionStartCondition: string, optional
	PipelineExecutionStartCondition terra.StringValue `hcl:"pipeline_execution_start_condition,attr"`
	// ScheduleExpression: string, required
	ScheduleExpression terra.StringValue `hcl:"schedule_expression,attr" validate:"required"`
	// Timezone: string, optional
	Timezone terra.StringValue `hcl:"timezone,attr"`
}

type ScheduleAttributes

type ScheduleAttributes struct {
	// contains filtered or unexported fields
}

func (ScheduleAttributes) InternalRef

func (s ScheduleAttributes) InternalRef() (terra.Reference, error)

func (ScheduleAttributes) InternalTokens

func (s ScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScheduleAttributes) InternalWithRef

func (s ScheduleAttributes) InternalWithRef(ref terra.Reference) ScheduleAttributes

func (ScheduleAttributes) PipelineExecutionStartCondition

func (s ScheduleAttributes) PipelineExecutionStartCondition() terra.StringValue

func (ScheduleAttributes) ScheduleExpression

func (s ScheduleAttributes) ScheduleExpression() terra.StringValue

func (ScheduleAttributes) Timezone

func (s ScheduleAttributes) Timezone() terra.StringValue

type ScheduleState

type ScheduleState struct {
	PipelineExecutionStartCondition string `json:"pipeline_execution_start_condition"`
	ScheduleExpression              string `json:"schedule_expression"`
	Timezone                        string `json:"timezone"`
}

Jump to

Keyboard shortcuts

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