Documentation ¶
Index ¶
- type Args
- type Destinations
- type DestinationsAttributes
- type DestinationsState
- type InputDevices
- type InputDevicesAttributes
- type InputDevicesState
- type MediaConnectFlows
- type MediaConnectFlowsAttributes
- func (mcf MediaConnectFlowsAttributes) FlowArn() terra.StringValue
- func (mcf MediaConnectFlowsAttributes) InternalRef() (terra.Reference, error)
- func (mcf MediaConnectFlowsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mcf MediaConnectFlowsAttributes) InternalWithRef(ref terra.Reference) MediaConnectFlowsAttributes
- type MediaConnectFlowsState
- type Resource
- func (ami *Resource) Attributes() awsMedialiveInputAttributes
- func (ami *Resource) Configuration() interface{}
- func (ami *Resource) DependOn() terra.Reference
- func (ami *Resource) Dependencies() terra.Dependencies
- func (ami *Resource) ImportState(state io.Reader) error
- func (ami *Resource) LifecycleManagement() *terra.Lifecycle
- func (ami *Resource) LocalName() string
- func (ami *Resource) State() (*awsMedialiveInputState, bool)
- func (ami *Resource) StateMust() *awsMedialiveInputState
- func (ami *Resource) Type() string
- type Sources
- type SourcesAttributes
- func (s SourcesAttributes) InternalRef() (terra.Reference, error)
- func (s SourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SourcesAttributes) InternalWithRef(ref terra.Reference) SourcesAttributes
- func (s SourcesAttributes) PasswordParam() terra.StringValue
- func (s SourcesAttributes) Url() terra.StringValue
- func (s SourcesAttributes) Username() terra.StringValue
- type SourcesState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type Vpc
- type VpcAttributes
- func (v VpcAttributes) InternalRef() (terra.Reference, error)
- func (v VpcAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v VpcAttributes) InternalWithRef(ref terra.Reference) VpcAttributes
- func (v VpcAttributes) SecurityGroupIds() terra.ListValue[terra.StringValue]
- func (v VpcAttributes) SubnetIds() terra.ListValue[terra.StringValue]
- type VpcState
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 (d DestinationsAttributes) InternalWithRef(ref terra.Reference) DestinationsAttributes
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 (id InputDevicesAttributes) Id() terra.StringValue
func (InputDevicesAttributes) InternalRef ¶
func (id InputDevicesAttributes) InternalRef() (terra.Reference, error)
func (InputDevicesAttributes) InternalTokens ¶
func (id InputDevicesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InputDevicesAttributes) InternalWithRef ¶
func (id InputDevicesAttributes) InternalWithRef(ref terra.Reference) InputDevicesAttributes
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 (mcf MediaConnectFlowsAttributes) FlowArn() terra.StringValue
func (MediaConnectFlowsAttributes) InternalRef ¶
func (mcf MediaConnectFlowsAttributes) InternalRef() (terra.Reference, error)
func (MediaConnectFlowsAttributes) InternalTokens ¶
func (mcf MediaConnectFlowsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MediaConnectFlowsAttributes) InternalWithRef ¶
func (mcf MediaConnectFlowsAttributes) InternalWithRef(ref terra.Reference) MediaConnectFlowsAttributes
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 (*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) Dependencies ¶
func (ami *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block 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 (s SourcesAttributes) Url() terra.StringValue
func (SourcesAttributes) Username ¶
func (s SourcesAttributes) Username() terra.StringValue
type SourcesState ¶
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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
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 ¶
func (v VpcAttributes) SubnetIds() terra.ListValue[terra.StringValue]
Click to show internal directories.
Click to hide internal directories.