1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. iotsitewise
  5. getAccessPolicy

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.iotsitewise.getAccessPolicy

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Resource schema for AWS::IoTSiteWise::AccessPolicy

    Using getAccessPolicy

    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 getAccessPolicy(args: GetAccessPolicyArgs, opts?: InvokeOptions): Promise<GetAccessPolicyResult>
    function getAccessPolicyOutput(args: GetAccessPolicyOutputArgs, opts?: InvokeOptions): Output<GetAccessPolicyResult>
    def get_access_policy(access_policy_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetAccessPolicyResult
    def get_access_policy_output(access_policy_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetAccessPolicyResult]
    func LookupAccessPolicy(ctx *Context, args *LookupAccessPolicyArgs, opts ...InvokeOption) (*LookupAccessPolicyResult, error)
    func LookupAccessPolicyOutput(ctx *Context, args *LookupAccessPolicyOutputArgs, opts ...InvokeOption) LookupAccessPolicyResultOutput

    > Note: This function is named LookupAccessPolicy in the Go SDK.

    public static class GetAccessPolicy 
    {
        public static Task<GetAccessPolicyResult> InvokeAsync(GetAccessPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetAccessPolicyResult> Invoke(GetAccessPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAccessPolicyResult> getAccessPolicy(GetAccessPolicyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:iotsitewise:getAccessPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccessPolicyId string
    The ID of the access policy.
    AccessPolicyId string
    The ID of the access policy.
    accessPolicyId String
    The ID of the access policy.
    accessPolicyId string
    The ID of the access policy.
    access_policy_id str
    The ID of the access policy.
    accessPolicyId String
    The ID of the access policy.

    getAccessPolicy Result

    The following output properties are available:

    AccessPolicyArn string
    The ARN of the access policy.
    AccessPolicyId string
    The ID of the access policy.
    AccessPolicyIdentity Pulumi.AwsNative.IoTSiteWise.Outputs.AccessPolicyIdentity
    The identity for this access policy. Choose either a user or a group but not both.
    AccessPolicyPermission string
    The permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER.
    AccessPolicyResource Pulumi.AwsNative.IoTSiteWise.Outputs.AccessPolicyResource
    The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
    AccessPolicyArn string
    The ARN of the access policy.
    AccessPolicyId string
    The ID of the access policy.
    AccessPolicyIdentity AccessPolicyIdentity
    The identity for this access policy. Choose either a user or a group but not both.
    AccessPolicyPermission string
    The permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER.
    AccessPolicyResource AccessPolicyResource
    The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
    accessPolicyArn String
    The ARN of the access policy.
    accessPolicyId String
    The ID of the access policy.
    accessPolicyIdentity AccessPolicyIdentity
    The identity for this access policy. Choose either a user or a group but not both.
    accessPolicyPermission String
    The permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER.
    accessPolicyResource AccessPolicyResource
    The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
    accessPolicyArn string
    The ARN of the access policy.
    accessPolicyId string
    The ID of the access policy.
    accessPolicyIdentity AccessPolicyIdentity
    The identity for this access policy. Choose either a user or a group but not both.
    accessPolicyPermission string
    The permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER.
    accessPolicyResource AccessPolicyResource
    The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
    access_policy_arn str
    The ARN of the access policy.
    access_policy_id str
    The ID of the access policy.
    access_policy_identity AccessPolicyIdentity
    The identity for this access policy. Choose either a user or a group but not both.
    access_policy_permission str
    The permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER.
    access_policy_resource AccessPolicyResource
    The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
    accessPolicyArn String
    The ARN of the access policy.
    accessPolicyId String
    The ID of the access policy.
    accessPolicyIdentity Property Map
    The identity for this access policy. Choose either a user or a group but not both.
    accessPolicyPermission String
    The permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER.
    accessPolicyResource Property Map
    The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.

    Supporting Types

    AccessPolicyIamRole

    Arn string
    The ARN of the IAM role.
    Arn string
    The ARN of the IAM role.
    arn String
    The ARN of the IAM role.
    arn string
    The ARN of the IAM role.
    arn str
    The ARN of the IAM role.
    arn String
    The ARN of the IAM role.

    AccessPolicyIamUser

    Arn string
    The ARN of the IAM user.
    Arn string
    The ARN of the IAM user.
    arn String
    The ARN of the IAM user.
    arn string
    The ARN of the IAM user.
    arn str
    The ARN of the IAM user.
    arn String
    The ARN of the IAM user.

    AccessPolicyIdentity

    IamRole AccessPolicyIamRole
    An IAM role identity.
    IamUser AccessPolicyIamUser
    An IAM user identity.
    User AccessPolicyUser
    An IAM Identity Center user identity.
    iamRole AccessPolicyIamRole
    An IAM role identity.
    iamUser AccessPolicyIamUser
    An IAM user identity.
    user AccessPolicyUser
    An IAM Identity Center user identity.
    iamRole AccessPolicyIamRole
    An IAM role identity.
    iamUser AccessPolicyIamUser
    An IAM user identity.
    user AccessPolicyUser
    An IAM Identity Center user identity.
    iam_role AccessPolicyIamRole
    An IAM role identity.
    iam_user AccessPolicyIamUser
    An IAM user identity.
    user AccessPolicyUser
    An IAM Identity Center user identity.
    iamRole Property Map
    An IAM role identity.
    iamUser Property Map
    An IAM user identity.
    user Property Map
    An IAM Identity Center user identity.

    AccessPolicyPortal

    Id string
    The ID of the portal.
    Id string
    The ID of the portal.
    id String
    The ID of the portal.
    id string
    The ID of the portal.
    id str
    The ID of the portal.
    id String
    The ID of the portal.

    AccessPolicyProject

    Id string
    The ID of the project.
    Id string
    The ID of the project.
    id String
    The ID of the project.
    id string
    The ID of the project.
    id str
    The ID of the project.
    id String
    The ID of the project.

    AccessPolicyResource

    Portal Pulumi.AwsNative.IoTSiteWise.Inputs.AccessPolicyPortal
    Identifies an AWS IoT SiteWise Monitor portal.
    Project Pulumi.AwsNative.IoTSiteWise.Inputs.AccessPolicyProject
    Identifies a specific AWS IoT SiteWise Monitor project.
    Portal AccessPolicyPortal
    Identifies an AWS IoT SiteWise Monitor portal.
    Project AccessPolicyProject
    Identifies a specific AWS IoT SiteWise Monitor project.
    portal AccessPolicyPortal
    Identifies an AWS IoT SiteWise Monitor portal.
    project AccessPolicyProject
    Identifies a specific AWS IoT SiteWise Monitor project.
    portal AccessPolicyPortal
    Identifies an AWS IoT SiteWise Monitor portal.
    project AccessPolicyProject
    Identifies a specific AWS IoT SiteWise Monitor project.
    portal AccessPolicyPortal
    Identifies an AWS IoT SiteWise Monitor portal.
    project AccessPolicyProject
    Identifies a specific AWS IoT SiteWise Monitor project.
    portal Property Map
    Identifies an AWS IoT SiteWise Monitor portal.
    project Property Map
    Identifies a specific AWS IoT SiteWise Monitor project.

    AccessPolicyUser

    Id string
    The AWS SSO ID of the user.
    Id string
    The AWS SSO ID of the user.
    id String
    The AWS SSO ID of the user.
    id string
    The AWS SSO ID of the user.
    id str
    The AWS SSO ID of the user.
    id String
    The AWS SSO ID of the user.

    Package Details

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

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi