mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
feat(iam): read CloudWatch from the generated tables (#9282)
CloudWatch was not read by the generated request-resources table, so under IAM enforcement every CloudWatch request was checked on `*`: a grant scoped to one alarm was refused and a deny scoped to one never applied. Move `cloudwatch` from NOT_COVERED to NAMESPACES in regen_iam_request_resources.py. The table reads an alarm from AlarmName or each of AlarmNames as alarm:<name>, a dashboard from DashboardName or each of DashboardNames with no Region in its ARN, a metric stream from Name or each of Names, and a tag call from ResourceARN: the ARNs CloudWatch mints. Metric data and the list calls name no resource and stay on `*`. No other namespace's rows change.
This commit is contained in:
1 parent
199ee18a6b
commit
172a785d85
7 files changed
+242
-7
No files matched your search
@@ -467,6 +467,15 @@ legacy `2009-05-15` API, which supports only `ListMetrics` and `GetMetricStatist
|
||||
An invalid version or action returns HTTP 404 `InvalidAction`; an absent action returns
|
||||
HTTP 404 `UnknownOperationException`. IAM policies use the `cloudwatch` action prefix.
|
||||
|
||||
With IAM enforcement on, each action is checked on the resources the AWS Service Authorization
|
||||
Reference lists for it, read from the request: an alarm by its `AlarmName` or each of its
|
||||
`AlarmNames`, as `arn:aws:cloudwatch:<region>:<account>:alarm:<name>`; a dashboard by its
|
||||
`DashboardName` or each of its `DashboardNames`, as `arn:aws:cloudwatch::<account>:dashboard/<name>`,
|
||||
with no Region; a metric stream by its `Name` or each of its `Names`, as
|
||||
`arn:aws:cloudwatch:<region>:<account>:metric-stream/<name>`; and a tag call on its `ResourceARN`.
|
||||
`PutMetricData`, `GetMetricData`, `GetMetricStatistics`, `ListMetrics`, `ListDashboards` and
|
||||
`ListMetricStreams` name no resource and are checked on `*`, as is a `DescribeAlarms` naming no alarm.
|
||||
|
||||
JSON `PutMetricData` accepts a gzip-compressed body (`Content-Encoding: gzip`), which the AWS
|
||||
CLI, boto3 and the other SDKs that call CloudWatch over JSON send by default for any body of
|
||||
10 KiB or more. With signature validation and IAM enforcement on, the signature is checked over
|
||||
|
||||
@@ -2542,7 +2542,7 @@ AWS Data Exports, AWS Pricing Calculator, Cost Explorer, CloudTrail, Global Acce
|
||||
Timestream for InfluxDB, Amazon Redshift, the Amazon Redshift Data API, AWS Payment Cryptography, AWS DataSync, Amazon EMR,
|
||||
Amazon Rekognition, IAM Identity Center, Amazon Inspector, Amazon Macie, AWS Fault Injection Service, AWS Resource
|
||||
Access Manager, CloudWatch Observability Access Manager, AWS Resource Explorer, AWS Account Management, AWS Control
|
||||
Catalog, Amazon OpenSearch Service, IAM Access Analyzer, AWS Security Hub, Amazon GuardDuty, Lambda, AWS Glue, Amazon SQS, Amazon SNS, Amazon Kinesis Data Streams, Amazon EventBridge Pipes, Aurora DSQL, STS, Amazon EKS, AWS Resource Groups and Amazon CloudWatch Logs they come from a table generated from AWS's Service Reference and botocore, `src/main/resources/aws/iam-request-resources.json`, which gives each
|
||||
Catalog, Amazon OpenSearch Service, IAM Access Analyzer, AWS Security Hub, Amazon GuardDuty, Lambda, AWS Glue, Amazon SQS, Amazon SNS, Amazon Kinesis Data Streams, Amazon EventBridge Pipes, Aurora DSQL, STS, Amazon EKS, AWS Resource Groups, Amazon CloudWatch Logs and Amazon CloudWatch they come from a table generated from AWS's Service Reference and botocore, `src/main/resources/aws/iam-request-resources.json`, which gives each
|
||||
operation's action, the resource types that action acts on with their ARN formats, and the request
|
||||
members that name them: a member holding a resource's ARN, which counts when it matches the format
|
||||
of a type the action acts on, or members filling the variables of a type's format. Nothing in it is
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"_source": {"generator": "tools/aws/regen_iam_request_resources.py", "reference": "https://servicereference.us-east-1.amazonaws.com/", "botocore": "botocore 1.44.9 (local/aws/botocore)", "retrieved": "2026-11-23", "note": "make iam-request-resources-check re-derives every operation's resources from botocore; make iam-request-resources-verify checks every action, type and format against AWS."},
|
||||
"namespaces": {"access-analyzer": ["accessanalyzer"], "account": ["account"], "acm": ["acm"], "apigateway": ["apigateway", "apigatewayv2"], "application-autoscaling": ["application-autoscaling"], "aps": ["amp"], "athena": ["athena"], "bcm-data-exports": ["bcm-data-exports"], "bcm-pricing-calculator": ["bcm-pricing-calculator"], "bedrock": ["bedrock", "bedrock-agent", "bedrock-agent-runtime", "bedrock-data-automation", "bedrock-data-automation-runtime", "bedrock-runtime"], "budgets": ["budgets"], "ce": ["ce"], "cloudformation": ["cloudcontrol", "cloudformation"], "cloudfront": ["cloudfront"], "cloudfront-keyvaluestore": ["cloudfront-keyvaluestore"], "cloudtrail": ["cloudtrail"], "codebuild": ["codebuild"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "controlcatalog": ["controlcatalog"], "controltower": ["controltower"], "cur": ["cur"], "datasync": ["datasync"], "dsql": ["dsql"], "dynamodb": ["dynamodb", "dynamodbstreams"], "ec2": ["ec2"], "ec2-instance-connect": ["ec2-instance-connect"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticloadbalancing": ["elb", "elbv2"], "elasticmapreduce": ["emr"], "emr-containers": ["emr-containers"], "emr-serverless": ["emr-serverless"], "es": ["es", "opensearch"], "events": ["eventbridgev2", "events"], "firehose": ["firehose"], "fis": ["fis"], "globalaccelerator": ["globalaccelerator"], "glue": ["glue"], "guardduty": ["guardduty"], "iam": ["iam", "iam-toolbox"], "inspector2": ["inspector2"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "kms": ["kms"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "logs": ["logs"], "macie2": ["macie2"], "oam": ["oam"], "payment-cryptography": ["payment-cryptography", "payment-cryptography-data"], "pipes": ["pipes"], "quicksight": ["quicksight"], "ram": ["ram"], "rds": ["docdb", "neptune", "rds"], "redshift": ["redshift"], "redshift-data": ["redshift-data"], "redshift-serverless": ["redshift-serverless"], "rekognition": ["rekognition"], "resource-explorer-2": ["resource-explorer-2"], "resource-groups": ["resource-groups"], "route53": ["route53"], "s3": ["s3", "s3control"], "s3tables": ["s3tables"], "s3vectors": ["s3vectors"], "scheduler": ["scheduler"], "secretsmanager": ["secretsmanager"], "securityhub": ["securityhub"], "servicediscovery": ["servicediscovery"], "servicequotas": ["service-quotas"], "signer": ["signer", "signer-data"], "sns": ["sns"], "sqs": ["sqs"], "ssm": ["ssm"], "sso": ["sso", "sso-admin"], "states": ["stepfunctions"], "sts": ["sts"], "textract": ["textract"], "timestream-influxdb": ["timestream-influxdb"], "translate": ["translate"], "xray": ["xray"]},
|
||||
"notCovered": {"airflow": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "app-integrations": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "appconfig": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "appsync": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "autoscaling": "not read yet: AWS's group and launch configuration ARNs carry an id the service mints, `autoScalingGroup:<id>:autoScalingGroupName/<name>`, while Floci mints `autoScalingGroup:<name>`, which other services (ECS capacity providers) read back; the mint is fixed first", "aws-marketplace": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "backup": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "batch": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "bedrock-agentcore": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "cloudhsm": "not read yet: its ARN formats end in ${CloudHsmClusterInstanceName} and ${CloudHsmBackupInstanceName}, names, while its requests give ClusterId and BackupId, ids, which the rules do not fill a name from, so nearly every operation's resource would be left open", "cloudwatch": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "codeartifact": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "codedeploy": "not read yet: the Service Reference gives an on-premises instance's ARN as `instance:${InstanceName}`, while the CodeDeploy permissions reference gives arn:aws:codedeploy:region:account-id:instance/instance-ID and AWS's GetOnPremisesInstance example answers instance/<name>_<id>, an id the service mints after the name; reading it needs that format corrected", "codeguru-reviewer": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "comprehend": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "config": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "connect": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "detective": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "dlm": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "dms": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "elasticache": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "elasticbeanstalk": "not read yet: an environment's ARN carries its application's name, `environment/<application>/<name>`, while most of its requests name it by EnvironmentName or EnvironmentId alone, so reading it needs the stored environment those find", "elasticfilesystem": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "execute-api": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "identitystore": "not read yet: a later batchLine truncated
|
||||
"namespaces": {"access-analyzer": ["accessanalyzer"], "account": ["account"], "acm": ["acm"], "apigateway": ["apigateway", "apigatewayv2"], "application-autoscaling": ["application-autoscaling"], "aps": ["amp"], "athena": ["athena"], "bcm-data-exports": ["bcm-data-exports"], "bcm-pricing-calculator": ["bcm-pricing-calculator"], "bedrock": ["bedrock", "bedrock-agent", "bedrock-agent-runtime", "bedrock-data-automation", "bedrock-data-automation-runtime", "bedrock-runtime"], "budgets": ["budgets"], "ce": ["ce"], "cloudformation": ["cloudcontrol", "cloudformation"], "cloudfront": ["cloudfront"], "cloudfront-keyvaluestore": ["cloudfront-keyvaluestore"], "cloudtrail": ["cloudtrail"], "cloudwatch": ["cloudwatch", "cloudwatchomni"], "codebuild": ["codebuild"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "controlcatalog": ["controlcatalog"], "controltower": ["controltower"], "cur": ["cur"], "datasync": ["datasync"], "dsql": ["dsql"], "dynamodb": ["dynamodb", "dynamodbstreams"], "ec2": ["ec2"], "ec2-instance-connect": ["ec2-instance-connect"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticloadbalancing": ["elb", "elbv2"], "elasticmapreduce": ["emr"], "emr-containers": ["emr-containers"], "emr-serverless": ["emr-serverless"], "es": ["es", "opensearch"], "events": ["eventbridgev2", "events"], "firehose": ["firehose"], "fis": ["fis"], "globalaccelerator": ["globalaccelerator"], "glue": ["glue"], "guardduty": ["guardduty"], "iam": ["iam", "iam-toolbox"], "inspector2": ["inspector2"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "kms": ["kms"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "logs": ["logs"], "macie2": ["macie2"], "oam": ["oam"], "payment-cryptography": ["payment-cryptography", "payment-cryptography-data"], "pipes": ["pipes"], "quicksight": ["quicksight"], "ram": ["ram"], "rds": ["docdb", "neptune", "rds"], "redshift": ["redshift"], "redshift-data": ["redshift-data"], "redshift-serverless": ["redshift-serverless"], "rekognition": ["rekognition"], "resource-explorer-2": ["resource-explorer-2"], "resource-groups": ["resource-groups"], "route53": ["route53"], "s3": ["s3", "s3control"], "s3tables": ["s3tables"], "s3vectors": ["s3vectors"], "scheduler": ["scheduler"], "secretsmanager": ["secretsmanager"], "securityhub": ["securityhub"], "servicediscovery": ["servicediscovery"], "servicequotas": ["service-quotas"], "signer": ["signer", "signer-data"], "sns": ["sns"], "sqs": ["sqs"], "ssm": ["ssm"], "sso": ["sso", "sso-admin"], "states": ["stepfunctions"], "sts": ["sts"], "textract": ["textract"], "timestream-influxdb": ["timestream-influxdb"], "translate": ["translate"], "xray": ["xray"]},
|
||||
"notCovered": {"airflow": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "app-integrations": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "appconfig": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "appsync": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "autoscaling": "not read yet: AWS's group and launch configuration ARNs carry an id the service mints, `autoScalingGroup:<id>:autoScalingGroupName/<name>`, while Floci mints `autoScalingGroup:<name>`, which other services (ECS capacity providers) read back; the mint is fixed first", "aws-marketplace": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "backup": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "batch": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "bedrock-agentcore": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "cloudhsm": "not read yet: its ARN formats end in ${CloudHsmClusterInstanceName} and ${CloudHsmBackupInstanceName}, names, while its requests give ClusterId and BackupId, ids, which the rules do not fill a name from, so nearly every operation's resource would be left open", "codeartifact": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "codedeploy": "not read yet: the Service Reference gives an on-premises instance's ARN as `instance:${InstanceName}`, while the CodeDeploy permissions reference gives arn:aws:codedeploy:region:account-id:instance/instance-ID and AWS's GetOnPremisesInstance example answers instance/<name>_<id>, an id the service mints after the name; reading it needs that format corrected", "codeguru-reviewer": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "comprehend": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "config": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "connect": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "detective": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "dlm": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "dms": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "elasticache": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "elasticbeanstalk": "not read yet: an environment's ARN carries its application's name, `environment/<application>/<name>`, while most of its requests name it by EnvironmentName or EnvironmentId alone, so reading it needs the stored environment those find", "elasticfilesystem": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "execute-api": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_rest_routes.MODELS), which do not have its model yet", "identitystore": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "iot": "not read yet: a later batch, with Line truncated
|
||||
"otherNamespaces": ["a4b", "account-access", "acm-pca", "aco-automation", "agent-registry", "aidevops", "aiops", "airflow-serverless", "amplify", "amplifybackend", "amplifyuibuilder", "aoss", "apiportal", "appfabric", "appflow", "application-signals", "application-signals-mcp", "appmesh", "appmesh-preview", "apprunner", "appstream", "apptest", "arc-region-switch", "arc-zonal-shift", "artifact", "assurance", "auditmanager", "aws-external-anthropic", "b2bi", "backup-gateway", "backup-search", "bcm-data-hub", "bedrock-mantle", "bedrock-websearch", "billing", "billingconductor", "braket", "bugbust", "cases", "cassandra", "chatbot", "chime", "cleanrooms", "cleanrooms-ml", "cloud9", "clouddirectory", "cloudsearch", "cloudshell", "cloudtrail-data", "codecatalyst", "codecommit", "codeconnections", "codeguru-profiler", "codeguru-security", "codestar-connections", "codestar-notifications", "codewhisperer", "cognito-sync", "connect-campaigns", "consoleapp", "continuum", "databrew", "dataexchange", "datapipeline", "datazone", "dax", "deadline", "devicefarm", "devops-guru", "directconnect", "docdb-elastic", "drs", "ds", "ds-data", "ebs", "ecr-public", "eks-auth", "elastictranscoder", "elemental-appliances-software", "elemental-inference", "elemental-support-cases", "end-user-messaging", "entityresolution", "evs", "finspace", "finspace-api", "fms", "forecast", "frauddetector", "freertos", "fsx", "gamelift", "gameliftstreams", "geo", "geo-maps", "geo-places", "geo-routes", "glacier", "grafana", "greengrass", "groundstation", "health", "health-agent", "healthlake", "honeycode", "identity-sync", "imagebuilder", "interconnect", "internetmonitor", "invoicing", "iotanalytics", "iotdeviceadvisor", "iotfleethub", "iotfleetwise", "iotjobsdata", "iotmanagedintegrations", "iotsitewise", "iottwinmaker", "iotwireless", "iq", "iq-permission", "ivs", "ivschat", "kafka-cluster", "kafkaconnect", "kendra", "kendra-ranking", "kinesisvideo", "launchwizard", "lex", "license-manager", "license-manager-linux-subscriptions", "license-manager-user-subscriptions", "lookoutequipment", "lookoutmetrics", "lookoutvision", "m2", "machinelearning", "managedblockchain", "mapcredits", "mediaconnect", "mediaconvert", "medialive", "mediapackage", "mediapackage-vod", "mediapackagev2", "mediastore", "mediatailor", "medical-imaging", "mgh", "mgn", "migrationhub-orchestrator", "mobiletargeting", "monitron", "mpa", "neptune-db", "neptune-graph", "network-security-manager", "networkflowmonitor", "networkmanager", "networkmonitor", "nimble", "notifications", "notifications-contacts", "nova-act", "observabilityadmin", "odb", "omics", "one", "opensearch", "opsworks", "osis", "osm", "outposts", "panorama", "partnercentral", "payments", "pca-connector-ad", "pca-connector-scep", "pcs", "personalize", "pi", "polly", "private-networks", "profile", "proton", "purchase-orders", "q", "qapps", "qbusiness", "qdeveloper", "qldb", "rbin", "rds-db", "refactor-spaces", "repostspace", "resiliencehub", "robomaker", "rolesanywhere", "route53-recovery-cluster", "route53-recovery-control-config", "route53-recovery-readiness", "route53globalresolver", "route53profiles", "rtbfabric", "s3-object-lambda", "s3-outposts", "s3express", "s3files", "sagemaker-geospatial", "sagemaker-mlflow", "savingsplans", "schemas", "scn", "sdb", "security-ir", "securityagent", "securitylake", "serverlessrepo", "shield", "simspaceweaver", "sms-voice", "snow-device-management", "social-messaging", "sqlworkbench", "ssm-contacts", "ssm-incidents", "ssm-quicksetup", "ssm-sap", "ssmmessages", "storagegateway", "supportauthz", "synthetics", "thinclient", "timestream", "tnb", "transform", "transform-custom", "trustedadvisor", "ts", "vendor-insights", "voiceid", "vpc-lattice", "vpc-lattice-svcs", "vpce", "waf", "waf-regional", "wellarchitected", "wickr", "wisdom", "workdocs", "worklink", "workmail", "workmailmessageflow", "workspaces", "workspaces-instances", "workspaces-web"],
|
||||
"arnFormats": {"access-analyzer": {"Analyzer": "arn:${Partition}:access-analyzer:${Region}:${Account}:analyzer/${AnalyzerName}", "ArchiveRule": "arn:${Partition}:access-analyzer:${Region}:${Account}:analyzer/${AnalyzerName}/archive-rule/${RuleName}"}, "account": {"account": "arn:${Partition}:account::${Account}:account", "accountInOrganization": "arn:${Partition}:account::${ManagementAccountId}:account/o-${OrganizationId}/${MemberAccountId}"}, "acm": {"acme-domain-validation": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}/acme-domain-validation/${AcmeDomainValidationId}", "acme-endpoint": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}", "acme-external-account-binding": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}/acme-external-account-binding/${ExternalAccountBindingId}", "certificate": "arn:${Partition}:acm:${Region}:${Account}:certificate/${CertificateId}"}, "apigateway": {"AccessLogSettings": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/stages/${StageName}/accesslogsettings", "Account": "arn:${Partition}:apigateway:${Region}::/account", "Api": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}", "ApiKey": "arn:${Partition}:apigateway:${Region}::/apikeys/${ApiKeyId}", "ApiKeys": "arn:${Partition}:apigateway:${Region}::/apikeys", "ApiMapping": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/apimappings/${ApiMappingId}", "ApiMappings": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/apimappings", "Apis": "arn:${Partition}:apigateway:${Region}::/apis", "Authorizer": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/authorizers/${AuthorizerId}", "Authorizers": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/authorizers", "AuthorizersCache": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/stages/${StageName}/cache/authorizers", "BasePathMapping": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/basepathmappings/${BasePath}", "BasePathMappings": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/basepathmappings", "ClientCertificate": "arn:${Partition}:apigateway:${Region}::/clientcertificates/${ClientCertificateId}", "ClientCertificates": "arn:${Partition}:apigateway:${Region}::/clientcertificates", "Cors": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/cors", "Deployment": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/deployments/${DeploymentId}", "Deployments": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/deployments", "DocumentationPart": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/parts/${DocumentationPartId}", "DocumentationParts": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/parts", "DocumentationVersion": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/versions/${DocumentationVersionId}", "DocumentationVersions": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/versions", "DomainName": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}", "DomainNameAccessAssociation": "arn:${Partition}:apigateway:${Region}:${Account}:/domainnameaccessassociations/domainname/${DomainName}/${SourceType}/${SourceId}", "DomainNameAccessAssociations": "arn:${Partition}:apigateway:${Region}:${Account}:/domainnameaccessassociations", "DomainNames": "arn:${Partition}:apigateway:${Region}::/domainnames", "ExportedAPI": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/exports/${Specification}", "GatewayResponse": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/gatewayresponses/${ResponseType}", "GatewayResponses": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/gatewayresponses", "Integration": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}", "IntegrationResponse": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}/integrationresponses/${IntegrationResponseId}", "IntegrationResponses": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}/integrationresponses", "Integrations": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations", "Method": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/resources/${ResourceId}/methods/${HttpMethodType}", "MethodResponse": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/resources/${ResourceId}/methods/${HttpMethodType}/responses/${StatusCode}", "Model": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models/${ModelId}", "ModelTemplate": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models/${ModelId}/template", "Models": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models", "Portal": "arn:${Partition}:apigateway:${Region}:${Account}:/portals/${PortalId}", "PortalProduct": "arn:${Partition}:apigateway:${Region}:${Account}:/portalproducts/$Line truncated
|
||||
"arnFormats": {"access-analyzer": {"Analyzer": "arn:${Partition}:access-analyzer:${Region}:${Account}:analyzer/${AnalyzerName}", "ArchiveRule": "arn:${Partition}:access-analyzer:${Region}:${Account}:analyzer/${AnalyzerName}/archive-rule/${RuleName}"}, "account": {"account": "arn:${Partition}:account::${Account}:account", "accountInOrganization": "arn:${Partition}:account::${ManagementAccountId}:account/o-${OrganizationId}/${MemberAccountId}"}, "acm": {"acme-domain-validation": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}/acme-domain-validation/${AcmeDomainValidationId}", "acme-endpoint": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}", "acme-external-account-binding": "arn:${Partition}:acm:${Region}:${Account}:acme-endpoint/${AcmeEndpointId}/acme-external-account-binding/${ExternalAccountBindingId}", "certificate": "arn:${Partition}:acm:${Region}:${Account}:certificate/${CertificateId}"}, "apigateway": {"AccessLogSettings": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/stages/${StageName}/accesslogsettings", "Account": "arn:${Partition}:apigateway:${Region}::/account", "Api": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}", "ApiKey": "arn:${Partition}:apigateway:${Region}::/apikeys/${ApiKeyId}", "ApiKeys": "arn:${Partition}:apigateway:${Region}::/apikeys", "ApiMapping": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/apimappings/${ApiMappingId}", "ApiMappings": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/apimappings", "Apis": "arn:${Partition}:apigateway:${Region}::/apis", "Authorizer": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/authorizers/${AuthorizerId}", "Authorizers": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/authorizers", "AuthorizersCache": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/stages/${StageName}/cache/authorizers", "BasePathMapping": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/basepathmappings/${BasePath}", "BasePathMappings": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}/basepathmappings", "ClientCertificate": "arn:${Partition}:apigateway:${Region}::/clientcertificates/${ClientCertificateId}", "ClientCertificates": "arn:${Partition}:apigateway:${Region}::/clientcertificates", "Cors": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/cors", "Deployment": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/deployments/${DeploymentId}", "Deployments": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/deployments", "DocumentationPart": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/parts/${DocumentationPartId}", "DocumentationParts": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/parts", "DocumentationVersion": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/versions/${DocumentationVersionId}", "DocumentationVersions": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/documentation/versions", "DomainName": "arn:${Partition}:apigateway:${Region}::/domainnames/${DomainName}", "DomainNameAccessAssociation": "arn:${Partition}:apigateway:${Region}:${Account}:/domainnameaccessassociations/domainname/${DomainName}/${SourceType}/${SourceId}", "DomainNameAccessAssociations": "arn:${Partition}:apigateway:${Region}:${Account}:/domainnameaccessassociations", "DomainNames": "arn:${Partition}:apigateway:${Region}::/domainnames", "ExportedAPI": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/exports/${Specification}", "GatewayResponse": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/gatewayresponses/${ResponseType}", "GatewayResponses": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/gatewayresponses", "Integration": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}", "IntegrationResponse": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}/integrationresponses/${IntegrationResponseId}", "IntegrationResponses": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations/${IntegrationId}/integrationresponses", "Integrations": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/integrations", "Method": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/resources/${ResourceId}/methods/${HttpMethodType}", "MethodResponse": "arn:${Partition}:apigateway:${Region}::/restapis/${RestApiId}/resources/${ResourceId}/methods/${HttpMethodType}/responses/${StatusCode}", "Model": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models/${ModelId}", "ModelTemplate": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models/${ModelId}/template", "Models": "arn:${Partition}:apigateway:${Region}::/apis/${ApiId}/models", "Portal": "arn:${Partition}:apigateway:${Region}:${Account}:/portals/${PortalId}", "PortalProduct": "arn:${Partition}:apigateway:${Region}:${Account}:/portalproducts/$Line truncated
|
||||
"pathFormats": {"apigateway": {"/restapis/{restapi_id}/models/{model_name}/default_template (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/restapis/${RestapiId}/models/${ModelName}/default_template", "/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/restapis/${RestapiId}/stages/${StageName}/cache/authorizers", "/restapis/{restapi_id}/stages/{stage_name}/cache/data (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/restapis/${RestapiId}/stages/${StageName}/cache/data", "/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type} (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/restapis/${RestapiId}/stages/${StageName}/exports/${ExportType}", "/sdktypes (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/sdktypes", "/sdktypes/{sdktype_id} (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/sdktypes/${SdktypeId}", "/usageplans/{usageplanId}/keys/{keyId}/usage (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/usageplans/${UsageplanId}/keys/${KeyId}/usage", "/usageplans/{usageplanId}/usage (resource-path-specifier)": "arn:${Partition}:apigateway:${Region}::/usageplans/${UsageplanId}/usage", "Authorizer (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/authorizers/${Id}", "Authorizers (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/authorizers", "Deployment (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/deployments/${Id}", "Deployments (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/deployments", "Integration (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/resources/${ResourceId}/methods/${HttpMethod}/integration", "IntegrationResponse (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/resources/${ResourceId}/methods/${HttpMethod}/integration/responses/${StatusCode}", "Model (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/models/${ModelName}", "Models (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/models", "Stage (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/stages/${StageName}", "Stages (REST API resources)": "arn:${Partition}:apigateway:${Region}::/restapis/${ApiId}/stages"}},
|
||||
"resourceTagKeys": {"access-analyzer": {"Analyzer": ["aws:ResourceTag/"]}, "acm": {"acme-domain-validation": ["aws:ResourceTag/"], "acme-endpoint": ["aws:ResourceTag/"], "acme-external-account-binding": ["aws:ResourceTag/"], "certificate": ["aws:ResourceTag/"]}, "apigateway": {"AccessLogSettings": ["aws:ResourceTag/"], "Api": ["aws:ResourceTag/"], "ApiKey": ["aws:ResourceTag/"], "ApiKeys": ["aws:ResourceTag/"], "ApiMapping": ["aws:ResourceTag/"], "ApiMappings": ["aws:ResourceTag/"], "Apis": ["aws:ResourceTag/"], "Authorizer": ["aws:ResourceTag/"], "Authorizers": ["aws:ResourceTag/"], "AuthorizersCache": ["aws:ResourceTag/"], "BasePathMapping": ["aws:ResourceTag/"], "BasePathMappings": ["aws:ResourceTag/"], "ClientCertificate": ["aws:ResourceTag/"], "ClientCertificates": ["aws:ResourceTag/"], "Cors": ["aws:ResourceTag/"], "Deployment": ["aws:ResourceTag/"], "Deployments": ["aws:ResourceTag/"], "DocumentationPart": ["aws:ResourceTag/"], "DocumentationParts": ["aws:ResourceTag/"], "DocumentationVersion": ["aws:ResourceTag/"], "DocumentationVersions": ["aws:ResourceTag/"], "DomainName": ["aws:ResourceTag/"], "DomainNameAccessAssociations": ["aws:ResourceTag/"], "DomainNames": ["aws:ResourceTag/"], "ExportedAPI": ["aws:ResourceTag/"], "GatewayResponse": ["aws:ResourceTag/"], "GatewayResponses": ["aws:ResourceTag/"], "Integration": ["aws:ResourceTag/"], "IntegrationResponse": ["aws:ResourceTag/"], "IntegrationResponses": ["aws:ResourceTag/"], "Integrations": ["aws:ResourceTag/"], "Method": ["aws:ResourceTag/"], "MethodResponse": ["aws:ResourceTag/"], "Model": ["aws:ResourceTag/"], "ModelTemplate": ["aws:ResourceTag/"], "Models": ["aws:ResourceTag/"], "Portal": ["aws:ResourceTag/"], "PortalProduct": ["aws:ResourceTag/"], "PrivateBasePathMapping": ["aws:ResourceTag/"], "PrivateBasePathMappings": ["aws:ResourceTag/"], "PrivateDomainName": ["aws:ResourceTag/"], "ProductPage": ["aws:ResourceTag/"], "ProductRestEndpointPage": ["aws:ResourceTag/"], "RequestValidator": ["aws:ResourceTag/"], "RequestValidators": ["aws:ResourceTag/"], "Resource": ["aws:ResourceTag/"], "Resources": ["aws:ResourceTag/"], "RestApi": ["aws:ResourceTag/"], "RestApis": ["aws:ResourceTag/"], "Route": ["aws:ResourceTag/"], "RouteRequestParameter": ["aws:ResourceTag/"], "RouteResponse": ["aws:ResourceTag/"], "RouteResponses": ["aws:ResourceTag/"], "RouteSettings": ["aws:ResourceTag/"], "Routes": ["aws:ResourceTag/"], "RoutingRule": ["aws:ResourceTag/"], "Sdk": ["aws:ResourceTag/"], "Stage": ["aws:ResourceTag/"], "Stages": ["aws:ResourceTag/"], "Template": ["aws:ResourceTag/"], "UsagePlan": ["aws:ResourceTag/"], "UsagePlanKey": ["aws:ResourceTag/"], "UsagePlanKeys": ["aws:ResourceTag/"], "UsagePlans": ["aws:ResourceTag/"], "VpcLink": ["aws:ResourceTag/"], "VpcLinks": ["aws:ResourceTag/"]}, "application-autoscaling": {"ScalableTarget": ["aws:ResourceTag/"]}, "aps": {"anomalydetector": ["aws:ResourceTag/"], "cluster": ["aws:ResourceTag/"], "rulegroupsnamespace": ["aws:ResourceTag/"], "scraper": ["aws:ResourceTag/"], "workspace": ["aws:ResourceTag/"]}, "athena": {"capacity-reservation": ["aws:ResourceTag/"], "datacatalog": ["aws:ResourceTag/"], "session": ["aws:ResourceTag/"], "system-table": ["aws:ResourceTag/"], "workgroup": ["aws:ResourceTag/"]}, "bcm-data-exports": {"billingview": ["aws:ResourceTag/"], "export": ["aws:ResourceTag/"]}, "bcm-pricing-calculator": {"bill-estimate": ["aws:ResourceTag/"], "bill-scenario": ["aws:ResourceTag/"], "workload-estimate": ["aws:ResourceTag/"]}, "bedrock": {"advanced-prompt-optimization-job": ["aws:ResourceTag/"], "agent": ["aws:ResourceTag/"], "agent-alias": ["aws:ResourceTag/"], "application-inference-profile": ["aws:ResourceTag/"], "async-invoke": ["aws:ResourceTag/"], "automated-reasoning-policy": ["aws:ResourceTag/"], "automated-reasoning-policy-version": ["aws:ResourceTag/"], "blueprint": ["aws:ResourceTag/"], "blueprint-optimization-invocation": ["aws:ResourceTag/"], "custom-model": ["aws:ResourceTag/"], "custom-model-deployment": ["aws:ResourceTag/"], "data-automation-invocation-job": ["aws:ResourceTag/"], "data-automation-library": ["aws:ResourceTag/"], "data-automation-library-ingestion-job": ["aws:ResourceTag/"], "data-automation-project": ["aws:ResourceTag/"], "evaluation-job": ["aws:ResourceTag/"], "flow": ["aws:ResourceTag/"], "flow-alias": ["aws:ResourceTag/"], "guardrail": ["aws:ResourceTag/"], "imported-model": ["aws:ResourceTag/"], "knowledge-base": ["aws:ResourceTag/"], "model-copy-job": ["aws:ResourceTag/"], "model-customization-job": ["aws:ResourceTag/"], "model-evaluation-job": ["aws:ResourceTag/"], "model-import-job": ["aws:ResourceTag/"], "model-invocation-job": ["aws:ResourceTag/"], "project": ["aws:ResourceTag/"], "prompt": ["aws:ResourceTag/"], "prompt-router": ["aws:ResourceTag/"], "prompt-version": ["aws:ResourceTag/"], "provisioned-model": ["aws:ResourceTag/"], "retrieval-instruction": ["aws:ResourceTag/"], "session": ["aws:ResourceTag/"]}, "budgets": {"budget": ["aws:ResourceTag/Line truncated
|
||||
"resourceTagKeys": {"access-analyzer": {"Analyzer": ["aws:ResourceTag/"]}, "acm": {"acme-domain-validation": ["aws:ResourceTag/"], "acme-endpoint": ["aws:ResourceTag/"], "acme-external-account-binding": ["aws:ResourceTag/"], "certificate": ["aws:ResourceTag/"]}, "apigateway": {"AccessLogSettings": ["aws:ResourceTag/"], "Api": ["aws:ResourceTag/"], "ApiKey": ["aws:ResourceTag/"], "ApiKeys": ["aws:ResourceTag/"], "ApiMapping": ["aws:ResourceTag/"], "ApiMappings": ["aws:ResourceTag/"], "Apis": ["aws:ResourceTag/"], "Authorizer": ["aws:ResourceTag/"], "Authorizers": ["aws:ResourceTag/"], "AuthorizersCache": ["aws:ResourceTag/"], "BasePathMapping": ["aws:ResourceTag/"], "BasePathMappings": ["aws:ResourceTag/"], "ClientCertificate": ["aws:ResourceTag/"], "ClientCertificates": ["aws:ResourceTag/"], "Cors": ["aws:ResourceTag/"], "Deployment": ["aws:ResourceTag/"], "Deployments": ["aws:ResourceTag/"], "DocumentationPart": ["aws:ResourceTag/"], "DocumentationParts": ["aws:ResourceTag/"], "DocumentationVersion": ["aws:ResourceTag/"], "DocumentationVersions": ["aws:ResourceTag/"], "DomainName": ["aws:ResourceTag/"], "DomainNameAccessAssociations": ["aws:ResourceTag/"], "DomainNames": ["aws:ResourceTag/"], "ExportedAPI": ["aws:ResourceTag/"], "GatewayResponse": ["aws:ResourceTag/"], "GatewayResponses": ["aws:ResourceTag/"], "Integration": ["aws:ResourceTag/"], "IntegrationResponse": ["aws:ResourceTag/"], "IntegrationResponses": ["aws:ResourceTag/"], "Integrations": ["aws:ResourceTag/"], "Method": ["aws:ResourceTag/"], "MethodResponse": ["aws:ResourceTag/"], "Model": ["aws:ResourceTag/"], "ModelTemplate": ["aws:ResourceTag/"], "Models": ["aws:ResourceTag/"], "Portal": ["aws:ResourceTag/"], "PortalProduct": ["aws:ResourceTag/"], "PrivateBasePathMapping": ["aws:ResourceTag/"], "PrivateBasePathMappings": ["aws:ResourceTag/"], "PrivateDomainName": ["aws:ResourceTag/"], "ProductPage": ["aws:ResourceTag/"], "ProductRestEndpointPage": ["aws:ResourceTag/"], "RequestValidator": ["aws:ResourceTag/"], "RequestValidators": ["aws:ResourceTag/"], "Resource": ["aws:ResourceTag/"], "Resources": ["aws:ResourceTag/"], "RestApi": ["aws:ResourceTag/"], "RestApis": ["aws:ResourceTag/"], "Route": ["aws:ResourceTag/"], "RouteRequestParameter": ["aws:ResourceTag/"], "RouteResponse": ["aws:ResourceTag/"], "RouteResponses": ["aws:ResourceTag/"], "RouteSettings": ["aws:ResourceTag/"], "Routes": ["aws:ResourceTag/"], "RoutingRule": ["aws:ResourceTag/"], "Sdk": ["aws:ResourceTag/"], "Stage": ["aws:ResourceTag/"], "Stages": ["aws:ResourceTag/"], "Template": ["aws:ResourceTag/"], "UsagePlan": ["aws:ResourceTag/"], "UsagePlanKey": ["aws:ResourceTag/"], "UsagePlanKeys": ["aws:ResourceTag/"], "UsagePlans": ["aws:ResourceTag/"], "VpcLink": ["aws:ResourceTag/"], "VpcLinks": ["aws:ResourceTag/"]}, "application-autoscaling": {"ScalableTarget": ["aws:ResourceTag/"]}, "aps": {"anomalydetector": ["aws:ResourceTag/"], "cluster": ["aws:ResourceTag/"], "rulegroupsnamespace": ["aws:ResourceTag/"], "scraper": ["aws:ResourceTag/"], "workspace": ["aws:ResourceTag/"]}, "athena": {"capacity-reservation": ["aws:ResourceTag/"], "datacatalog": ["aws:ResourceTag/"], "session": ["aws:ResourceTag/"], "system-table": ["aws:ResourceTag/"], "workgroup": ["aws:ResourceTag/"]}, "bcm-data-exports": {"billingview": ["aws:ResourceTag/"], "export": ["aws:ResourceTag/"]}, "bcm-pricing-calculator": {"bill-estimate": ["aws:ResourceTag/"], "bill-scenario": ["aws:ResourceTag/"], "workload-estimate": ["aws:ResourceTag/"]}, "bedrock": {"advanced-prompt-optimization-job": ["aws:ResourceTag/"], "agent": ["aws:ResourceTag/"], "agent-alias": ["aws:ResourceTag/"], "application-inference-profile": ["aws:ResourceTag/"], "async-invoke": ["aws:ResourceTag/"], "automated-reasoning-policy": ["aws:ResourceTag/"], "automated-reasoning-policy-version": ["aws:ResourceTag/"], "blueprint": ["aws:ResourceTag/"], "blueprint-optimization-invocation": ["aws:ResourceTag/"], "custom-model": ["aws:ResourceTag/"], "custom-model-deployment": ["aws:ResourceTag/"], "data-automation-invocation-job": ["aws:ResourceTag/"], "data-automation-library": ["aws:ResourceTag/"], "data-automation-library-ingestion-job": ["aws:ResourceTag/"], "data-automation-project": ["aws:ResourceTag/"], "evaluation-job": ["aws:ResourceTag/"], "flow": ["aws:ResourceTag/"], "flow-alias": ["aws:ResourceTag/"], "guardrail": ["aws:ResourceTag/"], "imported-model": ["aws:ResourceTag/"], "knowledge-base": ["aws:ResourceTag/"], "model-copy-job": ["aws:ResourceTag/"], "model-customization-job": ["aws:ResourceTag/"], "model-evaluation-job": ["aws:ResourceTag/"], "model-import-job": ["aws:ResourceTag/"], "model-invocation-job": ["aws:ResourceTag/"], "project": ["aws:ResourceTag/"], "prompt": ["aws:ResourceTag/"], "prompt-router": ["aws:ResourceTag/"], "prompt-version": ["aws:ResourceTag/"], "provisioned-model": ["aws:ResourceTag/"], "retrieval-instruction": ["aws:ResourceTag/"], "session": ["aws:ResourceTag/"]}, "budgets": {"budget": ["aws:ResourceTag/Line truncated
|
||||
"resourceKeys": {"ec2": {"capacity-reservation": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:AvailabilityZoneId": {"member": "AvailabilityZoneId"}, "ec2:CapacityReservationFleet": {"member": "CapacityReservationFleetId", "arn": "capacity-reservation-fleet"}, "ec2:EbsOptimized": {"member": "EbsOptimized"}, "ec2:EndDateType": {"member": "EndDateType"}, "ec2:EphemeralStorage": {"member": "EphemeralStorage"}, "ec2:InstanceMatchCriteria": {"member": "InstanceMatchCriteria"}, "ec2:InstanceType": {"member": "InstanceType"}, "ec2:Tenancy": {"member": "Tenancy"}}, "carrier-gateway": {"ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "dhcp-options": {"ec2:DhcpOptionsID": {"member": "DhcpOptionsId"}}, "fpga-image": {"ec2:Owner": {"member": "OwnerId"}, "ec2:Public": {"member": "Public"}}, "image": {"ec2:ImageID": {"member": "ImageId"}, "ec2:ImageType": {"member": "ImageType"}, "ec2:Owner": {"member": "OwnerId"}, "ec2:Public": {"member": "Public"}, "ec2:RootDeviceType": {"member": "RootDeviceType"}}, "instance": {"ec2:EbsOptimized": {"member": "EbsOptimized"}, "ec2:InstanceID": {"member": "InstanceId"}, "ec2:InstanceType": {"member": "InstanceType"}, "ec2:RootDeviceType": {"member": "RootDeviceType"}}, "internet-gateway": {"ec2:InternetGatewayID": {"member": "InternetGatewayId"}}, "launch-template": {"ec2:LaunchTemplate": {"member": "LaunchTemplateId", "arn": "launch-template"}}, "network-acl": {"ec2:NetworkAclID": {"member": "NetworkAclId"}, "ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "network-interface": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:NetworkInterfaceID": {"member": "NetworkInterfaceId"}, "ec2:Subnet": {"member": "SubnetId", "arn": "subnet"}, "ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "reserved-instances": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:InstanceType": {"member": "InstanceType"}}, "route-table": {"ec2:RouteTableID": {"member": "RouteTableId"}, "ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "secondary-interface": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:AvailabilityZoneId": {"member": "AvailabilityZoneId"}}, "security-group": {"ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "snapshot": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:Encrypted": {"member": "Encrypted"}, "ec2:Owner": {"member": "OwnerId"}, "ec2:SnapshotID": {"member": "SnapshotId"}, "ec2:VolumeSize": {"member": "VolumeSize"}}, "subnet": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:AvailabilityZoneId": {"member": "AvailabilityZoneId"}, "ec2:SubnetID": {"member": "SubnetId"}, "ec2:Vpc": {"member": "VpcId", "arn": "vpc"}}, "transit-gateway": {"ec2:transitGatewayId": {"member": "TransitGatewayId"}}, "transit-gateway-attachment": {"ec2:transitGatewayAttachmentId": {"member": "TransitGatewayAttachmentId"}}, "transit-gateway-connect-peer": {"ec2:transitGatewayConnectPeerId": {"member": "TransitGatewayConnectPeerId"}}, "transit-gateway-metering-policy": {"ec2:transitGatewayMeteringPolicyId": {"member": "TransitGatewayMeteringPolicyId"}}, "transit-gateway-multicast-domain": {"ec2:transitGatewayMulticastDomainId": {"member": "TransitGatewayMulticastDomainId"}}, "transit-gateway-policy-table": {"ec2:transitGatewayPolicyTableId": {"member": "TransitGatewayPolicyTableId"}}, "transit-gateway-route-table": {"ec2:transitGatewayRouteTableId": {"member": "TransitGatewayRouteTableId"}}, "transit-gateway-route-table-announcement": {"ec2:transitGatewayRouteTableAnnouncementId": {"member": "TransitGatewayRouteTableAnnouncementId"}}, "volume": {"ec2:AvailabilityZone": {"member": "AvailabilityZone"}, "ec2:AvailabilityZoneId": {"member": "AvailabilityZoneId"}, "ec2:Encrypted": {"member": "Encrypted"}, "ec2:KmsKeyId": {"member": "KmsKeyId"}, "ec2:VolumeID": {"member": "VolumeId"}, "ec2:VolumeInitializationRate": {"member": "VolumeInitializationRate"}, "ec2:VolumeType": {"member": "VolumeType"}}, "vpc": {"ec2:VpcID": {"member": "VpcId"}}, "vpc-peering-connection": {"ec2:VpcPeeringConnectionID": {"member": "VpcPeeringConnectionId"}}}},
|
||||
"unqualified": {"ssm": ["parameter"], "states": ["statemachine"]},
|
||||
"mintedIds": {"events": ["api-destination", "connection"]},
|
||||
@@ -1171,6 +1171,127 @@
|
||||
"cloudtrail:UpdateDashboard": {"action": "cloudtrail:UpdateDashboard", "types": ["dashboard"], "resources": [{"type": "dashboard", "fill": {"DashboardName": "DashboardId"}}]},
|
||||
"cloudtrail:UpdateEventDataStore": {"action": "cloudtrail:UpdateEventDataStore", "types": ["eventdatastore"], "resources": [{"type": "eventdatastore", "fill": {"EventDataStoreId": "EventDataStore"}}]},
|
||||
"cloudtrail:UpdateTrail": {"action": "cloudtrail:UpdateTrail", "types": ["trail"], "resources": [{"types": ["trail"], "arn": "CloudWatchLogsLogGroupArn"}, {"types": ["trail"], "arn": "CloudWatchLogsRoleArn"}, {"type": "trail", "fill": {"TrailName": "Name"}}]},
|
||||
"cloudwatch:AssociateDatasetKmsKey": {"action": "cloudwatch:AssociateDatasetKmsKey", "types": [], "resources": []},
|
||||
"cloudwatch:CreateAccessGrant": {"action": "cloudwatch:CreateAccessGrant", "types": [], "resources": [], "makes": [{"type": "access-grant", "fill": {}}]},
|
||||
"cloudwatch:CreateAccessProfile": {"action": "cloudwatch:CreateAccessProfile", "types": [], "resources": [], "makes": [{"type": "access-profile", "fill": {}}]},
|
||||
"cloudwatch:CreateAlert": {"action": "cloudwatch:CreateAlert", "types": [], "resources": [], "makes": [{"type": "alert", "fill": {}}]},
|
||||
"cloudwatch:CreateDomain": {"action": "cloudwatch:CreateDomain", "types": [], "resources": [], "makes": [{"type": "domain", "fill": {}}]},
|
||||
"cloudwatch:CreateDomainAccessGrantForOrganization": {"action": "cloudwatch:CreateDomainAccessGrantForOrganization", "types": [], "resources": []},
|
||||
"cloudwatch:CreateDomainForOrganization": {"action": "cloudwatch:CreateDomainForOrganization", "types": [], "resources": []},
|
||||
"cloudwatch:CreateIntegration": {"action": "cloudwatch:CreateIntegration", "types": [], "resources": [], "makes": [{"type": "integration", "fill": {}}]},
|
||||
"cloudwatch:CreateOmniDashboard": {"action": "cloudwatch:CreateOmniDashboard", "types": [], "resources": [], "makes": [{"type": "omni-dashboard", "fill": {}}]},
|
||||
"cloudwatch:CreateOneTimeDeepLinkCode": {"action": "cloudwatch:CreateOneTimeDeepLinkCode", "types": [], "resources": []},
|
||||
"cloudwatch:CreateResourceMetricsConfiguration": {"action": "cloudwatch:CreateResourceMetricsConfiguration", "types": [], "resources": []},
|
||||
"cloudwatch:CreateSpace": {"action": "cloudwatch:CreateSpace", "types": [], "resources": [], "makes": [{"type": "space", "fill": {}}]},
|
||||
"cloudwatch:CreateView": {"action": "cloudwatch:CreateView", "types": [], "resources": [], "makes": [{"type": "view", "fill": {"ViewName": "name"}}]},
|
||||
"cloudwatch:DeleteAccessGrant": {"action": "cloudwatch:DeleteAccessGrant", "types": ["access-grant"], "resources": [{"type": "access-grant", "fill": {"GrantId": "grantId"}}]},
|
||||
"cloudwatch:DeleteAccessProfile": {"action": "cloudwatch:DeleteAccessProfile", "types": ["access-profile"], "resources": [{"type": "access-profile", "fill": {"ProfileId": "profileId"}}]},
|
||||
"cloudwatch:DeleteAlarmMuteRule": {"action": "cloudwatch:DeleteAlarmMuteRule", "types": ["alarm-mute-rule"], "resources": [{"type": "alarm-mute-rule", "fill": {"AlarmMuteRuleName": "AlarmMuteRuleName"}}]},
|
||||
"cloudwatch:DeleteAlarms": {"action": "cloudwatch:DeleteAlarms", "types": ["alarm"], "resources": [{"type": "alarm", "fill": {"AlarmName": "AlarmNames[]"}}]},
|
||||
"cloudwatch:DeleteAlert": {"action": "cloudwatch:DeleteAlert", "types": ["alert"], "resources": [{"type": "alert", "fill": {"AlertId": "alertId"}}]},
|
||||
"cloudwatch:DeleteAnomalyDetector": {"action": "cloudwatch:DeleteAnomalyDetector", "types": [], "resources": []},
|
||||
"cloudwatch:DeleteDashboards": {"action": "cloudwatch:DeleteDashboards", "types": ["dashboard"], "resources": [{"type": "dashboard", "fill": {"DashboardName": "DashboardNames[]"}}]},
|
||||
"cloudwatch:DeleteDomain": {"action": "cloudwatch:DeleteDomain", "types": ["domain"], "resources": [{"type": "domain", "fill": {"DomainId": "domainId"}}]},
|
||||
"cloudwatch:DeleteDomainAccessGrantForOrganization": {"action": "cloudwatch:DeleteDomainAccessGrantForOrganization", "types": ["organization-access-grant"], "resources": [{"type": "organization-access-grant", "fill": {"GrantId": "grantId"}}]},
|
||||
"cloudwatch:DeleteDomainForOrganization": {"action": "cloudwatch:DeleteDomainForOrganization", "types": ["organization-domain"], "resources": [{"type": "organization-domain", "fill": {"DomainId": "domainId"}}]},
|
||||
"cloudwatch:DeleteInsightRules": {"action": "cloudwatch:DeleteInsightRules", "types": ["insight-rule"], "resources": [{"type": "insight-rule", "fill": {"InsightRuleName": "RuleNames[]"}}]},
|
||||
"cloudwatch:DeleteIntegration": {"action": "cloudwatch:DeleteIntegration", "types": ["integration"], "resources": [{"types": ["integration"], "arn": "identifier.integrationArn"}, {"type": "integration", "fill": {"IntegrationId": "identifier.integrationId"}}]},
|
||||
"cloudwatch:DeleteMetricDataQueryDefinition": {"action": "cloudwatch:DeleteMetricDataQueryDefinition", "types": ["metric-query-definition"], "resources": [{"type": "metric-query-definition", "fill": {"MetricDataQueryDefinitionId": "Id"}}]},
|
||||
"cloudwatch:DeleteMetricStream": {"action": "cloudwatch:DeleteMetricStream", "types": ["metric-stream"], "resources": [{"type": "metric-stream", "fill": {"MetricStreamName": "Name"}}]},
|
||||
"cloudwatch:DeleteOmniDashboard": {"action": "cloudwatch:DeleteOmniDashboard", "types": ["omni-dashboard"], "resources": [{"type": "omni-dashboard", "fill": {"DashboardId": "dashboardId"}}]},
|
||||
"cloudwatch:DeleteResourceMetricsConfiguration": {"action": "cloudwatch:DeleteResourceMetricsConfiguration", "types": [], "resources": []},
|
||||
"cloudwatch:DeleteSpace": {"action": "cloudwatch:DeleteSpace", "types": ["space"], "resources": [{"type": "space", "fill": {"SpaceId": "spaceId"}}]},
|
||||
"cloudwatch:DeleteView": {"action": "cloudwatch:DeleteView", "types": ["view"], "resources": [{"type": "view", "fill": {"ViewName": "name"}}]},
|
||||
"cloudwatch:DescribeAlarmContributors": {"action": "cloudwatch:DescribeAlarmContributors", "types": [], "resources": []},
|
||||
"cloudwatch:DescribeAlarmHistory": {"action": "cloudwatch:DescribeAlarmHistory", "types": ["alarm"], "resources": [{"type": "alarm", "fill": {"AlarmName": "AlarmName"}}]},
|
||||
"cloudwatch:DescribeAlarms": {"action": "cloudwatch:DescribeAlarms", "types": ["alarm"], "resources": [{"type": "alarm", "fill": {"AlarmName": "AlarmNames[]"}}]},
|
||||
"cloudwatch:DescribeAlarmsForMetric": {"action": "cloudwatch:DescribeAlarmsForMetric", "types": [], "resources": []},
|
||||
"cloudwatch:DescribeAnomalyDetectors": {"action": "cloudwatch:DescribeAnomalyDetectors", "types": [], "resources": []},
|
||||
"cloudwatch:DescribeInsightRules": {"action": "cloudwatch:DescribeInsightRules", "types": [], "resources": []},
|
||||
"cloudwatch:DisableAlarmActions": {"action": "cloudwatch:DisableAlarmActions", "types": ["alarm"], "resources": [{"type": "alarm", "fill": {"AlarmName": "AlarmNames[]"}}]},
|
||||
"cloudwatch:DisableInsightRules": {"action": "cloudwatch:DisableInsightRules", "types": ["insight-rule"], "resources": [{"type": "insight-rule", "fill": {"InsightRuleName": "RuleNames[]"}}]},
|
||||
"cloudwatch:DisassociateDatasetKmsKey": {"action": "cloudwatch:DisassociateDatasetKmsKey", "types": [], "resources": []},
|
||||
"cloudwatch:EnableAlarmActions": {"action": "cloudwatch:EnableAlarmActions", "types": ["alarm"], "resources": [{"type": "alarm", "fill": {"AlarmName": "AlarmNames[]"}}]},
|
||||
"cloudwatch:EnableInsightRules": {"action": "cloudwatch:EnableInsightRules", "types": ["insight-rule"], "resources": [{"type": "insight-rule", "fill": {"InsightRuleName": "RuleNames[]"}}]},
|
||||
"cloudwatch:GetAccessGrant": {"action": "cloudwatch:GetAccessGrant", "types": ["access-grant"], "resources": [{"type": "access-grant", "fill": {"GrantId": "grantId"}}]},
|
||||
"cloudwatch:GetAccessProfile": {"action": "cloudwatch:GetAccessProfile", "types": ["access-profile"], "resources": [{"type": "access-profile", "fill": {"ProfileId": "profileId"}}]},
|
||||
"cloudwatch:GetAlarmMuteRule": {"action": "cloudwatch:GetAlarmMuteRule", "types": ["alarm-mute-rule"], "resources": [{"type": "alarm-mute-rule", "fill": {"AlarmMuteRuleName": "AlarmMuteRuleName"}}]},
|
||||
"cloudwatch:GetAlert": {"action": "cloudwatch:GetAlert", "types": ["alert"], "resources": [{"type": "alert", "fill": {"AlertId": "alertId"}}]},
|
||||
"cloudwatch:GetContextGraph": {"action": "cloudwatch:GetContextGraph", "types": [], "resources": []},
|
||||
"cloudwatch:GetDashboard": {"action": "cloudwatch:GetDashboard", "types": ["dashboard"], "resources": [{"type": "dashboard", "fill": {"DashboardName": "DashboardName"}}]},
|
||||
"cloudwatch:GetDataset": {"action": "cloudwatch:GetDataset", "types": ["dataset"], "resources": [{"type": "dataset", "fill": {"DatasetId": "DatasetIdentifier"}}]},
|
||||
"cloudwatch:GetDomain": {"action": "cloudwatch:GetDomain", "types": ["domain"], "resources": [{"type": "domain", "fill": {"DomainId": "domainId"}}]},
|
||||
"cloudwatch:GetDomainAccessGrantForOrganization": {"action": "cloudwatch:GetDomainAccessGrantForOrganization", "types": ["organization-access-grant"], "resources": [{"type": "organization-access-grant", "fill": {"GrantId": "grantId"}}]},
|
||||
"cloudwatch:GetDomainForOrganization": {"action": "cloudwatch:GetDomainForOrganization", "types": ["organization-domain"], "resources": [{"type": "organization-domain", "fill": {"DomainId": "domainId"}}]},
|
||||
"cloudwatch:GetInsightRuleReport": {"action": "cloudwatch:GetInsightRuleReport", "types": ["insight-rule"], "resources": [{"type": "insight-rule", "fill": {"InsightRuleName": "RuleName"}}]},
|
||||
"cloudwatch:GetIntegration": {"action": "cloudwatch:GetIntegration", "types": ["integration"], "resources": [{"types": ["integration"], "arn": "identifier.integrationArn"}, {"type": "integration", "fill": {"IntegrationId": "identifier.integrationId"}}]},
|
||||
"cloudwatch:GetIntelligenceConfiguration": {"action": "cloudwatch:GetIntelligenceConfiguration", "types": [], "resources": []},
|
||||
"cloudwatch:GetMetricData": {"action": "cloudwatch:GetMetricData", "types": ["dataset"], "resources": []},
|
||||
"cloudwatch:GetMetricDataQueryDefinition": {"action": "cloudwatch:GetMetricDataQueryDefinition", "types": ["metric-query-definition"], "resources": [{"type": "metric-query-definition", "fill": {"MetricDataQueryDefinitionId": "Id"}}]},
|
||||
"cloudwatch:GetMetricStatistics": {"action": "cloudwatch:GetMetricStatistics", "types": [], "resources": []},
|
||||
"cloudwatch:GetMetricStream": {"action": "cloudwatch:GetMetricStream", "types": ["metric-stream"], "resources": [{"type": "metric-stream", "fill": {"MetricStreamName": "Name"}}]},
|
||||
"cloudwatch:GetMetricWidgetImage": {"action": "cloudwatch:GetMetricWidgetImage", "types": [], "resources": []},
|
||||
"cloudwatch:GetOTelEnrichment": {"action": "cloudwatch:GetOTelEnrichment", "types": [], "resources": []},
|
||||
"cloudwatch:GetOmniDashboard": {"action": "cloudwatch:GetOmniDashboard", "types": ["omni-dashboard"], "resources": [{"type": "omni-dashboard", "fill": {"DashboardId": "dashboardId"}}]},
|
||||
"cloudwatch:GetResourceMetricsConfiguration": {"action": "cloudwatch:GetResourceMetricsConfiguration", "types": [], "resources": []},
|
||||
"cloudwatch:GetSpace": {"action": "cloudwatch:GetSpace", "types": ["space"], "resources": [{"type": "space", "fill": {"SpaceId": "spaceId"}}]},
|
||||
"cloudwatch:GetSpaceCredentialsForOrganization": {"action": "cloudwatch:GetSpaceCredentialsForOrganization", "types": [], "resources": []},
|
||||
"cloudwatch:GetSpaceDataAccess": {"action": "cloudwatch:GetSpaceDataAccess", "types": [], "resources": []},
|
||||
"cloudwatch:GetTelemetryQueryResults": {"action": "cloudwatch:GetTelemetryQueryResults", "types": [], "resources": []},
|
||||
"cloudwatch:GetView": {"action": "cloudwatch:GetView", "types": ["view"], "resources": [{"type": "view", "fill": {"ViewName": "name"}}]},
|
||||
"cloudwatch:ListAccessGrants": {"action": "cloudwatch:ListAccessGrants", "types": [], "resources": []},
|
||||
"cloudwatch:ListAccessProfiles": {"action": "cloudwatch:ListAccessProfiles", "types": [], "resources": []},
|
||||
"cloudwatch:ListAlarmMuteRules": {"action": "cloudwatch:ListAlarmMuteRules", "types": ["alarm-mute-rule"], "resources": []},
|
||||
"cloudwatch:ListAlerts": {"action": "cloudwatch:ListAlerts", "types": [], "resources": []},
|
||||
"cloudwatch:ListDashboards": {"action": "cloudwatch:ListDashboards", "types": [], "resources": []},
|
||||
"cloudwatch:ListDomainAccessGrantsForOrganization": {"action": "cloudwatch:ListDomainAccessGrantsForOrganization", "types": [], "resources": []},
|
||||
"cloudwatch:ListDomains": {"action": "cloudwatch:ListDomains", "types": [], "resources": []},
|
||||
"cloudwatch:ListIntegrations": {"action": "cloudwatch:ListIntegrations", "types": [], "resources": []},
|
||||
"cloudwatch:ListManagedInsightRules": {"action": "cloudwatch:ListManagedInsightRules", "types": [], "resources": []},
|
||||
"cloudwatch:ListMetricDataQueryDefinitions": {"action": "cloudwatch:ListMetricDataQueryDefinitions", "types": [], "resources": []},
|
||||
"cloudwatch:ListMetricStreams": {"action": "cloudwatch:ListMetricStreams", "types": [], "resources": []},
|
||||
"cloudwatch:ListMetrics": {"action": "cloudwatch:ListMetrics", "types": ["dataset"], "resources": []},
|
||||
"cloudwatch:ListOmniDashboards": {"action": "cloudwatch:ListOmniDashboards", "types": [], "resources": []},
|
||||
"cloudwatch:ListSpaces": {"action": "cloudwatch:ListSpaces", "types": [], "resources": []},
|
||||
"cloudwatch:ListSpacesForOrganization": {"action": "cloudwatch:ListSpacesForOrganization", "types": [], "resources": []},
|
||||
"cloudwatch:ListTagsForResource": {"action": "cloudwatch:ListTagsForResource", "types": ["alarm", "alarm-mute-rule", "dashboard", "dataset", "insight-rule", "metric-query-definition", "metric-stream", "service", "slo"], "resources": [{"types": ["alarm", "alarm-mute-rule", "dashboard", "dataset", "insight-rule", "metric-query-definition", "metric-stream", "service", "slo"], "arn": "ResourceARN"}]},
|
||||
"cloudwatch:ListTelemetryFields": {"action": "cloudwatch:ListTelemetryFields", "types": [], "resources": []},
|
||||
"cloudwatch:ListTelemetryQuerySessions": {"action": "cloudwatch:ListTelemetryQuerySessions", "types": [], "resources": []},
|
||||
"cloudwatch:ListViews": {"action": "cloudwatch:ListViews", "types": [], "resources": []},
|
||||
"cloudwatch:PutAlarmMuteRule": {"action": "cloudwatch:PutAlarmMuteRule", "types": ["alarm", "alarm-mute-rule"], "resources": [{"type": "alarm-mute-rule", "fill": {"AlarmMuteRuleName": "Name"}}]},
|
||||
"cloudwatch:PutAnomalyDetector": {"action": "cloudwatch:PutAnomalyDetector", "types": [], "resources": []},
|
||||
"cloudwatch:PutCompositeAlarm": {"action": "cloudwatch:PutCompositeAlarm", "types": ["alarm"], "resources": [{"type": "alarm", "fill": {"AlarmName": "AlarmName"}}]},
|
||||
"cloudwatch:PutDashboard": {"action": "cloudwatch:PutDashboard", "types": ["dashboard"], "resources": [{"type": "dashboard", "fill": {"DashboardName": "DashboardName"}}]},
|
||||
"cloudwatch:PutInsightRule": {"action": "cloudwatch:PutInsightRule", "types": ["insight-rule"], "resources": [{"type": "insight-rule", "fill": {"InsightRuleName": "RuleName"}}]},
|
||||
"cloudwatch:PutIntelligenceConfiguration": {"action": "cloudwatch:PutIntelligenceConfiguration", "types": [], "resources": []},
|
||||
"cloudwatch:PutLogAlarm": {"action": "cloudwatch:PutLogAlarm", "types": ["alarm"], "resources": [{"types": ["alarm"], "arn": "ActionLogLineRoleArn"}, {"types": ["alarm"], "arn": "ScheduledQueryConfiguration.QueryARN"}, {"types": ["alarm"], "arn": "ScheduledQueryConfiguration.ScheduledQueryRoleARN"}, {"type": "alarm", "fill": {"AlarmName": "AlarmName"}}]},
|
||||
"cloudwatch:PutManagedInsightRules": {"action": "cloudwatch:PutManagedInsightRules", "types": [], "resources": [], "makes": [{"type": "insight-rule", "fill": {}}]},
|
||||
"cloudwatch:PutMetricAlarm": {"action": "cloudwatch:PutMetricAlarm", "types": ["alarm", "dataset"], "resources": [{"type": "alarm", "fill": {"AlarmName": "AlarmName"}}]},
|
||||
"cloudwatch:PutMetricData": {"action": "cloudwatch:PutMetricData", "types": ["dataset"], "resources": []},
|
||||
"cloudwatch:PutMetricDataQueryDefinition": {"action": "cloudwatch:PutMetricDataQueryDefinition", "types": ["metric-query-definition"], "resources": [{"type": "metric-query-definition", "fill": {"MetricDataQueryDefinitionId": "Id"}}]},
|
||||
"cloudwatch:PutMetricStream": {"action": "cloudwatch:PutMetricStream", "types": ["metric-stream"], "resources": [{"types": ["metric-stream"], "arn": "FirehoseArn"}, {"types": ["metric-stream"], "arn": "RoleArn"}, {"type": "metric-stream", "fill": {"MetricStreamName": "Name"}}]},
|
||||
"cloudwatch:SearchPrincipals": {"action": "cloudwatch:SearchPrincipals", "types": [], "resources": []},
|
||||
"cloudwatch:SetAlarmState": {"action": "cloudwatch:SetAlarmState", "types": ["alarm"], "resources": [{"type": "alarm", "fill": {"AlarmName": "AlarmName"}}]},
|
||||
"cloudwatch:StartMetricStreams": {"action": "cloudwatch:StartMetricStreams", "types": ["metric-stream"], "resources": [{"type": "metric-stream", "fill": {"MetricStreamName": "Names[]"}}]},
|
||||
"cloudwatch:StartOTelEnrichment": {"action": "cloudwatch:StartOTelEnrichment", "types": [], "resources": []},
|
||||
"cloudwatch:StartTelemetryQuery": {"action": "cloudwatch:StartTelemetryQuery", "types": [], "resources": []},
|
||||
"cloudwatch:StartTelemetryQuerySession": {"action": "cloudwatch:StartTelemetryQuerySession", "types": [], "resources": []},
|
||||
"cloudwatch:StopMetricStreams": {"action": "cloudwatch:StopMetricStreams", "types": ["metric-stream"], "resources": [{"type": "metric-stream", "fill": {"MetricStreamName": "Names[]"}}]},
|
||||
"cloudwatch:StopOTelEnrichment": {"action": "cloudwatch:StopOTelEnrichment", "types": [], "resources": []},
|
||||
"cloudwatch:StopTelemetryQuery": {"action": "cloudwatch:StopTelemetryQuery", "types": [], "resources": []},
|
||||
"cloudwatch:StopTelemetryQuerySession": {"action": "cloudwatch:StopTelemetryQuerySession", "types": [], "resources": []},
|
||||
"cloudwatch:TagResource": {"action": "cloudwatch:TagResource", "types": ["alarm", "alarm-mute-rule", "dashboard", "dataset", "insight-rule", "metric-query-definition", "metric-stream", "service", "slo"], "resources": [{"types": ["alarm", "alarm-mute-rule", "dashboard", "dataset", "insight-rule", "metric-query-definition", "metric-stream", "service", "slo"], "arn": "ResourceARN"}]},
|
||||
"cloudwatch:UntagResource": {"action": "cloudwatch:UntagResource", "types": ["alarm", "alarm-mute-rule", "dashboard", "dataset", "insight-rule", "metric-query-definition", "metric-stream", "service", "slo"], "resources": [{"types": ["alarm", "alarm-mute-rule", "dashboard", "dataset", "insight-rule", "metric-query-definition", "metric-stream", "service", "slo"], "arn": "ResourceARN"}]},
|
||||
"cloudwatch:UpdateAccessProfile": {"action": "cloudwatch:UpdateAccessProfile", "types": ["access-profile"], "resources": [{"type": "access-profile", "fill": {"ProfileId": "profileId"}}]},
|
||||
"cloudwatch:UpdateAlert": {"action": "cloudwatch:UpdateAlert", "types": ["alert"], "resources": [{"type": "alert", "fill": {"AlertId": "alertId"}}]},
|
||||
"cloudwatch:UpdateDomain": {"action": "cloudwatch:UpdateDomain", "types": ["domain"], "resources": [{"type": "domain", "fill": {"DomainId": "domainId"}}]},
|
||||
"cloudwatch:UpdateDomainForOrganization": {"action": "cloudwatch:UpdateDomainForOrganization", "types": ["organization-domain"], "resources": [{"type": "organization-domain", "fill": {"DomainId": "domainId"}}]},
|
||||
"cloudwatch:UpdateIntegration": {"action": "cloudwatch:UpdateIntegration", "types": ["integration"], "resources": [{"types": ["integration"], "arn": "identifier.integrationArn"}, {"types": ["integration"], "arn": "roleArn"}, {"type": "integration", "fill": {"IntegrationId": "identifier.integrationId"}}]},
|
||||
"cloudwatch:UpdateOTelEnrichment": {"action": "cloudwatch:UpdateOTelEnrichment", "types": [], "resources": []},
|
||||
"cloudwatch:UpdateOmniDashboard": {"action": "cloudwatch:UpdateOmniDashboard", "types": ["omni-dashboard"], "resources": [{"type": "omni-dashboard", "fill": {"DashboardId": "dashboardId"}}]},
|
||||
"cloudwatch:UpdateResourceMetricsConfiguration": {"action": "cloudwatch:UpdateResourceMetricsConfiguration", "types": [], "resources": []},
|
||||
"cloudwatch:UpdateSpace": {"action": "cloudwatch:UpdateSpace", "types": ["space"], "resources": [{"types": ["space"], "arn": "agentCoreEvaluationRoleArn"}, {"type": "space", "fill": {"SpaceId": "spaceId"}}]},
|
||||
"cloudwatch:UpdateView": {"action": "cloudwatch:UpdateView", "types": ["view"], "resources": [{"type": "view", "fill": {"ViewName": "name"}}]},
|
||||
"codebuild:BatchDeleteBuilds": {"action": "codebuild:BatchDeleteBuilds", "types": ["project"], "resources": [{"types": ["project"], "through": "ids[]"}]},
|
||||
"codebuild:BatchGetBuildBatches": {"action": "codebuild:BatchGetBuildBatches", "types": ["project"], "resources": []},
|
||||
"codebuild:BatchGetBuilds": {"action": "codebuild:BatchGetBuilds", "types": ["project"], "resources": [{"types": ["project"], "through": "ids[]"}]},
|
||||
|
||||
+57
@@ -3252,6 +3252,63 @@ class IamRequestResourceEnforcementIntegrationTest {
|
||||
.body(not(containsString("AccessDeniedException")));
|
||||
}
|
||||
|
||||
/**
|
||||
* A CloudWatch alarm is checked on the ARN CloudWatch mints for it, {@code alarm:<name>}: a grant on one alarm lets
|
||||
* the caller create it and not another, and a deny on one alarm refuses a request whose list names it, while the
|
||||
* same request naming another alarm goes through.
|
||||
*/
|
||||
@Test
|
||||
void aCloudWatchAlarmIsCheckedOnTheArnCloudWatchGivesIt() {
|
||||
String alarm = "res-alarm-" + suffix();
|
||||
String other = alarm + "-other";
|
||||
String alarmArn = "arn:aws:cloudwatch:" + REGION + ":" + ACCOUNT + ":alarm:" + alarm;
|
||||
cleanup.register(() -> admin("monitoring").formParam("Action", "DeleteAlarms").formParam("Version", "2010-08-01")
|
||||
.formParam("AlarmNames.member.1", alarm).formParam("AlarmNames.member.2", other).post("/"));
|
||||
User user = user("res-cw-alarm");
|
||||
user.policy(allowOn("cloudwatch:PutMetricAlarm", alarmArn));
|
||||
putMetricAlarm(user.query("monitoring", "PutMetricAlarm"), alarm).statusCode(200);
|
||||
refused(putMetricAlarm(user.query("monitoring", "PutMetricAlarm"), other), "cloudwatch:PutMetricAlarm");
|
||||
|
||||
putMetricAlarm(admin("monitoring").formParam("Action", "PutMetricAlarm"), other).statusCode(200);
|
||||
user.policy(allowOn("cloudwatch:DisableAlarmActions", "*") + ",{\"Effect\":\"Deny\",\"Action\":"
|
||||
+ "\"cloudwatch:DisableAlarmActions\",\"Resource\":\"" + alarmArn + "\"}");
|
||||
refused(user.query("monitoring", "DisableAlarmActions").formParam("Version", "2010-08-01")
|
||||
.formParam("AlarmNames.member.1", other).formParam("AlarmNames.member.2", alarm).post("/").then(),
|
||||
"cloudwatch:DisableAlarmActions");
|
||||
user.query("monitoring", "DisableAlarmActions").formParam("Version", "2010-08-01")
|
||||
.formParam("AlarmNames.member.1", other).post("/").then().statusCode(200);
|
||||
}
|
||||
|
||||
/**
|
||||
* A CloudWatch dashboard is checked on its ARN, which has no Region, as AWS gives it and CloudWatch mints it, so a
|
||||
* grant on one dashboard lets the caller write and read it and not another.
|
||||
*/
|
||||
@Test
|
||||
void aCloudWatchDashboardIsCheckedOnItsArnWithoutARegion() {
|
||||
String dashboard = "res-dash-" + suffix();
|
||||
cleanup.register(() -> admin("monitoring").formParam("Action", "DeleteDashboards")
|
||||
.formParam("Version", "2010-08-01").formParam("DashboardNames.member.1", dashboard).post("/"));
|
||||
User user = user("res-cw-dash");
|
||||
user.policy(allowOn("cloudwatch:PutDashboard", "arn:aws:cloudwatch::" + ACCOUNT + ":dashboard/" + dashboard)
|
||||
+ "," + allowOn("cloudwatch:GetDashboard", "arn:aws:cloudwatch::" + ACCOUNT + ":dashboard/" + dashboard));
|
||||
putDashboard(user, dashboard).statusCode(200);
|
||||
refused(putDashboard(user, dashboard + "-other"), "cloudwatch:PutDashboard");
|
||||
user.query("monitoring", "GetDashboard").formParam("Version", "2010-08-01").formParam("DashboardName", dashboard)
|
||||
.post("/").then().statusCode(200).body(containsString(":dashboard/" + dashboard));
|
||||
}
|
||||
|
||||
private static ValidatableResponse putMetricAlarm(RequestSpecification request, String name) {
|
||||
return request.formParam("Version", "2010-08-01").formParam("AlarmName", name).formParam("Namespace", "Res")
|
||||
.formParam("MetricName", "Requests").formParam("Statistic", "Sum").formParam("Period", "60")
|
||||
.formParam("EvaluationPeriods", "1").formParam("Threshold", "1")
|
||||
.formParam("ComparisonOperator", "GreaterThanThreshold").post("/").then();
|
||||
}
|
||||
|
||||
private static ValidatableResponse putDashboard(User user, String name) {
|
||||
return user.query("monitoring", "PutDashboard").formParam("Version", "2010-08-01")
|
||||
.formParam("DashboardName", name).formParam("DashboardBody", "{\"widgets\":[]}").post("/").then();
|
||||
}
|
||||
|
||||
private static ValidatableResponse glue(String operation, String body) {
|
||||
return adminJson("glue", "AWSGlue." + operation).body(body).post("/").then();
|
||||
}
|
||||
|
||||
@@ -1835,6 +1835,47 @@ class ResourceArnBuilderTest {
|
||||
builder.buildResources("sns", "sns:TagResource", ctx, "us-east-1", ACCOUNT, "aws"));
|
||||
}
|
||||
|
||||
// ── CloudWatch ──────────────────────────────────────────────────────────────
|
||||
|
||||
/**
|
||||
* A CloudWatch request is checked on each alarm its AlarmNames list names, or the one its AlarmName names, as
|
||||
* {@code alarm:<name>} in the request's Region, the ARN CloudWatch mints for an alarm; one naming no alarm is
|
||||
* checked on {@code *}.
|
||||
*/
|
||||
@Test
|
||||
void cloudWatchChecksTheAlarmsARequestNames() {
|
||||
setFormBody("Action=DeleteAlarms&Version=2010-08-01&AlarmNames.member.1=high-cpu&AlarmNames.member.2=low-disk");
|
||||
assertEquals(List.of("arn:aws:cloudwatch:us-west-2:000000000000:alarm:high-cpu",
|
||||
"arn:aws:cloudwatch:us-west-2:000000000000:alarm:low-disk"),
|
||||
builder.buildResources("cloudwatch", "cloudwatch:DeleteAlarms", ctx, "us-west-2", ACCOUNT, "aws"));
|
||||
setJsonBody("{\"AlarmName\":\"high-cpu\",\"StateValue\":\"ALARM\",\"StateReason\":\"test\"}");
|
||||
when(ctx.getMediaType()).thenReturn(MediaType.valueOf("application/x-amz-json-1.0"));
|
||||
assertEquals(List.of("arn:aws:cloudwatch:us-west-2:000000000000:alarm:high-cpu"),
|
||||
builder.buildResources("cloudwatch", "cloudwatch:SetAlarmState", ctx, "us-west-2", ACCOUNT, "aws"));
|
||||
setFormBody("Action=DescribeAlarms&Version=2010-08-01&AlarmNamePrefix=high");
|
||||
assertEquals(List.of("*"),
|
||||
builder.buildResources("cloudwatch", "cloudwatch:DescribeAlarms", ctx, "us-west-2", ACCOUNT, "aws"));
|
||||
}
|
||||
|
||||
/**
|
||||
* A dashboard's ARN has no Region, as the Service Reference gives it and CloudWatch mints it, and a metric stream
|
||||
* is checked on the one its Name names; publishing or reading metric data names no resource, so is checked on
|
||||
* {@code *}.
|
||||
*/
|
||||
@Test
|
||||
void cloudWatchChecksADashboardWithoutItsRegionAndAMetricStreamByItsName() {
|
||||
setFormBody("Action=DeleteDashboards&Version=2010-08-01&DashboardNames.member.1=ops");
|
||||
assertEquals(List.of("arn:aws:cloudwatch::000000000000:dashboard/ops"),
|
||||
builder.buildResources("cloudwatch", "cloudwatch:DeleteDashboards", ctx, "us-west-2", ACCOUNT, "aws"));
|
||||
setJsonBody("{\"Name\":\"to-firehose\"}");
|
||||
when(ctx.getMediaType()).thenReturn(MediaType.valueOf("application/x-amz-json-1.0"));
|
||||
assertEquals(List.of("arn:aws:cloudwatch:us-west-2:000000000000:metric-stream/to-firehose"),
|
||||
builder.buildResources("cloudwatch", "cloudwatch:GetMetricStream", ctx, "us-west-2", ACCOUNT, "aws"));
|
||||
setFormBody("Action=PutMetricData&Version=2010-08-01&Namespace=App&MetricData.member.1.MetricName=Hits");
|
||||
assertEquals(List.of("*"),
|
||||
builder.buildResources("cloudwatch", "cloudwatch:PutMetricData", ctx, "us-west-2", ACCOUNT, "aws"));
|
||||
}
|
||||
|
||||
// ── S3 and S3 Control ───────────────────────────────────────────────────────
|
||||
|
||||
/** The resources an S3 or S3 Control request names, read from the generated table on the route it matches. */
|
||||
|
||||
@@ -352,7 +352,7 @@ NAMESPACES = ("access-analyzer", "account", "acm", "application-autoscaling", "a
|
||||
"rekognition", "resource-explorer-2", "route53", "s3tables", "s3vectors", "servicediscovery",
|
||||
"servicequotas", "ssm", "sso", "states", "textract", "timestream-influxdb", "translate", "signer", "xray",
|
||||
"securityhub", "guardduty", "secretsmanager", "scheduler", "lambda", "cloudformation", "glue",
|
||||
"sqs", "sns", "kinesis", "pipes", "dsql", "sts", "eks", "resource-groups", "logs",
|
||||
"sqs", "sns", "kinesis", "pipes", "dsql", "sts", "eks", "resource-groups", "logs", "cloudwatch",
|
||||
"ec2-instance-connect", "s3", "bedrock", "apigateway", "kms", "dynamodb", "iam")
|
||||
|
||||
# ---------------------------------------------------------------------------------------------------------------------
|
||||
@@ -588,7 +588,6 @@ NOT_COVERED: dict[str, str] = {
|
||||
"cloudhsm": "not read yet: its ARN formats end in ${CloudHsmClusterInstanceName} and "
|
||||
"${CloudHsmBackupInstanceName}, names, while its requests give ClusterId and BackupId, ids, which the "
|
||||
"rules do not fill a name from, so nearly every operation's resource would be left open",
|
||||
"cloudwatch": _LATER,
|
||||
"codeartifact": _REST,
|
||||
"codeguru-reviewer": _REST,
|
||||
"codedeploy": "not read yet: the Service Reference gives an on-premises instance's ARN as "
|
||||
|
||||
@@ -1227,6 +1227,14 @@ def test_the_vendored_file_is_well_formed():
|
||||
# An SQS request names its queue by URL, which SQS finds as its handlers do; a create names it by name.
|
||||
assert operations["sqs:SendMessage"]["resources"] == [{"type": "queue", "fill": {}, "find": ["QueueUrl"]}]
|
||||
assert operations["sqs:CreateQueue"]["resources"] == [{"type": "queue", "fill": {"QueueName": "QueueName"}}]
|
||||
# CloudWatch is read whole: each alarm a list names, and a dashboard by its name, its ARN with no Region.
|
||||
assert "cloudwatch" in document["namespaces"] and "cloudwatch" not in document["notCovered"]
|
||||
assert operations["cloudwatch:DeleteAlarms"]["resources"] == [
|
||||
{"type": "alarm", "fill": {"AlarmName": "AlarmNames[]"}}]
|
||||
assert operations["cloudwatch:DeleteDashboards"]["resources"] == [
|
||||
{"type": "dashboard", "fill": {"DashboardName": "DashboardNames[]"}}]
|
||||
assert document["arnFormats"]["cloudwatch"]["dashboard"] == (
|
||||
"arn:${Partition}:cloudwatch::${Account}:dashboard/${DashboardName}")
|
||||
# A scalable target is found by the three members naming it, its ARN ending in the id the service mints.
|
||||
assert operations["application-autoscaling:DeregisterScalableTarget"]["resources"] == [
|
||||
{"type": "ScalableTarget", "fill": {}, "find": ["ServiceNamespace", "ResourceId", "ScalableDimension"]}]
|
||||
|
||||
Reference in new issue
Block a user