AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi
aws-native.iotsitewise.getAccessPolicy
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.100.0 published on Wednesday, Mar 27, 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
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
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.100.0 published on Wednesday, Mar 27, 2024 by Pulumi