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:
- AccessPolicy 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.
- AccessPolicy stringPermission 
- The permission level for this access policy. Valid values are ADMINISTRATOR or VIEWER.
- AccessPolicy 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.
- AccessPolicy AccessIdentity Policy Identity Args 
- 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 Args 
- The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both.
- 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 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_ 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.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the AccessPolicy resource produces the following output properties:
- AccessPolicy stringArn 
- The ARN of the access policy.
- AccessPolicy stringId 
- The ID of the access policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- AccessPolicy stringArn 
- The ARN of the access policy.
- AccessPolicy stringId 
- The ID of the access policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- accessPolicy StringArn 
- The ARN of the access policy.
- accessPolicy StringId 
- The ID of the access policy.
- id String
- The provider-assigned unique ID for this managed resource.
- accessPolicy stringArn 
- The ARN of the access policy.
- accessPolicy 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.
- accessPolicy StringArn 
- The ARN of the access policy.
- accessPolicy 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      
- 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, 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
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, 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.