import { AccessLevelList } from '../shared/access-level' ; import { PolicyStatement , Operator } from '../shared' ; param sid export class Iotsitewise extends PolicyStatement { public servicePrefix = 'iotsitewise' ; param sid constructor ( sid ? ) { super ( sid ) ; } /**
     * Grants permission to associate a child asset with a parent asset through a hierarchy
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssociateAssets.html
     */ public toAssociateAssets ( ) { return this . to ( 'AssociateAssets' ) ; } /**
     * Grants permission to associate a time series with an asset property
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssociateTimeSeriesToAssetProperty.html
     */ public toAssociateTimeSeriesToAssetProperty ( ) { return this . to ( 'AssociateTimeSeriesToAssetProperty' ) ; } /**
     * Grants permission to associate assets to a project
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_BatchAssociateProjectAssets.html
     */ public toBatchAssociateProjectAssets ( ) { return this . to ( 'BatchAssociateProjectAssets' ) ; } /**
     * Grants permission to disassociate assets from a project
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_BatchDisassociateProjectAssets.html
     */ public toBatchDisassociateProjectAssets ( ) { return this . to ( 'BatchDisassociateProjectAssets' ) ; } /**
     * Grants permission to put property values for asset properties
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_BatchPutAssetPropertyValue.html
     */ public toBatchPutAssetPropertyValue ( ) { return this . to ( 'BatchPutAssetPropertyValue' ) ; } /**
     * Grants permission to create an access policy for a portal or a project
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAccessPolicy.html
     */ public toCreateAccessPolicy ( ) { return this . to ( 'CreateAccessPolicy' ) ; } /**
     * Grants permission to create an asset from an asset model
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAsset.html
     */ public toCreateAsset ( ) { return this . to ( 'CreateAsset' ) ; } /**
     * Grants permission to create an asset model
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModel.html
     */ public toCreateAssetModel ( ) { return this . to ( 'CreateAssetModel' ) ; } /**
     * Grants permission to create a dashboard in a project
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateDashboard.html
     */ public toCreateDashboard ( ) { return this . to ( 'CreateDashboard' ) ; } /**
     * Grants permission to create a gateway
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateGateway.html
     */ public toCreateGateway ( ) { return this . to ( 'CreateGateway' ) ; } /**
     * Grants permission to create a portal
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * Dependent actions:
     * - sso:CreateManagedApplicationInstance
     * - sso:DescribeRegisteredRegions
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreatePortal.html
     */ public toCreatePortal ( ) { return this . to ( 'CreatePortal' ) ; } /**
     * Grants permission to create a project in a portal
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateProject.html
     */ public toCreateProject ( ) { return this . to ( 'CreateProject' ) ; } /**
     * Grants permission to delete an access policy
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DeleteAccessPolicy.html
     */ public toDeleteAccessPolicy ( ) { return this . to ( 'DeleteAccessPolicy' ) ; } /**
     * Grants permission to delete an asset
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DeleteAsset.html
     */ public toDeleteAsset ( ) { return this . to ( 'DeleteAsset' ) ; } /**
     * Grants permission to delete an asset model
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DeleteAssetModel.html
     */ public toDeleteAssetModel ( ) { return this . to ( 'DeleteAssetModel' ) ; } /**
     * Grants permission to delete a dashboard
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DeleteDashboard.html
     */ public toDeleteDashboard ( ) { return this . to ( 'DeleteDashboard' ) ; } /**
     * Grants permission to delete a gateway
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DeleteGateway.html
     */ public toDeleteGateway ( ) { return this . to ( 'DeleteGateway' ) ; } /**
     * Grants permission to delete a portal
     *
     * Access Level: Write
     *
     * Dependent actions:
     * - sso:DeleteManagedApplicationInstance
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DeletePortal.html
     */ public toDeletePortal ( ) { return this . to ( 'DeletePortal' ) ; } /**
     * Grants permission to delete a project
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DeleteProject.html
     */ public toDeleteProject ( ) { return this . to ( 'DeleteProject' ) ; } /**
     * Grants permission to delete a time series
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DeleteTimeSeries.html
     */ public toDeleteTimeSeries ( ) { return this . to ( 'DeleteTimeSeries' ) ; } /**
     * Grants permission to describe an access policy
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeAccessPolicy.html
     */ public toDescribeAccessPolicy ( ) { return this . to ( 'DescribeAccessPolicy' ) ; } /**
     * Grants permission to describe an asset
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeAsset.html
     */ public toDescribeAsset ( ) { return this . to ( 'DescribeAsset' ) ; } /**
     * Grants permission to describe an asset model
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeAssetModel.html
     */ public toDescribeAssetModel ( ) { return this . to ( 'DescribeAssetModel' ) ; } /**
     * Grants permission to describe an asset property
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeAssetProperty.html
     */ public toDescribeAssetProperty ( ) { return this . to ( 'DescribeAssetProperty' ) ; } /**
     * Grants permission to describe a dashboard
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeDashboard.html
     */ public toDescribeDashboard ( ) { return this . to ( 'DescribeDashboard' ) ; } /**
     * Grants permission to describe the default encryption configuration for the AWS account
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeDefaultEncryptionConfiguration.html
     */ public toDescribeDefaultEncryptionConfiguration ( ) { return this . to ( 'DescribeDefaultEncryptionConfiguration' ) ; } /**
     * Grants permission to describe a gateway
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeGateway.html
     */ public toDescribeGateway ( ) { return this . to ( 'DescribeGateway' ) ; } /**
     * Grants permission to describe a capability configuration for a gateway
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeGatewayCapabilityConfiguration.html
     */ public toDescribeGatewayCapabilityConfiguration ( ) { return this . to ( 'DescribeGatewayCapabilityConfiguration' ) ; } /**
     * Grants permission to describe logging options for the AWS account
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeLoggingOptions.html
     */ public toDescribeLoggingOptions ( ) { return this . to ( 'DescribeLoggingOptions' ) ; } /**
     * Grants permission to describe a portal
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribePortal.html
     */ public toDescribePortal ( ) { return this . to ( 'DescribePortal' ) ; } /**
     * Grants permission to describe a project
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeProject.html
     */ public toDescribeProject ( ) { return this . to ( 'DescribeProject' ) ; } /**
     * Grants permission to describe the storage configuration for the AWS account
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeStorageConfiguration.html
     */ public toDescribeStorageConfiguration ( ) { return this . to ( 'DescribeStorageConfiguration' ) ; } /**
     * Grants permission to describe a time series
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeTimeSeries.html
     */ public toDescribeTimeSeries ( ) { return this . to ( 'DescribeTimeSeries' ) ; } /**
     * Grants permission to disassociate a child asset from a parent asset by a hierarchy
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DisassociateAssets.html
     */ public toDisassociateAssets ( ) { return this . to ( 'DisassociateAssets' ) ; } /**
     * Grants permission to disassociate a time series from an asset property
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DisassociateTimeSeriesFromAssetProperty.html
     */ public toDisassociateTimeSeriesFromAssetProperty ( ) { return this . to ( 'DisassociateTimeSeriesFromAssetProperty' ) ; } /**
     * Grants permission to retrieve computed aggregates for an asset property
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_GetAssetPropertyAggregates.html
     */ public toGetAssetPropertyAggregates ( ) { return this . to ( 'GetAssetPropertyAggregates' ) ; } /**
     * Grants permission to retrieve the latest value for an asset property
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_GetAssetPropertyValue.html
     */ public toGetAssetPropertyValue ( ) { return this . to ( 'GetAssetPropertyValue' ) ; } /**
     * Grants permission to retrieve the value history for an asset property
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_GetAssetPropertyValueHistory.html
     */ public toGetAssetPropertyValueHistory ( ) { return this . to ( 'GetAssetPropertyValueHistory' ) ; } /**
     * Grants permission to retrieve interpolated values for an asset property
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_GetInterpolatedAssetPropertyValues.html
     */ public toGetInterpolatedAssetPropertyValues ( ) { return this . to ( 'GetInterpolatedAssetPropertyValues' ) ; } /**
     * Grants permission to list all access policies for an identity or a resource
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_ListAccessPolicies.html
     */ public toListAccessPolicies ( ) { return this . to ( 'ListAccessPolicies' ) ; } /**
     * Grants permission to list all asset models
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_ListAssetModels.html
     */ public toListAssetModels ( ) { return this . to ( 'ListAssetModels' ) ; } /**
     * Grants permission to list the asset relationship graph for an asset
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_ListAssetRelationships.html
     */ public toListAssetRelationships ( ) { return this . to ( 'ListAssetRelationships' ) ; } /**
     * Grants permission to list all assets
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_ListAssets.html
     */ public toListAssets ( ) { return this . to ( 'ListAssets' ) ; } /**
     * Grants permission to list all assets associated with an asset through a hierarchy
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_ListAssociatedAssets.html
     */ public toListAssociatedAssets ( ) { return this . to ( 'ListAssociatedAssets' ) ; } /**
     * Grants permission to list all dashboards in a project
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_ListDashboards.html
     */ public toListDashboards ( ) { return this . to ( 'ListDashboards' ) ; } /**
     * Grants permission to list all gateways
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_ListGateways.html
     */ public toListGateways ( ) { return this . to ( 'ListGateways' ) ; } /**
     * Grants permission to list all portals
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_ListPortals.html
     */ public toListPortals ( ) { return this . to ( 'ListPortals' ) ; } /**
     * Grants permission to list all assets associated with a project
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_ListProjectAssets.html
     */ public toListProjectAssets ( ) { return this . to ( 'ListProjectAssets' ) ; } /**
     * Grants permission to list all projects in a portal
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_ListProjects.html
     */ public toListProjects ( ) { return this . to ( 'ListProjects' ) ; } /**
     * Grants permission to list all tags for a resource
     *
     * Access Level: Read
     *
     * Possible conditions:
     * - .ifAwsResourceTag()
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_ListTagsForResource.html
     */ public toListTagsForResource ( ) { return this . to ( 'ListTagsForResource' ) ; } /**
     * Grants permission to list time series
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_ListTimeSeries.html
     */ public toListTimeSeries ( ) { return this . to ( 'ListTimeSeries' ) ; } /**
     * Grants permission to set the default encryption configuration for the AWS account
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_PutDefaultEncryptionConfiguration.html
     */ public toPutDefaultEncryptionConfiguration ( ) { return this . to ( 'PutDefaultEncryptionConfiguration' ) ; } /**
     * Grants permission to set logging options for the AWS account
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_PutLoggingOptions.html
     */ public toPutLoggingOptions ( ) { return this . to ( 'PutLoggingOptions' ) ; } /**
     * Grants permission to configure storage settings for the AWS account
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_PutStorageConfiguration.html
     */ public toPutStorageConfiguration ( ) { return this . to ( 'PutStorageConfiguration' ) ; } /**
     * Grants permission to tag a resource
     *
     * Access Level: Tagging
     *
     * Possible conditions:
     * - .ifAwsTagKeys()
     * - .ifAwsRequestTag()
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_TagResource.html
     */ public toTagResource ( ) { return this . to ( 'TagResource' ) ; } /**
     * Grants permission to untag a resource
     *
     * Access Level: Tagging
     *
     * Possible conditions:
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UntagResource.html
     */ public toUntagResource ( ) { return this . to ( 'UntagResource' ) ; } /**
     * Grants permission to update an access policy
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAccessPolicy.html
     */ public toUpdateAccessPolicy ( ) { return this . to ( 'UpdateAccessPolicy' ) ; } /**
     * Grants permission to update an asset
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAsset.html
     */ public toUpdateAsset ( ) { return this . to ( 'UpdateAsset' ) ; } /**
     * Grants permission to update an asset model
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html
     */ public toUpdateAssetModel ( ) { return this . to ( 'UpdateAssetModel' ) ; } /**
     * Grants permission to update an AssetModel property routing
     *
     * Access Level: Write
     */ public toUpdateAssetModelPropertyRouting ( ) { return this . to ( 'UpdateAssetModelPropertyRouting' ) ; } /**
     * Grants permission to update an asset property
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html
     */ public toUpdateAssetProperty ( ) { return this . to ( 'UpdateAssetProperty' ) ; } /**
     * Grants permission to update a dashboard
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateDashboard.html
     */ public toUpdateDashboard ( ) { return this . to ( 'UpdateDashboard' ) ; } /**
     * Grants permission to update a gateway
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateGateway.html
     */ public toUpdateGateway ( ) { return this . to ( 'UpdateGateway' ) ; } /**
     * Grants permission to update a capability configuration for a gateway
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateGatewayCapabilityConfiguration.html
     */ public toUpdateGatewayCapabilityConfiguration ( ) { return this . to ( 'UpdateGatewayCapabilityConfiguration' ) ; } /**
     * Grants permission to update a portal
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdatePortal.html
     */ public toUpdatePortal ( ) { return this . to ( 'UpdatePortal' ) ; } /**
     * Grants permission to update a project
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateProject.html
     */ public toUpdateProject ( ) { return this . to ( 'UpdateProject' ) ; } protected accessLevelList : AccessLevelList = { Write : [ 'AssociateAssets' , 'AssociateTimeSeriesToAssetProperty' , 'BatchAssociateProjectAssets' , 'BatchDisassociateProjectAssets' , 'BatchPutAssetPropertyValue' , 'CreateAccessPolicy' , 'CreateAsset' , 'CreateAssetModel' , 'CreateDashboard' , 'CreateGateway' , 'CreatePortal' , 'CreateProject' , 'DeleteAccessPolicy' , 'DeleteAsset' , 'DeleteAssetModel' , 'DeleteDashboard' , 'DeleteGateway' , 'DeletePortal' , 'DeleteProject' , 'DeleteTimeSeries' , 'DisassociateAssets' , 'DisassociateTimeSeriesFromAssetProperty' , 'PutDefaultEncryptionConfiguration' , 'PutLoggingOptions' , 'PutStorageConfiguration' , 'UpdateAccessPolicy' , 'UpdateAsset' , 'UpdateAssetModel' , 'UpdateAssetModelPropertyRouting' , 'UpdateAssetProperty' , 'UpdateDashboard' , 'UpdateGateway' , 'UpdateGatewayCapabilityConfiguration' , 'UpdatePortal' , 'UpdateProject' ] , Read : [ 'DescribeAccessPolicy' , 'DescribeAsset' , 'DescribeAssetModel' , 'DescribeAssetProperty' , 'DescribeDashboard' , 'DescribeDefaultEncryptionConfiguration' , 'DescribeGateway' , 'DescribeGatewayCapabilityConfiguration' , 'DescribeLoggingOptions' , 'DescribePortal' , 'DescribeProject' , 'DescribeStorageConfiguration' , 'DescribeTimeSeries' , 'GetAssetPropertyAggregates' , 'GetAssetPropertyValue' , 'GetAssetPropertyValueHistory' , 'GetInterpolatedAssetPropertyValues' , 'ListTagsForResource' ] , List : [ 'ListAccessPolicies' , 'ListAssetModels' , 'ListAssetRelationships' , 'ListAssets' , 'ListAssociatedAssets' , 'ListDashboards' , 'ListGateways' , 'ListPortals' , 'ListProjectAssets' , 'ListProjects' , 'ListTimeSeries' ] , Tagging : [ 'TagResource' , 'UntagResource' ] } ; param assetId param account param region param partition public onAsset ( assetId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:iotsitewise:${ region || '*' }:${ account || '*' }:asset/${ assetId }` ) ; } param assetModelId param account param region param partition public onAssetModel ( assetModelId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:iotsitewise:${ region || '*' }:${ account || '*' }:asset-model/${ assetModelId }` ) ; } param timeSeriesId param account param region param partition public onTimeSeries ( timeSeriesId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:iotsitewise:${ region || '*' }:${ account || '*' }:time-series/${ timeSeriesId }` ) ; } param gatewayId param account param region param partition public onGateway ( gatewayId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:iotsitewise:${ region || '*' }:${ account || '*' }:gateway/${ gatewayId }` ) ; } param portalId param account param region param partition public onPortal ( portalId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:iotsitewise:${ region || '*' }:${ account || '*' }:portal/${ portalId }` ) ; } param projectId param account param region param partition public onProject ( projectId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:iotsitewise:${ region || '*' }:${ account || '*' }:project/${ projectId }` ) ; } param dashboardId param account param region param partition public onDashboard ( dashboardId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:iotsitewise:${ region || '*' }:${ account || '*' }:dashboard/${ dashboardId }` ) ; } param accessPolicyId param account param region param partition public onAccessPolicy ( accessPolicyId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:iotsitewise:${ region || '*' }:${ account || '*' }:access-policy/${ accessPolicyId }` ) ; } param value param operator public ifAssetHierarchyPath ( value , operator ? ) { return this . if ( `assetHierarchyPath` , value , operator || 'StringLike' ) ; } param value param operator public ifChildAssetId ( value , operator ? ) { return this . if ( `childAssetId` , value , operator || 'StringLike' ) ; } param value param operator public ifGroup ( value , operator ? ) { return this . if ( `group` , value , operator || 'StringLike' ) ; } param value param operator public ifIam ( value , operator ? ) { return this . if ( `iam` , value , operator || 'StringLike' ) ; } param value param operator public ifIsAssociatedWithAssetProperty ( value , operator ? ) { return this . if ( `isAssociatedWithAssetProperty` , value , operator || 'StringLike' ) ; } param value param operator public ifPortal ( value , operator ? ) { return this . if ( `portal` , value , operator || 'StringLike' ) ; } param value param operator public ifProject ( value , operator ? ) { return this . if ( `project` , value , operator || 'StringLike' ) ; } param value param operator public ifPropertyAlias ( value , operator ? ) { return this . if ( `propertyAlias` , value , operator || 'StringLike' ) ; } param value param operator public ifPropertyId ( value , operator ? ) { return this . if ( `propertyId` , value , operator || 'StringLike' ) ; } param value param operator public ifUser ( value , operator ? ) { return this . if ( `user` , value , operator || 'StringLike' ) ; } }