mediapackage

package
v6.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	pulumi.CustomResourceState

	// The ARN of the channel
	Arn pulumi.StringOutput `pulumi:"arn"`
	// A unique identifier describing the channel
	ChannelId pulumi.StringOutput `pulumi:"channelId"`
	// A description of the channel
	Description pulumi.StringOutput `pulumi:"description"`
	// A single item list of HLS ingest information
	HlsIngests ChannelHlsIngestArrayOutput `pulumi:"hlsIngests"`
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides an AWS Elemental MediaPackage Channel.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mediapackage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mediapackage.NewChannel(ctx, "kittens", &mediapackage.ChannelArgs{
			ChannelId:   pulumi.String("kitten-channel"),
			Description: pulumi.String("A channel dedicated to amusing videos of kittens."),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Media Package Channels using the channel ID. For example:

```sh

$ pulumi import aws:mediapackage/channel:Channel kittens kittens-channel

```

func GetChannel

func GetChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelState, opts ...pulumi.ResourceOption) (*Channel, error)

GetChannel gets an existing Channel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewChannel

func NewChannel(ctx *pulumi.Context,
	name string, args *ChannelArgs, opts ...pulumi.ResourceOption) (*Channel, error)

NewChannel registers a new resource with the given unique name, arguments, and options.

func (*Channel) ElementType

func (*Channel) ElementType() reflect.Type

func (*Channel) ToChannelOutput

func (i *Channel) ToChannelOutput() ChannelOutput

func (*Channel) ToChannelOutputWithContext

func (i *Channel) ToChannelOutputWithContext(ctx context.Context) ChannelOutput

type ChannelArgs

type ChannelArgs struct {
	// A unique identifier describing the channel
	ChannelId pulumi.StringInput
	// A description of the channel
	Description pulumi.StringPtrInput
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Channel resource.

func (ChannelArgs) ElementType

func (ChannelArgs) ElementType() reflect.Type

type ChannelArray

type ChannelArray []ChannelInput

func (ChannelArray) ElementType

func (ChannelArray) ElementType() reflect.Type

func (ChannelArray) ToChannelArrayOutput

func (i ChannelArray) ToChannelArrayOutput() ChannelArrayOutput

func (ChannelArray) ToChannelArrayOutputWithContext

func (i ChannelArray) ToChannelArrayOutputWithContext(ctx context.Context) ChannelArrayOutput

type ChannelArrayInput

type ChannelArrayInput interface {
	pulumi.Input

	ToChannelArrayOutput() ChannelArrayOutput
	ToChannelArrayOutputWithContext(context.Context) ChannelArrayOutput
}

ChannelArrayInput is an input type that accepts ChannelArray and ChannelArrayOutput values. You can construct a concrete instance of `ChannelArrayInput` via:

ChannelArray{ ChannelArgs{...} }

type ChannelArrayOutput

type ChannelArrayOutput struct{ *pulumi.OutputState }

func (ChannelArrayOutput) ElementType

func (ChannelArrayOutput) ElementType() reflect.Type

func (ChannelArrayOutput) Index

func (ChannelArrayOutput) ToChannelArrayOutput

func (o ChannelArrayOutput) ToChannelArrayOutput() ChannelArrayOutput

func (ChannelArrayOutput) ToChannelArrayOutputWithContext

func (o ChannelArrayOutput) ToChannelArrayOutputWithContext(ctx context.Context) ChannelArrayOutput

type ChannelHlsIngest

type ChannelHlsIngest struct {
	// A list of the ingest endpoints
	IngestEndpoints []ChannelHlsIngestIngestEndpoint `pulumi:"ingestEndpoints"`
}

type ChannelHlsIngestArgs

type ChannelHlsIngestArgs struct {
	// A list of the ingest endpoints
	IngestEndpoints ChannelHlsIngestIngestEndpointArrayInput `pulumi:"ingestEndpoints"`
}

func (ChannelHlsIngestArgs) ElementType

func (ChannelHlsIngestArgs) ElementType() reflect.Type

func (ChannelHlsIngestArgs) ToChannelHlsIngestOutput

func (i ChannelHlsIngestArgs) ToChannelHlsIngestOutput() ChannelHlsIngestOutput

func (ChannelHlsIngestArgs) ToChannelHlsIngestOutputWithContext

func (i ChannelHlsIngestArgs) ToChannelHlsIngestOutputWithContext(ctx context.Context) ChannelHlsIngestOutput

type ChannelHlsIngestArray

type ChannelHlsIngestArray []ChannelHlsIngestInput

func (ChannelHlsIngestArray) ElementType

func (ChannelHlsIngestArray) ElementType() reflect.Type

func (ChannelHlsIngestArray) ToChannelHlsIngestArrayOutput

func (i ChannelHlsIngestArray) ToChannelHlsIngestArrayOutput() ChannelHlsIngestArrayOutput

func (ChannelHlsIngestArray) ToChannelHlsIngestArrayOutputWithContext

func (i ChannelHlsIngestArray) ToChannelHlsIngestArrayOutputWithContext(ctx context.Context) ChannelHlsIngestArrayOutput

type ChannelHlsIngestArrayInput

type ChannelHlsIngestArrayInput interface {
	pulumi.Input

	ToChannelHlsIngestArrayOutput() ChannelHlsIngestArrayOutput
	ToChannelHlsIngestArrayOutputWithContext(context.Context) ChannelHlsIngestArrayOutput
}

ChannelHlsIngestArrayInput is an input type that accepts ChannelHlsIngestArray and ChannelHlsIngestArrayOutput values. You can construct a concrete instance of `ChannelHlsIngestArrayInput` via:

ChannelHlsIngestArray{ ChannelHlsIngestArgs{...} }

type ChannelHlsIngestArrayOutput

type ChannelHlsIngestArrayOutput struct{ *pulumi.OutputState }

func (ChannelHlsIngestArrayOutput) ElementType

func (ChannelHlsIngestArrayOutput) Index

func (ChannelHlsIngestArrayOutput) ToChannelHlsIngestArrayOutput

func (o ChannelHlsIngestArrayOutput) ToChannelHlsIngestArrayOutput() ChannelHlsIngestArrayOutput

func (ChannelHlsIngestArrayOutput) ToChannelHlsIngestArrayOutputWithContext

func (o ChannelHlsIngestArrayOutput) ToChannelHlsIngestArrayOutputWithContext(ctx context.Context) ChannelHlsIngestArrayOutput

type ChannelHlsIngestIngestEndpoint

type ChannelHlsIngestIngestEndpoint struct {
	// The password
	Password *string `pulumi:"password"`
	// The URL
	Url *string `pulumi:"url"`
	// The username
	Username *string `pulumi:"username"`
}

type ChannelHlsIngestIngestEndpointArgs

type ChannelHlsIngestIngestEndpointArgs struct {
	// The password
	Password pulumi.StringPtrInput `pulumi:"password"`
	// The URL
	Url pulumi.StringPtrInput `pulumi:"url"`
	// The username
	Username pulumi.StringPtrInput `pulumi:"username"`
}

func (ChannelHlsIngestIngestEndpointArgs) ElementType

func (ChannelHlsIngestIngestEndpointArgs) ToChannelHlsIngestIngestEndpointOutput

func (i ChannelHlsIngestIngestEndpointArgs) ToChannelHlsIngestIngestEndpointOutput() ChannelHlsIngestIngestEndpointOutput

func (ChannelHlsIngestIngestEndpointArgs) ToChannelHlsIngestIngestEndpointOutputWithContext

func (i ChannelHlsIngestIngestEndpointArgs) ToChannelHlsIngestIngestEndpointOutputWithContext(ctx context.Context) ChannelHlsIngestIngestEndpointOutput

type ChannelHlsIngestIngestEndpointArray

type ChannelHlsIngestIngestEndpointArray []ChannelHlsIngestIngestEndpointInput

func (ChannelHlsIngestIngestEndpointArray) ElementType

func (ChannelHlsIngestIngestEndpointArray) ToChannelHlsIngestIngestEndpointArrayOutput

func (i ChannelHlsIngestIngestEndpointArray) ToChannelHlsIngestIngestEndpointArrayOutput() ChannelHlsIngestIngestEndpointArrayOutput

func (ChannelHlsIngestIngestEndpointArray) ToChannelHlsIngestIngestEndpointArrayOutputWithContext

func (i ChannelHlsIngestIngestEndpointArray) ToChannelHlsIngestIngestEndpointArrayOutputWithContext(ctx context.Context) ChannelHlsIngestIngestEndpointArrayOutput

type ChannelHlsIngestIngestEndpointArrayInput

type ChannelHlsIngestIngestEndpointArrayInput interface {
	pulumi.Input

	ToChannelHlsIngestIngestEndpointArrayOutput() ChannelHlsIngestIngestEndpointArrayOutput
	ToChannelHlsIngestIngestEndpointArrayOutputWithContext(context.Context) ChannelHlsIngestIngestEndpointArrayOutput
}

ChannelHlsIngestIngestEndpointArrayInput is an input type that accepts ChannelHlsIngestIngestEndpointArray and ChannelHlsIngestIngestEndpointArrayOutput values. You can construct a concrete instance of `ChannelHlsIngestIngestEndpointArrayInput` via:

ChannelHlsIngestIngestEndpointArray{ ChannelHlsIngestIngestEndpointArgs{...} }

type ChannelHlsIngestIngestEndpointArrayOutput

type ChannelHlsIngestIngestEndpointArrayOutput struct{ *pulumi.OutputState }

func (ChannelHlsIngestIngestEndpointArrayOutput) ElementType

func (ChannelHlsIngestIngestEndpointArrayOutput) Index

func (ChannelHlsIngestIngestEndpointArrayOutput) ToChannelHlsIngestIngestEndpointArrayOutput

func (o ChannelHlsIngestIngestEndpointArrayOutput) ToChannelHlsIngestIngestEndpointArrayOutput() ChannelHlsIngestIngestEndpointArrayOutput

func (ChannelHlsIngestIngestEndpointArrayOutput) ToChannelHlsIngestIngestEndpointArrayOutputWithContext

func (o ChannelHlsIngestIngestEndpointArrayOutput) ToChannelHlsIngestIngestEndpointArrayOutputWithContext(ctx context.Context) ChannelHlsIngestIngestEndpointArrayOutput

type ChannelHlsIngestIngestEndpointInput

type ChannelHlsIngestIngestEndpointInput interface {
	pulumi.Input

	ToChannelHlsIngestIngestEndpointOutput() ChannelHlsIngestIngestEndpointOutput
	ToChannelHlsIngestIngestEndpointOutputWithContext(context.Context) ChannelHlsIngestIngestEndpointOutput
}

ChannelHlsIngestIngestEndpointInput is an input type that accepts ChannelHlsIngestIngestEndpointArgs and ChannelHlsIngestIngestEndpointOutput values. You can construct a concrete instance of `ChannelHlsIngestIngestEndpointInput` via:

ChannelHlsIngestIngestEndpointArgs{...}

type ChannelHlsIngestIngestEndpointOutput

type ChannelHlsIngestIngestEndpointOutput struct{ *pulumi.OutputState }

func (ChannelHlsIngestIngestEndpointOutput) ElementType

func (ChannelHlsIngestIngestEndpointOutput) Password

The password

func (ChannelHlsIngestIngestEndpointOutput) ToChannelHlsIngestIngestEndpointOutput

func (o ChannelHlsIngestIngestEndpointOutput) ToChannelHlsIngestIngestEndpointOutput() ChannelHlsIngestIngestEndpointOutput

func (ChannelHlsIngestIngestEndpointOutput) ToChannelHlsIngestIngestEndpointOutputWithContext

func (o ChannelHlsIngestIngestEndpointOutput) ToChannelHlsIngestIngestEndpointOutputWithContext(ctx context.Context) ChannelHlsIngestIngestEndpointOutput

func (ChannelHlsIngestIngestEndpointOutput) Url

The URL

func (ChannelHlsIngestIngestEndpointOutput) Username

The username

type ChannelHlsIngestInput

type ChannelHlsIngestInput interface {
	pulumi.Input

	ToChannelHlsIngestOutput() ChannelHlsIngestOutput
	ToChannelHlsIngestOutputWithContext(context.Context) ChannelHlsIngestOutput
}

ChannelHlsIngestInput is an input type that accepts ChannelHlsIngestArgs and ChannelHlsIngestOutput values. You can construct a concrete instance of `ChannelHlsIngestInput` via:

ChannelHlsIngestArgs{...}

type ChannelHlsIngestOutput

type ChannelHlsIngestOutput struct{ *pulumi.OutputState }

func (ChannelHlsIngestOutput) ElementType

func (ChannelHlsIngestOutput) ElementType() reflect.Type

func (ChannelHlsIngestOutput) IngestEndpoints

A list of the ingest endpoints

func (ChannelHlsIngestOutput) ToChannelHlsIngestOutput

func (o ChannelHlsIngestOutput) ToChannelHlsIngestOutput() ChannelHlsIngestOutput

func (ChannelHlsIngestOutput) ToChannelHlsIngestOutputWithContext

func (o ChannelHlsIngestOutput) ToChannelHlsIngestOutputWithContext(ctx context.Context) ChannelHlsIngestOutput

type ChannelInput

type ChannelInput interface {
	pulumi.Input

	ToChannelOutput() ChannelOutput
	ToChannelOutputWithContext(ctx context.Context) ChannelOutput
}

type ChannelMap

type ChannelMap map[string]ChannelInput

func (ChannelMap) ElementType

func (ChannelMap) ElementType() reflect.Type

func (ChannelMap) ToChannelMapOutput

func (i ChannelMap) ToChannelMapOutput() ChannelMapOutput

func (ChannelMap) ToChannelMapOutputWithContext

func (i ChannelMap) ToChannelMapOutputWithContext(ctx context.Context) ChannelMapOutput

type ChannelMapInput

type ChannelMapInput interface {
	pulumi.Input

	ToChannelMapOutput() ChannelMapOutput
	ToChannelMapOutputWithContext(context.Context) ChannelMapOutput
}

ChannelMapInput is an input type that accepts ChannelMap and ChannelMapOutput values. You can construct a concrete instance of `ChannelMapInput` via:

ChannelMap{ "key": ChannelArgs{...} }

type ChannelMapOutput

type ChannelMapOutput struct{ *pulumi.OutputState }

func (ChannelMapOutput) ElementType

func (ChannelMapOutput) ElementType() reflect.Type

func (ChannelMapOutput) MapIndex

func (ChannelMapOutput) ToChannelMapOutput

func (o ChannelMapOutput) ToChannelMapOutput() ChannelMapOutput

func (ChannelMapOutput) ToChannelMapOutputWithContext

func (o ChannelMapOutput) ToChannelMapOutputWithContext(ctx context.Context) ChannelMapOutput

type ChannelOutput

type ChannelOutput struct{ *pulumi.OutputState }

func (ChannelOutput) Arn

The ARN of the channel

func (ChannelOutput) ChannelId

func (o ChannelOutput) ChannelId() pulumi.StringOutput

A unique identifier describing the channel

func (ChannelOutput) Description

func (o ChannelOutput) Description() pulumi.StringOutput

A description of the channel

func (ChannelOutput) ElementType

func (ChannelOutput) ElementType() reflect.Type

func (ChannelOutput) HlsIngests

A single item list of HLS ingest information

func (ChannelOutput) Tags

A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ChannelOutput) TagsAll deprecated

func (o ChannelOutput) TagsAll() pulumi.StringMapOutput

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ChannelOutput) ToChannelOutput

func (o ChannelOutput) ToChannelOutput() ChannelOutput

func (ChannelOutput) ToChannelOutputWithContext

func (o ChannelOutput) ToChannelOutputWithContext(ctx context.Context) ChannelOutput

type ChannelState

type ChannelState struct {
	// The ARN of the channel
	Arn pulumi.StringPtrInput
	// A unique identifier describing the channel
	ChannelId pulumi.StringPtrInput
	// A description of the channel
	Description pulumi.StringPtrInput
	// A single item list of HLS ingest information
	HlsIngests ChannelHlsIngestArrayInput
	// A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (ChannelState) ElementType

func (ChannelState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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