mediapackagev2

package
v6.70.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelGroup

type ChannelGroup struct {
	pulumi.CustomResourceState

	// The ARN of the channel
	Arn pulumi.StringOutput `pulumi:"arn"`
	// A description of the channel group
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The egress domain of the channel group
	EgressDomain pulumi.StringOutput `pulumi:"egressDomain"`
	// A unique identifier naming the channel group
	Name pulumi.StringOutput `pulumi:"name"`
	// 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"`
}

Creates an AWS Elemental MediaPackage Version 2 Channel Group.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mediapackagev2.NewChannelGroup(ctx, "example", &mediapackagev2.ChannelGroupArgs{
			Name:        pulumi.String("example"),
			Description: pulumi.String("channel group for example channels"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Elemental MediaPackage Version 2 Channel Group using the channel group's `name`. For example:

```sh $ pulumi import aws:mediapackagev2/channelGroup:ChannelGroup example example ```

func GetChannelGroup

func GetChannelGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ChannelGroupState, opts ...pulumi.ResourceOption) (*ChannelGroup, error)

GetChannelGroup gets an existing ChannelGroup 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 NewChannelGroup

func NewChannelGroup(ctx *pulumi.Context,
	name string, args *ChannelGroupArgs, opts ...pulumi.ResourceOption) (*ChannelGroup, error)

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

func (*ChannelGroup) ElementType

func (*ChannelGroup) ElementType() reflect.Type

func (*ChannelGroup) ToChannelGroupOutput

func (i *ChannelGroup) ToChannelGroupOutput() ChannelGroupOutput

func (*ChannelGroup) ToChannelGroupOutputWithContext

func (i *ChannelGroup) ToChannelGroupOutputWithContext(ctx context.Context) ChannelGroupOutput

type ChannelGroupArgs

type ChannelGroupArgs struct {
	// A description of the channel group
	Description pulumi.StringPtrInput
	// A unique identifier naming the channel group
	Name 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 ChannelGroup resource.

func (ChannelGroupArgs) ElementType

func (ChannelGroupArgs) ElementType() reflect.Type

type ChannelGroupArray

type ChannelGroupArray []ChannelGroupInput

func (ChannelGroupArray) ElementType

func (ChannelGroupArray) ElementType() reflect.Type

func (ChannelGroupArray) ToChannelGroupArrayOutput

func (i ChannelGroupArray) ToChannelGroupArrayOutput() ChannelGroupArrayOutput

func (ChannelGroupArray) ToChannelGroupArrayOutputWithContext

func (i ChannelGroupArray) ToChannelGroupArrayOutputWithContext(ctx context.Context) ChannelGroupArrayOutput

type ChannelGroupArrayInput

type ChannelGroupArrayInput interface {
	pulumi.Input

	ToChannelGroupArrayOutput() ChannelGroupArrayOutput
	ToChannelGroupArrayOutputWithContext(context.Context) ChannelGroupArrayOutput
}

ChannelGroupArrayInput is an input type that accepts ChannelGroupArray and ChannelGroupArrayOutput values. You can construct a concrete instance of `ChannelGroupArrayInput` via:

ChannelGroupArray{ ChannelGroupArgs{...} }

type ChannelGroupArrayOutput

type ChannelGroupArrayOutput struct{ *pulumi.OutputState }

func (ChannelGroupArrayOutput) ElementType

func (ChannelGroupArrayOutput) ElementType() reflect.Type

func (ChannelGroupArrayOutput) Index

func (ChannelGroupArrayOutput) ToChannelGroupArrayOutput

func (o ChannelGroupArrayOutput) ToChannelGroupArrayOutput() ChannelGroupArrayOutput

func (ChannelGroupArrayOutput) ToChannelGroupArrayOutputWithContext

func (o ChannelGroupArrayOutput) ToChannelGroupArrayOutputWithContext(ctx context.Context) ChannelGroupArrayOutput

type ChannelGroupInput

type ChannelGroupInput interface {
	pulumi.Input

	ToChannelGroupOutput() ChannelGroupOutput
	ToChannelGroupOutputWithContext(ctx context.Context) ChannelGroupOutput
}

type ChannelGroupMap

type ChannelGroupMap map[string]ChannelGroupInput

func (ChannelGroupMap) ElementType

func (ChannelGroupMap) ElementType() reflect.Type

func (ChannelGroupMap) ToChannelGroupMapOutput

func (i ChannelGroupMap) ToChannelGroupMapOutput() ChannelGroupMapOutput

func (ChannelGroupMap) ToChannelGroupMapOutputWithContext

func (i ChannelGroupMap) ToChannelGroupMapOutputWithContext(ctx context.Context) ChannelGroupMapOutput

type ChannelGroupMapInput

type ChannelGroupMapInput interface {
	pulumi.Input

	ToChannelGroupMapOutput() ChannelGroupMapOutput
	ToChannelGroupMapOutputWithContext(context.Context) ChannelGroupMapOutput
}

ChannelGroupMapInput is an input type that accepts ChannelGroupMap and ChannelGroupMapOutput values. You can construct a concrete instance of `ChannelGroupMapInput` via:

ChannelGroupMap{ "key": ChannelGroupArgs{...} }

type ChannelGroupMapOutput

type ChannelGroupMapOutput struct{ *pulumi.OutputState }

func (ChannelGroupMapOutput) ElementType

func (ChannelGroupMapOutput) ElementType() reflect.Type

func (ChannelGroupMapOutput) MapIndex

func (ChannelGroupMapOutput) ToChannelGroupMapOutput

func (o ChannelGroupMapOutput) ToChannelGroupMapOutput() ChannelGroupMapOutput

func (ChannelGroupMapOutput) ToChannelGroupMapOutputWithContext

func (o ChannelGroupMapOutput) ToChannelGroupMapOutputWithContext(ctx context.Context) ChannelGroupMapOutput

type ChannelGroupOutput

type ChannelGroupOutput struct{ *pulumi.OutputState }

func (ChannelGroupOutput) Arn

The ARN of the channel

func (ChannelGroupOutput) Description

func (o ChannelGroupOutput) Description() pulumi.StringPtrOutput

A description of the channel group

func (ChannelGroupOutput) EgressDomain

func (o ChannelGroupOutput) EgressDomain() pulumi.StringOutput

The egress domain of the channel group

func (ChannelGroupOutput) ElementType

func (ChannelGroupOutput) ElementType() reflect.Type

func (ChannelGroupOutput) Name

A unique identifier naming the channel group

func (ChannelGroupOutput) 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 (ChannelGroupOutput) TagsAll deprecated

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

Deprecated: Please use `tags` instead.

func (ChannelGroupOutput) ToChannelGroupOutput

func (o ChannelGroupOutput) ToChannelGroupOutput() ChannelGroupOutput

func (ChannelGroupOutput) ToChannelGroupOutputWithContext

func (o ChannelGroupOutput) ToChannelGroupOutputWithContext(ctx context.Context) ChannelGroupOutput

type ChannelGroupState

type ChannelGroupState struct {
	// The ARN of the channel
	Arn pulumi.StringPtrInput
	// A description of the channel group
	Description pulumi.StringPtrInput
	// The egress domain of the channel group
	EgressDomain pulumi.StringPtrInput
	// A unique identifier naming the channel group
	Name 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
	// 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 (ChannelGroupState) ElementType

func (ChannelGroupState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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