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.iotsitewise.getAccessPolicy
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 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:
- Access
Policy stringId - The ID of the access policy.
- Access
Policy stringId - The ID of the access policy.
- access
Policy StringId - The ID of the access policy.
- access
Policy stringId - The ID of the access policy.
- access_
policy_ strid - The ID of the access policy.
- access
Policy StringId - The ID of the access policy.
getAccessPolicy Result
The following output properties are available:
- Access
Policy stringArn - The ARN of the access policy.
- Access
Policy stringId - The ID of the access policy.
- Access
Policy 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.
- Access
Policy stringPermission - The permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER.
- Access
Policy 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.
- Access
Policy stringArn - The ARN of the access policy.
- Access
Policy stringId - 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 stringPermission - 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.
- access
Policy StringArn - The ARN of the access policy.
- access
Policy StringId - 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 StringPermission - 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.
- access
Policy stringArn - The ARN of the access policy.
- access
Policy stringId - 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 stringPermission - 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.
- 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.
- access
Policy StringArn - The ARN of the access policy.
- access
Policy StringId - The ID of the access policy.
- access
Policy Property MapIdentity - The identity for this access policy. Choose either a user or a group but not both.
- access
Policy StringPermission - The permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER.
- access
Policy 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
- Iam
Role Pulumi.Aws Native. Io TSite Wise. Inputs. Access Policy Iam Role - An IAM role identity.
- Iam
User 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.
- Iam
Role AccessPolicy Iam Role - An IAM role identity.
- Iam
User AccessPolicy Iam User - An IAM user identity.
- User
Access
Policy 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
Access
Policy 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
Access
Policy 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
Access
Policy User - An IAM Identity Center user identity.
- iam
Role Property Map - An IAM role identity.
- iam
User 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
Access
Policy Portal - Identifies an AWS IoT SiteWise Monitor portal.
- Project
Access
Policy Project - Identifies a specific AWS IoT SiteWise Monitor project.
- portal
Access
Policy Portal - Identifies an AWS IoT SiteWise Monitor portal.
- project
Access
Policy Project - Identifies a specific AWS IoT SiteWise Monitor project.
- portal
Access
Policy Portal - Identifies an AWS IoT SiteWise Monitor portal.
- project
Access
Policy Project - Identifies a specific AWS IoT SiteWise Monitor project.
- portal
Access
Policy Portal - Identifies an AWS IoT SiteWise Monitor portal.
- project
Access
Policy 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
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi