We recommend new projects start with resources from the AWS provider.
aws-native.mediapackagev2.getOriginEndpointPolicy
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Represents a resource policy that allows or denies access to an origin endpoint.
Using getOriginEndpointPolicy
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 getOriginEndpointPolicy(args: GetOriginEndpointPolicyArgs, opts?: InvokeOptions): Promise<GetOriginEndpointPolicyResult>
function getOriginEndpointPolicyOutput(args: GetOriginEndpointPolicyOutputArgs, opts?: InvokeOptions): Output<GetOriginEndpointPolicyResult>def get_origin_endpoint_policy(channel_group_name: Optional[str] = None,
                               channel_name: Optional[str] = None,
                               origin_endpoint_name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetOriginEndpointPolicyResult
def get_origin_endpoint_policy_output(channel_group_name: Optional[pulumi.Input[str]] = None,
                               channel_name: Optional[pulumi.Input[str]] = None,
                               origin_endpoint_name: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetOriginEndpointPolicyResult]func LookupOriginEndpointPolicy(ctx *Context, args *LookupOriginEndpointPolicyArgs, opts ...InvokeOption) (*LookupOriginEndpointPolicyResult, error)
func LookupOriginEndpointPolicyOutput(ctx *Context, args *LookupOriginEndpointPolicyOutputArgs, opts ...InvokeOption) LookupOriginEndpointPolicyResultOutput> Note: This function is named LookupOriginEndpointPolicy in the Go SDK.
public static class GetOriginEndpointPolicy 
{
    public static Task<GetOriginEndpointPolicyResult> InvokeAsync(GetOriginEndpointPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetOriginEndpointPolicyResult> Invoke(GetOriginEndpointPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOriginEndpointPolicyResult> getOriginEndpointPolicy(GetOriginEndpointPolicyArgs args, InvokeOptions options)
public static Output<GetOriginEndpointPolicyResult> getOriginEndpointPolicy(GetOriginEndpointPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:mediapackagev2:getOriginEndpointPolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ChannelGroup stringName 
- The name of the channel group associated with the origin endpoint policy.
- ChannelName string
- The channel name associated with the origin endpoint policy.
- OriginEndpoint stringName 
- The name of the origin endpoint associated with the origin endpoint policy.
- ChannelGroup stringName 
- The name of the channel group associated with the origin endpoint policy.
- ChannelName string
- The channel name associated with the origin endpoint policy.
- OriginEndpoint stringName 
- The name of the origin endpoint associated with the origin endpoint policy.
- channelGroup StringName 
- The name of the channel group associated with the origin endpoint policy.
- channelName String
- The channel name associated with the origin endpoint policy.
- originEndpoint StringName 
- The name of the origin endpoint associated with the origin endpoint policy.
- channelGroup stringName 
- The name of the channel group associated with the origin endpoint policy.
- channelName string
- The channel name associated with the origin endpoint policy.
- originEndpoint stringName 
- The name of the origin endpoint associated with the origin endpoint policy.
- channel_group_ strname 
- The name of the channel group associated with the origin endpoint policy.
- channel_name str
- The channel name associated with the origin endpoint policy.
- origin_endpoint_ strname 
- The name of the origin endpoint associated with the origin endpoint policy.
- channelGroup StringName 
- The name of the channel group associated with the origin endpoint policy.
- channelName String
- The channel name associated with the origin endpoint policy.
- originEndpoint StringName 
- The name of the origin endpoint associated with the origin endpoint policy.
getOriginEndpointPolicy Result
The following output properties are available:
- Policy object
- The policy associated with the origin endpoint. - Search the CloudFormation User Guide for - AWS::MediaPackageV2::OriginEndpointPolicyfor more information about the expected schema for this property.
- Policy interface{}
- The policy associated with the origin endpoint. - Search the CloudFormation User Guide for - AWS::MediaPackageV2::OriginEndpointPolicyfor more information about the expected schema for this property.
- policy Object
- The policy associated with the origin endpoint. - Search the CloudFormation User Guide for - AWS::MediaPackageV2::OriginEndpointPolicyfor more information about the expected schema for this property.
- policy any
- The policy associated with the origin endpoint. - Search the CloudFormation User Guide for - AWS::MediaPackageV2::OriginEndpointPolicyfor more information about the expected schema for this property.
- policy Any
- The policy associated with the origin endpoint. - Search the CloudFormation User Guide for - AWS::MediaPackageV2::OriginEndpointPolicyfor more information about the expected schema for this property.
- policy Any
- The policy associated with the origin endpoint. - Search the CloudFormation User Guide for - AWS::MediaPackageV2::OriginEndpointPolicyfor 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.