We recommend new projects start with resources from the AWS provider.
aws-native.mediapackagev2.getChannelPolicy
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Represents a resource-based policy that allows or denies access to a channel.
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>
def get_channel_policy(channel_group_name: Optional[str] = None,
channel_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetChannelPolicyResult
def get_channel_policy_output(channel_group_name: Optional[pulumi.Input[str]] = None,
channel_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetChannelPolicyResult]
func LookupChannelPolicy(ctx *Context, args *LookupChannelPolicyArgs, opts ...InvokeOption) (*LookupChannelPolicyResult, error)
func LookupChannelPolicyOutput(ctx *Context, args *LookupChannelPolicyOutputArgs, opts ...InvokeOption) LookupChannelPolicyResultOutput
> 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)
}
public static CompletableFuture<GetChannelPolicyResult> getChannelPolicy(GetChannelPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:mediapackagev2:getChannelPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Channel
Group stringName - The name of the channel group associated with the channel policy.
- Channel
Name string - The name of the channel associated with the channel policy.
- Channel
Group stringName - The name of the channel group associated with the channel policy.
- Channel
Name string - The name of the channel associated with the channel policy.
- channel
Group StringName - The name of the channel group associated with the channel policy.
- channel
Name String - The name of the channel associated with the channel policy.
- channel
Group stringName - The name of the channel group associated with the channel policy.
- channel
Name string - The name of the channel associated with the channel policy.
- channel_
group_ strname - The name of the channel group associated with the channel policy.
- channel_
name str - The name of the channel associated with the channel policy.
- channel
Group StringName - The name of the channel group associated with the channel policy.
- channel
Name String - The name of the channel associated with the channel policy.
getChannelPolicy Result
The following output properties are available:
- Policy object
The policy associated with the channel.
Search the CloudFormation User Guide for
AWS::MediaPackageV2::ChannelPolicy
for more information about the expected schema for this property.
- Policy interface{}
The policy associated with the channel.
Search the CloudFormation User Guide for
AWS::MediaPackageV2::ChannelPolicy
for more information about the expected schema for this property.
- policy Object
The policy associated with the channel.
Search the CloudFormation User Guide for
AWS::MediaPackageV2::ChannelPolicy
for more information about the expected schema for this property.
- policy any
The policy associated with the channel.
Search the CloudFormation User Guide for
AWS::MediaPackageV2::ChannelPolicy
for more information about the expected schema for this property.
- policy Any
The policy associated with the channel.
Search the CloudFormation User Guide for
AWS::MediaPackageV2::ChannelPolicy
for more information about the expected schema for this property.
- policy Any
The policy associated with the channel.
Search the CloudFormation User Guide for
AWS::MediaPackageV2::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.