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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:mediapackagev2:getOriginEndpointPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Channel
Group stringName - The name of the channel group associated with the origin endpoint policy.
- Channel
Name string - The channel name associated with the origin endpoint policy.
- Origin
Endpoint stringName - The name of the origin endpoint associated with the origin endpoint policy.
- Channel
Group stringName - The name of the channel group associated with the origin endpoint policy.
- Channel
Name string - The channel name associated with the origin endpoint policy.
- Origin
Endpoint stringName - The name of the origin endpoint associated with the origin endpoint policy.
- channel
Group StringName - The name of the channel group associated with the origin endpoint policy.
- channel
Name String - The channel name associated with the origin endpoint policy.
- origin
Endpoint StringName - The name of the origin endpoint associated with the origin endpoint policy.
- channel
Group stringName - The name of the channel group associated with the origin endpoint policy.
- channel
Name string - The channel name associated with the origin endpoint policy.
- origin
Endpoint 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.
- channel
Group StringName - The name of the channel group associated with the origin endpoint policy.
- channel
Name String - The channel name associated with the origin endpoint policy.
- origin
Endpoint 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::OriginEndpointPolicy
for 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::OriginEndpointPolicy
for 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::OriginEndpointPolicy
for 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::OriginEndpointPolicy
for 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::OriginEndpointPolicy
for 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::OriginEndpointPolicy
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.