We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.iotsitewise.getAccessPolicy
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 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)
public static Output<GetAccessPolicyResult> getAccessPolicy(GetAccessPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:iotsitewise:getAccessPolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AccessPolicy stringId 
- The ID of the access policy.
- AccessPolicy stringId 
- The ID of the access policy.
- accessPolicy StringId 
- The ID of the access policy.
- accessPolicy stringId 
- The ID of the access policy.
- access_policy_ strid 
- The ID of the access policy.
- accessPolicy StringId 
- The ID of the access policy.
getAccessPolicy Result
The following output properties are available:
- AccessPolicy stringArn 
- The ARN of the access policy.
- AccessPolicy stringId 
- The ID of the access policy.
- AccessPolicy Pulumi.Identity Aws Native. Io TSite Wise. Outputs. Access Policy Identity 
- The identity for this access policy. Choose either a user or a group but not both.
- AccessPolicy stringPermission 
- The permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER.
- AccessPolicy Pulumi.Resource Aws Native. Io TSite Wise. Outputs. Access Policy Resource 
- The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
- AccessPolicy stringArn 
- The ARN of the access policy.
- AccessPolicy stringId 
- The ID of the access policy.
- AccessPolicy AccessIdentity Policy Identity 
- The identity for this access policy. Choose either a user or a group but not both.
- AccessPolicy stringPermission 
- The permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER.
- AccessPolicy AccessResource Policy Resource 
- The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
- accessPolicy StringArn 
- The ARN of the access policy.
- accessPolicy StringId 
- The ID of the access policy.
- accessPolicy AccessIdentity Policy Identity 
- The identity for this access policy. Choose either a user or a group but not both.
- accessPolicy StringPermission 
- The permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER.
- accessPolicy AccessResource Policy Resource 
- The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
- accessPolicy stringArn 
- The ARN of the access policy.
- accessPolicy stringId 
- The ID of the access policy.
- accessPolicy AccessIdentity Policy Identity 
- The identity for this access policy. Choose either a user or a group but not both.
- accessPolicy stringPermission 
- The permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER.
- accessPolicy AccessResource Policy Resource 
- The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
- access_policy_ strarn 
- The ARN of the access policy.
- access_policy_ strid 
- The ID of the access policy.
- access_policy_ Accessidentity Policy Identity 
- The identity for this access policy. Choose either a user or a group but not both.
- access_policy_ strpermission 
- The permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER.
- access_policy_ Accessresource Policy Resource 
- The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
- accessPolicy StringArn 
- The ARN of the access policy.
- accessPolicy StringId 
- The ID of the access policy.
- accessPolicy Property MapIdentity 
- The identity for this access policy. Choose either a user or a group but not both.
- accessPolicy StringPermission 
- The permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER.
- accessPolicy Property MapResource 
- 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 Pulumi.Aws Native. Io TSite Wise. Inputs. Access Policy Iam Role 
- An IAM role identity.
- IamUser Pulumi.Aws Native. Io TSite Wise. Inputs. Access Policy Iam User 
- An IAM user identity.
- User
Pulumi.Aws Native. Io TSite Wise. Inputs. Access Policy User 
- An IAM Identity Center user identity.
- IamRole AccessPolicy Iam Role 
- An IAM role identity.
- IamUser AccessPolicy Iam User 
- An IAM user identity.
- User
AccessPolicy User 
- An IAM Identity Center user identity.
- iamRole AccessPolicy Iam Role 
- An IAM role identity.
- iamUser AccessPolicy Iam User 
- An IAM user identity.
- user
AccessPolicy User 
- An IAM Identity Center user identity.
- iamRole AccessPolicy Iam Role 
- An IAM role identity.
- iamUser AccessPolicy Iam User 
- An IAM user identity.
- user
AccessPolicy User 
- An IAM Identity Center user identity.
- iam_role AccessPolicy Iam Role 
- An IAM role identity.
- iam_user AccessPolicy Iam User 
- An IAM user identity.
- user
AccessPolicy User 
- 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.Aws Native. Io TSite Wise. Inputs. Access Policy Portal 
- Identifies an AWS IoT SiteWise Monitor portal.
- Project
Pulumi.Aws Native. Io TSite Wise. Inputs. Access Policy Project 
- Identifies a specific AWS IoT SiteWise Monitor project.
- Portal
AccessPolicy Portal 
- Identifies an AWS IoT SiteWise Monitor portal.
- Project
AccessPolicy Project 
- Identifies a specific AWS IoT SiteWise Monitor project.
- portal
AccessPolicy Portal 
- Identifies an AWS IoT SiteWise Monitor portal.
- project
AccessPolicy Project 
- Identifies a specific AWS IoT SiteWise Monitor project.
- portal
AccessPolicy Portal 
- Identifies an AWS IoT SiteWise Monitor portal.
- project
AccessPolicy Project 
- Identifies a specific AWS IoT SiteWise Monitor project.
- portal
AccessPolicy Portal 
- Identifies an AWS IoT SiteWise Monitor portal.
- project
AccessPolicy Project 
- 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
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi