1. Packages
  2. AWS Native
  3. API Docs
  4. entityresolution
  5. PolicyStatement

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

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

aws-native.entityresolution.PolicyStatement

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

    Policy Statement defined in AWS Entity Resolution Service

    Create PolicyStatement Resource

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

    Constructor syntax

    new PolicyStatement(name: string, args: PolicyStatementArgs, opts?: CustomResourceOptions);
    @overload
    def PolicyStatement(resource_name: str,
                        args: PolicyStatementArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def PolicyStatement(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        arn: Optional[str] = None,
                        statement_id: Optional[str] = None,
                        action: Optional[Sequence[str]] = None,
                        condition: Optional[str] = None,
                        effect: Optional[PolicyStatementStatementEffect] = None,
                        principal: Optional[Sequence[str]] = None)
    func NewPolicyStatement(ctx *Context, name string, args PolicyStatementArgs, opts ...ResourceOption) (*PolicyStatement, error)
    public PolicyStatement(string name, PolicyStatementArgs args, CustomResourceOptions? opts = null)
    public PolicyStatement(String name, PolicyStatementArgs args)
    public PolicyStatement(String name, PolicyStatementArgs args, CustomResourceOptions options)
    
    type: aws-native:entityresolution:PolicyStatement
    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 PolicyStatementArgs
    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 PolicyStatementArgs
    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 PolicyStatementArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicyStatementArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicyStatementArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const policyStatementResource = new aws_native.entityresolution.PolicyStatement("policyStatementResource", {
        arn: "string",
        statementId: "string",
        action: ["string"],
        condition: "string",
        effect: aws_native.entityresolution.PolicyStatementStatementEffect.Allow,
        principal: ["string"],
    });
    
    Coming soon!
    

    PolicyStatement 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 PolicyStatement resource accepts the following input properties:

    arn String
    statementId String
    action List<String>
    condition String
    effect "Allow" | "Deny"
    principal List<String>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PolicyStatement 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.

    Supporting Types

    PolicyStatementStatementEffect, PolicyStatementStatementEffectArgs

    Allow
    Allow
    Deny
    Deny
    PolicyStatementStatementEffectAllow
    Allow
    PolicyStatementStatementEffectDeny
    Deny
    Allow
    Allow
    Deny
    Deny
    Allow
    Allow
    Deny
    Deny
    ALLOW
    Allow
    DENY
    Deny
    "Allow"
    Allow
    "Deny"
    Deny

    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.105.0 published on Thursday, May 2, 2024 by Pulumi