aws_medialive_input

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 {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// InputSecurityGroups: list of string, optional
	InputSecurityGroups terra.ListValue[terra.StringValue] `hcl:"input_security_groups,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// RoleArn: string, optional
	RoleArn terra.StringValue `hcl:"role_arn,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"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Destinations: min=0
	Destinations []Destinations `hcl:"destinations,block" validate:"min=0"`
	// InputDevices: min=0
	InputDevices []InputDevices `hcl:"input_devices,block" validate:"min=0"`
	// MediaConnectFlows: min=0
	MediaConnectFlows []MediaConnectFlows `hcl:"media_connect_flows,block" validate:"min=0"`
	// Sources: min=0
	Sources []Sources `hcl:"sources,block" validate:"min=0"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// Vpc: optional
	Vpc *Vpc `hcl:"vpc,block"`
}

Args contains the configurations for aws_medialive_input.

type Destinations

type Destinations struct {
	// StreamName: string, required
	StreamName terra.StringValue `hcl:"stream_name,attr" validate:"required"`
}

type DestinationsAttributes

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

func (DestinationsAttributes) InternalRef

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

func (DestinationsAttributes) InternalTokens

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

func (DestinationsAttributes) InternalWithRef

func (DestinationsAttributes) StreamName

func (d DestinationsAttributes) StreamName() terra.StringValue

type DestinationsState

type DestinationsState struct {
	StreamName string `json:"stream_name"`
}

type InputDevices

type InputDevices struct {
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
}

type InputDevicesAttributes

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

func (InputDevicesAttributes) Id

func (InputDevicesAttributes) InternalRef

func (id InputDevicesAttributes) InternalRef() (terra.Reference, error)

func (InputDevicesAttributes) InternalTokens

func (id InputDevicesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InputDevicesAttributes) InternalWithRef

type InputDevicesState

type InputDevicesState struct {
	Id string `json:"id"`
}

type MediaConnectFlows

type MediaConnectFlows struct {
	// FlowArn: string, required
	FlowArn terra.StringValue `hcl:"flow_arn,attr" validate:"required"`
}

type MediaConnectFlowsAttributes

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

func (MediaConnectFlowsAttributes) FlowArn

func (MediaConnectFlowsAttributes) InternalRef

func (mcf MediaConnectFlowsAttributes) InternalRef() (terra.Reference, error)

func (MediaConnectFlowsAttributes) InternalTokens

func (mcf MediaConnectFlowsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MediaConnectFlowsAttributes) InternalWithRef

type MediaConnectFlowsState

type MediaConnectFlowsState struct {
	FlowArn string `json:"flow_arn"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (ami *Resource) Attributes() awsMedialiveInputAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (ami *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (ami *Resource) State() (*awsMedialiveInputState, bool)

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

func (*Resource) StateMust

func (ami *Resource) StateMust() *awsMedialiveInputState

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

func (*Resource) Type

func (ami *Resource) Type() string

Type returns the Terraform object type for Resource.

type Sources

type Sources struct {
	// PasswordParam: string, required
	PasswordParam terra.StringValue `hcl:"password_param,attr" validate:"required"`
	// Url: string, required
	Url terra.StringValue `hcl:"url,attr" validate:"required"`
	// Username: string, required
	Username terra.StringValue `hcl:"username,attr" validate:"required"`
}

type SourcesAttributes

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

func (SourcesAttributes) InternalRef

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

func (SourcesAttributes) InternalTokens

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

func (SourcesAttributes) InternalWithRef

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

func (SourcesAttributes) PasswordParam

func (s SourcesAttributes) PasswordParam() terra.StringValue

func (SourcesAttributes) Url

func (SourcesAttributes) Username

func (s SourcesAttributes) Username() terra.StringValue

type SourcesState

type SourcesState struct {
	PasswordParam string `json:"password_param"`
	Url           string `json:"url"`
	Username      string `json:"username"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type Vpc

type Vpc struct {
	// SecurityGroupIds: list of string, optional
	SecurityGroupIds terra.ListValue[terra.StringValue] `hcl:"security_group_ids,attr"`
	// SubnetIds: list of string, required
	SubnetIds terra.ListValue[terra.StringValue] `hcl:"subnet_ids,attr" validate:"required"`
}

type VpcAttributes

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

func (VpcAttributes) InternalRef

func (v VpcAttributes) InternalRef() (terra.Reference, error)

func (VpcAttributes) InternalTokens

func (v VpcAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VpcAttributes) InternalWithRef

func (v VpcAttributes) InternalWithRef(ref terra.Reference) VpcAttributes

func (VpcAttributes) SecurityGroupIds

func (v VpcAttributes) SecurityGroupIds() terra.ListValue[terra.StringValue]

func (VpcAttributes) SubnetIds

type VpcState

type VpcState struct {
	SecurityGroupIds []string `json:"security_group_ids"`
	SubnetIds        []string `json:"subnet_ids"`
}

Jump to

Keyboard shortcuts

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