1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. mediatailor
  5. getChannelPolicy

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.mediatailor.getChannelPolicy

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

Definition of AWS::MediaTailor::ChannelPolicy Resource Type

Using getChannelPolicy

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getChannelPolicy(args: GetChannelPolicyArgs, opts?: InvokeOptions): Promise<GetChannelPolicyResult>
function getChannelPolicyOutput(args: GetChannelPolicyOutputArgs, opts?: InvokeOptions): Output<GetChannelPolicyResult>
Copy
def get_channel_policy(channel_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetChannelPolicyResult
def get_channel_policy_output(channel_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetChannelPolicyResult]
Copy
func LookupChannelPolicy(ctx *Context, args *LookupChannelPolicyArgs, opts ...InvokeOption) (*LookupChannelPolicyResult, error)
func LookupChannelPolicyOutput(ctx *Context, args *LookupChannelPolicyOutputArgs, opts ...InvokeOption) LookupChannelPolicyResultOutput
Copy

> Note: This function is named LookupChannelPolicy in the Go SDK.

public static class GetChannelPolicy 
{
    public static Task<GetChannelPolicyResult> InvokeAsync(GetChannelPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetChannelPolicyResult> Invoke(GetChannelPolicyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetChannelPolicyResult> getChannelPolicy(GetChannelPolicyArgs args, InvokeOptions options)
public static Output<GetChannelPolicyResult> getChannelPolicy(GetChannelPolicyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:mediatailor:getChannelPolicy
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ChannelName This property is required. string
The name of the channel associated with this Channel Policy.
ChannelName This property is required. string
The name of the channel associated with this Channel Policy.
channelName This property is required. String
The name of the channel associated with this Channel Policy.
channelName This property is required. string
The name of the channel associated with this Channel Policy.
channel_name This property is required. str
The name of the channel associated with this Channel Policy.
channelName This property is required. String
The name of the channel associated with this Channel Policy.

getChannelPolicy Result

The following output properties are available:

Policy object

Search the CloudFormation User Guide for AWS::MediaTailor::ChannelPolicy for more information about the expected schema for this property.

Policy interface{}

Search the CloudFormation User Guide for AWS::MediaTailor::ChannelPolicy for more information about the expected schema for this property.

policy Object

Search the CloudFormation User Guide for AWS::MediaTailor::ChannelPolicy for more information about the expected schema for this property.

policy any

Search the CloudFormation User Guide for AWS::MediaTailor::ChannelPolicy for more information about the expected schema for this property.

policy Any

Search the CloudFormation User Guide for AWS::MediaTailor::ChannelPolicy for more information about the expected schema for this property.

policy Any

Search the CloudFormation User Guide for AWS::MediaTailor::ChannelPolicy for more information about the expected schema for this property.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi