Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataDestinationsAttributes
- func (d DataDestinationsAttributes) InternalRef() (terra.Reference, error)
- func (d DataDestinationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DataDestinationsAttributes) InternalWithRef(ref terra.Reference) DataDestinationsAttributes
- func (d DataDestinationsAttributes) Ip() terra.StringValue
- func (d DataDestinationsAttributes) Port() terra.StringValue
- func (d DataDestinationsAttributes) Url() terra.StringValue
- func (d DataDestinationsAttributes) Vpc() terra.ListValue[DataDestinationsVpcAttributes]
- type DataDestinationsState
- type DataDestinationsVpcAttributes
- func (v DataDestinationsVpcAttributes) AvailabilityZone() terra.StringValue
- func (v DataDestinationsVpcAttributes) InternalRef() (terra.Reference, error)
- func (v DataDestinationsVpcAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v DataDestinationsVpcAttributes) InternalWithRef(ref terra.Reference) DataDestinationsVpcAttributes
- func (v DataDestinationsVpcAttributes) NetworkInterfaceId() terra.StringValue
- type DataDestinationsVpcState
- type DataInputDevicesAttributes
- func (id DataInputDevicesAttributes) Id() terra.StringValue
- func (id DataInputDevicesAttributes) InternalRef() (terra.Reference, error)
- func (id DataInputDevicesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (id DataInputDevicesAttributes) InternalWithRef(ref terra.Reference) DataInputDevicesAttributes
- type DataInputDevicesState
- type DataMediaConnectFlowsAttributes
- func (mcf DataMediaConnectFlowsAttributes) FlowArn() terra.StringValue
- func (mcf DataMediaConnectFlowsAttributes) InternalRef() (terra.Reference, error)
- func (mcf DataMediaConnectFlowsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mcf DataMediaConnectFlowsAttributes) InternalWithRef(ref terra.Reference) DataMediaConnectFlowsAttributes
- type DataMediaConnectFlowsState
- type DataSource
- type DataSourcesAttributes
- func (s DataSourcesAttributes) InternalRef() (terra.Reference, error)
- func (s DataSourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DataSourcesAttributes) InternalWithRef(ref terra.Reference) DataSourcesAttributes
- func (s DataSourcesAttributes) PasswordParam() terra.StringValue
- func (s DataSourcesAttributes) Url() terra.StringValue
- func (s DataSourcesAttributes) Username() terra.StringValue
- type DataSourcesState
- 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 DataArgs ¶
type DataArgs struct { // Id: string, required Id terra.StringValue `hcl:"id,attr" validate:"required"` }
DataArgs contains the configurations for aws_medialive_input.
type DataDestinationsAttributes ¶
type DataDestinationsAttributes struct {
// contains filtered or unexported fields
}
func (DataDestinationsAttributes) InternalRef ¶
func (d DataDestinationsAttributes) InternalRef() (terra.Reference, error)
func (DataDestinationsAttributes) InternalTokens ¶
func (d DataDestinationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDestinationsAttributes) InternalWithRef ¶
func (d DataDestinationsAttributes) InternalWithRef(ref terra.Reference) DataDestinationsAttributes
func (DataDestinationsAttributes) Ip ¶
func (d DataDestinationsAttributes) Ip() terra.StringValue
func (DataDestinationsAttributes) Port ¶
func (d DataDestinationsAttributes) Port() terra.StringValue
func (DataDestinationsAttributes) Url ¶
func (d DataDestinationsAttributes) Url() terra.StringValue
func (DataDestinationsAttributes) Vpc ¶
func (d DataDestinationsAttributes) Vpc() terra.ListValue[DataDestinationsVpcAttributes]
type DataDestinationsState ¶
type DataDestinationsState struct { Ip string `json:"ip"` Port string `json:"port"` Url string `json:"url"` Vpc []DataDestinationsVpcState `json:"vpc"` }
type DataDestinationsVpcAttributes ¶
type DataDestinationsVpcAttributes struct {
// contains filtered or unexported fields
}
func (DataDestinationsVpcAttributes) AvailabilityZone ¶
func (v DataDestinationsVpcAttributes) AvailabilityZone() terra.StringValue
func (DataDestinationsVpcAttributes) InternalRef ¶
func (v DataDestinationsVpcAttributes) InternalRef() (terra.Reference, error)
func (DataDestinationsVpcAttributes) InternalTokens ¶
func (v DataDestinationsVpcAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDestinationsVpcAttributes) InternalWithRef ¶
func (v DataDestinationsVpcAttributes) InternalWithRef(ref terra.Reference) DataDestinationsVpcAttributes
func (DataDestinationsVpcAttributes) NetworkInterfaceId ¶
func (v DataDestinationsVpcAttributes) NetworkInterfaceId() terra.StringValue
type DataInputDevicesAttributes ¶
type DataInputDevicesAttributes struct {
// contains filtered or unexported fields
}
func (DataInputDevicesAttributes) Id ¶
func (id DataInputDevicesAttributes) Id() terra.StringValue
func (DataInputDevicesAttributes) InternalRef ¶
func (id DataInputDevicesAttributes) InternalRef() (terra.Reference, error)
func (DataInputDevicesAttributes) InternalTokens ¶
func (id DataInputDevicesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataInputDevicesAttributes) InternalWithRef ¶
func (id DataInputDevicesAttributes) InternalWithRef(ref terra.Reference) DataInputDevicesAttributes
type DataInputDevicesState ¶
type DataInputDevicesState struct {
Id string `json:"id"`
}
type DataMediaConnectFlowsAttributes ¶
type DataMediaConnectFlowsAttributes struct {
// contains filtered or unexported fields
}
func (DataMediaConnectFlowsAttributes) FlowArn ¶
func (mcf DataMediaConnectFlowsAttributes) FlowArn() terra.StringValue
func (DataMediaConnectFlowsAttributes) InternalRef ¶
func (mcf DataMediaConnectFlowsAttributes) InternalRef() (terra.Reference, error)
func (DataMediaConnectFlowsAttributes) InternalTokens ¶
func (mcf DataMediaConnectFlowsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataMediaConnectFlowsAttributes) InternalWithRef ¶
func (mcf DataMediaConnectFlowsAttributes) InternalWithRef(ref terra.Reference) DataMediaConnectFlowsAttributes
type DataMediaConnectFlowsState ¶
type DataMediaConnectFlowsState struct {
FlowArn string `json:"flow_arn"`
}
type DataSource ¶
DataSource represents the Terraform data resource aws_medialive_input.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (ami *DataSource) Attributes() dataAwsMedialiveInputAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (ami *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (ami *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (ami *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataSourcesAttributes ¶
type DataSourcesAttributes struct {
// contains filtered or unexported fields
}
func (DataSourcesAttributes) InternalRef ¶
func (s DataSourcesAttributes) InternalRef() (terra.Reference, error)
func (DataSourcesAttributes) InternalTokens ¶
func (s DataSourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSourcesAttributes) InternalWithRef ¶
func (s DataSourcesAttributes) InternalWithRef(ref terra.Reference) DataSourcesAttributes
func (DataSourcesAttributes) PasswordParam ¶
func (s DataSourcesAttributes) PasswordParam() terra.StringValue
func (DataSourcesAttributes) Url ¶
func (s DataSourcesAttributes) Url() terra.StringValue
func (DataSourcesAttributes) Username ¶
func (s DataSourcesAttributes) Username() terra.StringValue
type DataSourcesState ¶
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]