AWS Native is in preview. AWS Classic is fully supported.
aws-native.iotsitewise.AccessPolicy
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource schema for AWS::IoTSiteWise::AccessPolicy
Create AccessPolicy Resource
new AccessPolicy(name: string, args: AccessPolicyArgs, opts?: CustomResourceOptions);
@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)
@overload
def AccessPolicy(resource_name: str,
args: AccessPolicyArgs,
opts: Optional[ResourceOptions] = 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.
- 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
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
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
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
AWS Native is in preview. AWS Classic is fully supported.