We recommend new projects start with resources from the AWS provider.
aws-native.iotsitewise.AccessPolicy
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for AWS::IoTSiteWise::AccessPolicy
Create AccessPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AccessPolicy(name: string, args: AccessPolicyArgs, opts?: CustomResourceOptions);
@overload
def AccessPolicy(resource_name: str,
args: AccessPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AccessPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_policy_identity: Optional[AccessPolicyIdentityArgs] = None,
access_policy_permission: Optional[str] = None,
access_policy_resource: Optional[AccessPolicyResourceArgs] = None)
func NewAccessPolicy(ctx *Context, name string, args AccessPolicyArgs, opts ...ResourceOption) (*AccessPolicy, error)
public AccessPolicy(string name, AccessPolicyArgs args, CustomResourceOptions? opts = null)
public AccessPolicy(String name, AccessPolicyArgs args)
public AccessPolicy(String name, AccessPolicyArgs args, CustomResourceOptions options)
type: aws-native:iotsitewise:AccessPolicy
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 AccessPolicyArgs
- 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 AccessPolicyArgs
- 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 AccessPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccessPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccessPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AccessPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AccessPolicy resource accepts the following input properties:
- Access
Policy Pulumi.Identity Aws Native. Io TSite Wise. Inputs. 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. Inputs. Access Policy Resource - The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
- Access
Policy AccessIdentity Policy Identity Args - 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 Args - The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
- 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 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_ Accessidentity Policy Identity Args - 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 Args - The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the AccessPolicy resource produces the following output properties:
- Access
Policy stringArn - The ARN of the access policy.
- Access
Policy stringId - The ID of the access policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Access
Policy stringArn - The ARN of the access policy.
- Access
Policy stringId - The ID of the access policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- access
Policy StringArn - The ARN of the access policy.
- access
Policy StringId - The ID of the access policy.
- id String
- The provider-assigned unique ID for this managed resource.
- access
Policy stringArn - The ARN of the access policy.
- access
Policy stringId - The ID of the access policy.
- id string
- The provider-assigned unique ID for this managed resource.
- access_
policy_ strarn - The ARN of the access policy.
- access_
policy_ strid - The ID of the access policy.
- id str
- The provider-assigned unique ID for this managed resource.
- access
Policy StringArn - The ARN of the access policy.
- access
Policy StringId - The ID of the access policy.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
AccessPolicyIamRole, AccessPolicyIamRoleArgs
- 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, AccessPolicyIamUserArgs
- 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, AccessPolicyIdentityArgs
- 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, AccessPolicyPortalArgs
- 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, AccessPolicyProjectArgs
- 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, AccessPolicyResourceArgs
- 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, AccessPolicyUserArgs
- 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.