aws_medialive_multiplex_program

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 {
	// MultiplexId: string, required
	MultiplexId terra.StringValue `hcl:"multiplex_id,attr" validate:"required"`
	// ProgramName: string, required
	ProgramName terra.StringValue `hcl:"program_name,attr" validate:"required"`
	// MultiplexProgramSettings: required
	MultiplexProgramSettings *MultiplexProgramSettings `hcl:"multiplex_program_settings,block" validate:"required"`
}

Args contains the configurations for aws_medialive_multiplex_program.

type MultiplexProgramSettings

type MultiplexProgramSettings struct {
	// PreferredChannelPipeline: string, required
	PreferredChannelPipeline terra.StringValue `hcl:"preferred_channel_pipeline,attr" validate:"required"`
	// ProgramNumber: number, required
	ProgramNumber terra.NumberValue `hcl:"program_number,attr" validate:"required"`
	// MultiplexProgramSettingsServiceDescriptor: optional
	ServiceDescriptor *MultiplexProgramSettingsServiceDescriptor `hcl:"service_descriptor,block"`
	// MultiplexProgramSettingsVideoSettings: optional
	VideoSettings *MultiplexProgramSettingsVideoSettings `hcl:"video_settings,block"`
}

type MultiplexProgramSettingsAttributes

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

func (MultiplexProgramSettingsAttributes) InternalRef

func (MultiplexProgramSettingsAttributes) InternalTokens

func (mps MultiplexProgramSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MultiplexProgramSettingsAttributes) InternalWithRef

func (MultiplexProgramSettingsAttributes) PreferredChannelPipeline

func (mps MultiplexProgramSettingsAttributes) PreferredChannelPipeline() terra.StringValue

func (MultiplexProgramSettingsAttributes) ProgramNumber

func (MultiplexProgramSettingsAttributes) ServiceDescriptor

func (MultiplexProgramSettingsAttributes) VideoSettings

type MultiplexProgramSettingsServiceDescriptor

type MultiplexProgramSettingsServiceDescriptor struct {
	// ProviderName: string, required
	ProviderName terra.StringValue `hcl:"provider_name,attr" validate:"required"`
	// ServiceName: string, required
	ServiceName terra.StringValue `hcl:"service_name,attr" validate:"required"`
}

type MultiplexProgramSettingsServiceDescriptorAttributes

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

func (MultiplexProgramSettingsServiceDescriptorAttributes) InternalRef

func (MultiplexProgramSettingsServiceDescriptorAttributes) InternalTokens

func (MultiplexProgramSettingsServiceDescriptorAttributes) InternalWithRef

func (MultiplexProgramSettingsServiceDescriptorAttributes) ProviderName

func (MultiplexProgramSettingsServiceDescriptorAttributes) ServiceName

type MultiplexProgramSettingsServiceDescriptorState

type MultiplexProgramSettingsServiceDescriptorState struct {
	ProviderName string `json:"provider_name"`
	ServiceName  string `json:"service_name"`
}

type MultiplexProgramSettingsState

type MultiplexProgramSettingsState struct {
	PreferredChannelPipeline string                                           `json:"preferred_channel_pipeline"`
	ProgramNumber            float64                                          `json:"program_number"`
	ServiceDescriptor        []MultiplexProgramSettingsServiceDescriptorState `json:"service_descriptor"`
	VideoSettings            []MultiplexProgramSettingsVideoSettingsState     `json:"video_settings"`
}

type MultiplexProgramSettingsVideoSettings

type MultiplexProgramSettingsVideoSettings struct {
	// ConstantBitrate: number, optional
	ConstantBitrate terra.NumberValue `hcl:"constant_bitrate,attr"`
	// MultiplexProgramSettingsVideoSettingsStatemuxSettings: optional
	StatemuxSettings *MultiplexProgramSettingsVideoSettingsStatemuxSettings `hcl:"statemux_settings,block"`
	// MultiplexProgramSettingsVideoSettingsStatmuxSettings: optional
	StatmuxSettings *MultiplexProgramSettingsVideoSettingsStatmuxSettings `hcl:"statmux_settings,block"`
}

type MultiplexProgramSettingsVideoSettingsAttributes

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

func (MultiplexProgramSettingsVideoSettingsAttributes) ConstantBitrate

