1. Packages
  2. AWS Native
  3. API Docs
  4. mediapackagev2
  5. OriginEndpointPolicy

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.mediapackagev2.OriginEndpointPolicy

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Represents a resource policy that allows or denies access to an origin endpoint.

    Create OriginEndpointPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OriginEndpointPolicy(name: string, args: OriginEndpointPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def OriginEndpointPolicy(resource_name: str,
                             args: OriginEndpointPolicyArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def OriginEndpointPolicy(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             channel_group_name: Optional[str] = None,
                             channel_name: Optional[str] = None,
                             origin_endpoint_name: Optional[str] = None,
                             policy: Optional[Any] = None)
    func NewOriginEndpointPolicy(ctx *Context, name string, args OriginEndpointPolicyArgs, opts ...ResourceOption) (*OriginEndpointPolicy, error)
    public OriginEndpointPolicy(string name, OriginEndpointPolicyArgs args, CustomResourceOptions? opts = null)
    public OriginEndpointPolicy(String name, OriginEndpointPolicyArgs args)
    public OriginEndpointPolicy(String name, OriginEndpointPolicyArgs args, CustomResourceOptions options)
    
    type: aws-native:mediapackagev2:OriginEndpointPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OriginEndpointPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OriginEndpointPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OriginEndpointPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OriginEndpointPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OriginEndpointPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    OriginEndpointPolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The OriginEndpointPolicy resource accepts the following input properties:

    ChannelGroupName string
    The name of the channel group associated with the origin endpoint policy.
    ChannelName string
    The channel name associated with the origin endpoint policy.
    OriginEndpointName string
    The name of the origin endpoint associated with the origin endpoint policy.
    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.

    ChannelGroupName string
    The name of the channel group associated with the origin endpoint policy.
    ChannelName string
    The channel name associated with the origin endpoint policy.
    OriginEndpointName string
    The name of the origin endpoint associated with the origin endpoint policy.
    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.

    channelGroupName String
    The name of the channel group associated with the origin endpoint policy.
    channelName String
    The channel name associated with the origin endpoint policy.
    originEndpointName String
    The name of the origin endpoint associated with the origin endpoint policy.
    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.

    channelGroupName string
    The name of the channel group associated with the origin endpoint policy.
    channelName string
    The channel name associated with the origin endpoint policy.
    originEndpointName string
    The name of the origin endpoint associated with the origin endpoint policy.
    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.

    channel_group_name str
    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_name str
    The name of the origin endpoint associated with the origin endpoint policy.
    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.

    channelGroupName String
    The name of the channel group associated with the origin endpoint policy.
    channelName String
    The channel name associated with the origin endpoint policy.
    originEndpointName String
    The name of the origin endpoint associated with the origin endpoint policy.
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OriginEndpointPolicy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi