aws_elastictranscoder_pipeline

package
v5.45.0 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 {
	// AwsKmsKeyArn: string, optional
	AwsKmsKeyArn terra.StringValue `hcl:"aws_kms_key_arn,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// InputBucket: string, required
	InputBucket terra.StringValue `hcl:"input_bucket,attr" validate:"required"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// OutputBucket: string, optional
	OutputBucket terra.StringValue `hcl:"output_bucket,attr"`
	// Role: string, required
	Role terra.StringValue `hcl:"role,attr" validate:"required"`
	// ContentConfig: optional
	ContentConfig *ContentConfig `hcl:"content_config,block"`
	// ContentConfigPermissions: min=0
	ContentConfigPermissions []ContentConfigPermissions `hcl:"content_config_permissions,block" validate:"min=0"`
	// Notifications: optional
	Notifications *Notifications `hcl:"notifications,block"`
	// ThumbnailConfig: optional
	ThumbnailConfig *ThumbnailConfig `hcl:"thumbnail_config,block"`
	// ThumbnailConfigPermissions: min=0
	ThumbnailConfigPermissions []ThumbnailConfigPermissions `hcl:"thumbnail_config_permissions,block" validate:"min=0"`
}

Args contains the configurations for aws_elastictranscoder_pipeline.

type ContentConfig

type ContentConfig struct {
	// Bucket: string, optional
	Bucket terra.StringValue `hcl:"bucket,attr"`
	// StorageClass: string, optional
	StorageClass terra.StringValue `hcl:"storage_class,attr"`
}

type ContentConfigAttributes

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

func (ContentConfigAttributes) Bucket

func (ContentConfigAttributes) InternalRef

func (cc ContentConfigAttributes) InternalRef() (terra.Reference, error)

func (ContentConfigAttributes) InternalTokens

func (cc ContentConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ContentConfigAttributes) InternalWithRef

func (ContentConfigAttributes) StorageClass

func (cc ContentConfigAttributes) StorageClass() terra.StringValue

type ContentConfigPermissions

type ContentConfigPermissions struct {
	// Access: list of string, optional
	Access terra.ListValue[terra.StringValue] `hcl:"access,attr"`
	// Grantee: string, optional
	Grantee terra.StringValue `hcl:"grantee,attr"`
	// GranteeType: string, optional
	GranteeType terra.StringValue `hcl:"grantee_type,attr"`
}

type ContentConfigPermissionsAttributes

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

func (ContentConfigPermissionsAttributes) Access

func (ContentConfigPermissionsAttributes) Grantee

func (ContentConfigPermissionsAttributes) GranteeType

func (ContentConfigPermissionsAttributes) InternalRef

func (ContentConfigPermissionsAttributes) InternalTokens

func (ccp ContentConfigPermissionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ContentConfigPermissionsAttributes) InternalWithRef

type ContentConfigPermissionsState

type ContentConfigPermissionsState struct {
	Access      []string `json:"access"`
	Grantee     string   `json:"grantee"`
	GranteeType string   `json:"grantee_type"`
}

type ContentConfigState

type ContentConfigState struct {
	Bucket       string `json:"bucket"`
	StorageClass string `json:"storage_class"`
}

type Notifications

type Notifications struct {
	// Completed: string, optional
	Completed terra.StringValue `hcl:"completed,attr"`
	// Error: string, optional
	Error terra.StringValue `hcl:"error,attr"`
	// Progressing: string, optional
	Progressing terra.StringValue `hcl:"progressing,attr"`
	// Warning: string, optional
	Warning terra.StringValue `hcl:"warning,attr"`
}

type NotificationsAttributes

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

func (NotificationsAttributes) Completed

func (NotificationsAttributes) Error

func (NotificationsAttributes) InternalRef

func (n NotificationsAttributes) InternalRef() (terra.Reference, error)

func (NotificationsAttributes) InternalTokens

func (n NotificationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NotificationsAttributes) InternalWithRef

func (NotificationsAttributes) Progressing

func (n NotificationsAttributes) Progressing() terra.StringValue

func (NotificationsAttributes) Warning

type NotificationsState

type NotificationsState struct {
	Completed   string `json:"completed"`
	Error       string `json:"error"`
	Progressing string `json:"progressing"`
	Warning     string `json:"warning"`
}

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_elastictranscoder_pipeline.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aep *Resource) Attributes() awsElastictranscoderPipelineAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aep *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aep *Resource) State() (*awsElastictranscoderPipelineState, bool)

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

func (*Resource) StateMust

func (aep *Resource) StateMust() *awsElastictranscoderPipelineState

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

func (*Resource) Type

func (aep *Resource) Type() string

Type returns the Terraform object type for Resource.

type ThumbnailConfig

type ThumbnailConfig struct {
	// Bucket: string, optional
	Bucket terra.StringValue `hcl:"bucket,attr"`
	// StorageClass: string, optional
	StorageClass terra.StringValue `hcl:"storage_class,attr"`
}

type ThumbnailConfigAttributes

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

func (ThumbnailConfigAttributes) Bucket

func (ThumbnailConfigAttributes) InternalRef

func (tc ThumbnailConfigAttributes) InternalRef() (terra.Reference, error)

func (ThumbnailConfigAttributes) InternalTokens

func (tc ThumbnailConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ThumbnailConfigAttributes) InternalWithRef

func (ThumbnailConfigAttributes) StorageClass

func (tc ThumbnailConfigAttributes) StorageClass() terra.StringValue

type ThumbnailConfigPermissions

type ThumbnailConfigPermissions struct {
	// Access: list of string, optional
	Access terra.ListValue[terra.StringValue] `hcl:"access,attr"`
	// Grantee: string, optional
	Grantee terra.StringValue `hcl:"grantee,attr"`
	// GranteeType: string, optional
	GranteeType terra.StringValue `hcl:"grantee_type,attr"`
}

type ThumbnailConfigPermissionsAttributes

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

func (ThumbnailConfigPermissionsAttributes) Access

func (ThumbnailConfigPermissionsAttributes) Grantee

func (ThumbnailConfigPermissionsAttributes) GranteeType

func (ThumbnailConfigPermissionsAttributes) InternalRef

func (ThumbnailConfigPermissionsAttributes) InternalTokens

func (ThumbnailConfigPermissionsAttributes) InternalWithRef

type ThumbnailConfigPermissionsState

type ThumbnailConfigPermissionsState struct {
	Access      []string `json:"access"`
	Grantee     string   `json:"grantee"`
	GranteeType string   `json:"grantee_type"`
}

type ThumbnailConfigState

type ThumbnailConfigState struct {
	Bucket       string `json:"bucket"`
	StorageClass string `json:"storage_class"`
}

Jump to

Keyboard shortcuts

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