func (MultiplexProgramSettingsVideoSettingsAttributes) InternalRef

func (MultiplexProgramSettingsVideoSettingsAttributes) InternalTokens

func (MultiplexProgramSettingsVideoSettingsAttributes) InternalWithRef

type MultiplexProgramSettingsVideoSettingsState

type MultiplexProgramSettingsVideoSettingsState struct {
	ConstantBitrate  float64                                                      `json:"constant_bitrate"`
	StatemuxSettings []MultiplexProgramSettingsVideoSettingsStatemuxSettingsState `json:"statemux_settings"`
	StatmuxSettings  []MultiplexProgramSettingsVideoSettingsStatmuxSettingsState  `json:"statmux_settings"`
}

type MultiplexProgramSettingsVideoSettingsStatemuxSettings

type MultiplexProgramSettingsVideoSettingsStatemuxSettings struct {
	// MaximumBitrate: number, optional
	MaximumBitrate terra.NumberValue `hcl:"maximum_bitrate,attr"`
	// MinimumBitrate: number, optional
	MinimumBitrate terra.NumberValue `hcl:"minimum_bitrate,attr"`
	// Priority: number, optional
	Priority terra.NumberValue `hcl:"priority,attr"`
}

type MultiplexProgramSettingsVideoSettingsStatemuxSettingsAttributes

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

func (MultiplexProgramSettingsVideoSettingsStatemuxSettingsAttributes) InternalRef

func (MultiplexProgramSettingsVideoSettingsStatemuxSettingsAttributes) InternalTokens

func (MultiplexProgramSettingsVideoSettingsStatemuxSettingsAttributes) InternalWithRef

func (MultiplexProgramSettingsVideoSettingsStatemuxSettingsAttributes) MaximumBitrate

func (MultiplexProgramSettingsVideoSettingsStatemuxSettingsAttributes) MinimumBitrate

func (MultiplexProgramSettingsVideoSettingsStatemuxSettingsAttributes) Priority

type MultiplexProgramSettingsVideoSettingsStatemuxSettingsState

type MultiplexProgramSettingsVideoSettingsStatemuxSettingsState struct {
	MaximumBitrate float64 `json:"maximum_bitrate"`
	MinimumBitrate float64 `json:"minimum_bitrate"`
	Priority       float64 `json:"priority"`
}

type MultiplexProgramSettingsVideoSettingsStatmuxSettings

type MultiplexProgramSettingsVideoSettingsStatmuxSettings struct {
	// MaximumBitrate: number, optional
	MaximumBitrate terra.NumberValue `hcl:"maximum_bitrate,attr"`
	// MinimumBitrate: number, optional
	MinimumBitrate terra.NumberValue `hcl:"minimum_bitrate,attr"`
	// Priority: number, optional
	Priority terra.NumberValue `hcl:"priority,attr"`
}

type MultiplexProgramSettingsVideoSettingsStatmuxSettingsAttributes

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

func (MultiplexProgramSettingsVideoSettingsStatmuxSettingsAttributes) InternalRef

func (MultiplexProgramSettingsVideoSettingsStatmuxSettingsAttributes) InternalTokens

func (MultiplexProgramSettingsVideoSettingsStatmuxSettingsAttributes) InternalWithRef

func (MultiplexProgramSettingsVideoSettingsStatmuxSettingsAttributes) MaximumBitrate

func (MultiplexProgramSettingsVideoSettingsStatmuxSettingsAttributes) MinimumBitrate

func (MultiplexProgramSettingsVideoSettingsStatmuxSettingsAttributes) Priority

type MultiplexProgramSettingsVideoSettingsStatmuxSettingsState

type MultiplexProgramSettingsVideoSettingsStatmuxSettingsState struct {
	MaximumBitrate float64 `json:"maximum_bitrate"`
	MinimumBitrate float64 `json:"minimum_bitrate"`
	Priority       float64 `json:"priority"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (ammp *Resource) Attributes() awsMedialiveMultiplexProgramAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (ammp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (ammp *Resource) State() (*awsMedialiveMultiplexProgramState, bool)

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

func (*Resource) StateMust

func (ammp *Resource) StateMust() *awsMedialiveMultiplexProgramState

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

func (*Resource) Type

func (ammp *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

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