Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type Channel
- type ChannelArgs
- type ChannelArray
- type ChannelArrayInput
- type ChannelArrayOutput
- type ChannelHlsIngest
- type ChannelHlsIngestArgs
- type ChannelHlsIngestArray
- type ChannelHlsIngestArrayInput
- type ChannelHlsIngestArrayOutput
- func (ChannelHlsIngestArrayOutput) ElementType() reflect.Type
- func (o ChannelHlsIngestArrayOutput) Index(i pulumi.IntInput) ChannelHlsIngestOutput
- func (o ChannelHlsIngestArrayOutput) ToChannelHlsIngestArrayOutput() ChannelHlsIngestArrayOutput
- func (o ChannelHlsIngestArrayOutput) ToChannelHlsIngestArrayOutputWithContext(ctx context.Context) ChannelHlsIngestArrayOutput
- type ChannelHlsIngestIngestEndpoint
- type ChannelHlsIngestIngestEndpointArgs
- func (ChannelHlsIngestIngestEndpointArgs) ElementType() reflect.Type
- func (i ChannelHlsIngestIngestEndpointArgs) ToChannelHlsIngestIngestEndpointOutput() ChannelHlsIngestIngestEndpointOutput
- func (i ChannelHlsIngestIngestEndpointArgs) ToChannelHlsIngestIngestEndpointOutputWithContext(ctx context.Context) ChannelHlsIngestIngestEndpointOutput
- type ChannelHlsIngestIngestEndpointArray
- func (ChannelHlsIngestIngestEndpointArray) ElementType() reflect.Type
- func (i ChannelHlsIngestIngestEndpointArray) ToChannelHlsIngestIngestEndpointArrayOutput() ChannelHlsIngestIngestEndpointArrayOutput
- func (i ChannelHlsIngestIngestEndpointArray) ToChannelHlsIngestIngestEndpointArrayOutputWithContext(ctx context.Context) ChannelHlsIngestIngestEndpointArrayOutput
- type ChannelHlsIngestIngestEndpointArrayInput
- type ChannelHlsIngestIngestEndpointArrayOutput
- func (ChannelHlsIngestIngestEndpointArrayOutput) ElementType() reflect.Type
- func (o ChannelHlsIngestIngestEndpointArrayOutput) Index(i pulumi.IntInput) ChannelHlsIngestIngestEndpointOutput
- func (o ChannelHlsIngestIngestEndpointArrayOutput) ToChannelHlsIngestIngestEndpointArrayOutput() ChannelHlsIngestIngestEndpointArrayOutput
- func (o ChannelHlsIngestIngestEndpointArrayOutput) ToChannelHlsIngestIngestEndpointArrayOutputWithContext(ctx context.Context) ChannelHlsIngestIngestEndpointArrayOutput
- type ChannelHlsIngestIngestEndpointInput
- type ChannelHlsIngestIngestEndpointOutput
- func (ChannelHlsIngestIngestEndpointOutput) ElementType() reflect.Type
- func (o ChannelHlsIngestIngestEndpointOutput) Password() pulumi.StringPtrOutput
- func (o ChannelHlsIngestIngestEndpointOutput) ToChannelHlsIngestIngestEndpointOutput() ChannelHlsIngestIngestEndpointOutput
- func (o ChannelHlsIngestIngestEndpointOutput) ToChannelHlsIngestIngestEndpointOutputWithContext(ctx context.Context) ChannelHlsIngestIngestEndpointOutput
- func (o ChannelHlsIngestIngestEndpointOutput) Url() pulumi.StringPtrOutput
- func (o ChannelHlsIngestIngestEndpointOutput) Username() pulumi.StringPtrOutput
- type ChannelHlsIngestInput
- type ChannelHlsIngestOutput
- func (ChannelHlsIngestOutput) ElementType() reflect.Type
- func (o ChannelHlsIngestOutput) IngestEndpoints() ChannelHlsIngestIngestEndpointArrayOutput
- func (o ChannelHlsIngestOutput) ToChannelHlsIngestOutput() ChannelHlsIngestOutput
- func (o ChannelHlsIngestOutput) ToChannelHlsIngestOutputWithContext(ctx context.Context) ChannelHlsIngestOutput
- type ChannelInput
- type ChannelMap
- type ChannelMapInput
- type ChannelMapOutput
- type ChannelOutput
- type ChannelState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v4.37.2
PkgVersion uses reflection to determine the version of the current package.
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 . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides an AWS Elemental MediaPackage Channel.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/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
Media Package Channels can be imported via the channel ID, e.g.,
```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) 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 (o ChannelArrayOutput) Index(i pulumi.IntInput) ChannelOutput
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) ElementType() reflect.Type
func (ChannelHlsIngestArrayOutput) Index ¶
func (o ChannelHlsIngestArrayOutput) Index(i pulumi.IntInput) ChannelHlsIngestOutput
func (ChannelHlsIngestArrayOutput) ToChannelHlsIngestArrayOutput ¶
func (o ChannelHlsIngestArrayOutput) ToChannelHlsIngestArrayOutput() ChannelHlsIngestArrayOutput
func (ChannelHlsIngestArrayOutput) ToChannelHlsIngestArrayOutputWithContext ¶
func (o ChannelHlsIngestArrayOutput) ToChannelHlsIngestArrayOutputWithContext(ctx context.Context) ChannelHlsIngestArrayOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ChannelHlsIngestIngestEndpointOutput) Password ¶
func (o ChannelHlsIngestIngestEndpointOutput) Password() pulumi.StringPtrOutput
The password
func (ChannelHlsIngestIngestEndpointOutput) ToChannelHlsIngestIngestEndpointOutput ¶
func (o ChannelHlsIngestIngestEndpointOutput) ToChannelHlsIngestIngestEndpointOutput() ChannelHlsIngestIngestEndpointOutput
func (ChannelHlsIngestIngestEndpointOutput) ToChannelHlsIngestIngestEndpointOutputWithContext ¶
func (o ChannelHlsIngestIngestEndpointOutput) ToChannelHlsIngestIngestEndpointOutputWithContext(ctx context.Context) ChannelHlsIngestIngestEndpointOutput
func (ChannelHlsIngestIngestEndpointOutput) Url ¶
func (o ChannelHlsIngestIngestEndpointOutput) Url() pulumi.StringPtrOutput
The URL
func (ChannelHlsIngestIngestEndpointOutput) Username ¶
func (o ChannelHlsIngestIngestEndpointOutput) Username() pulumi.StringPtrOutput
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 ¶
func (o ChannelHlsIngestOutput) IngestEndpoints() ChannelHlsIngestIngestEndpointArrayOutput
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 (o ChannelMapOutput) MapIndex(k pulumi.StringInput) ChannelOutput
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) ElementType ¶
func (ChannelOutput) ElementType() reflect.Type
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 . TagsAll pulumi.StringMapInput }
func (ChannelState) ElementType ¶
func (ChannelState) ElementType() reflect.Type