mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
feat(iam): read MemoryDB from the generated tables (#9362)
Move `memorydb` from NOT_COVERED to NAMESPACES in
regen_iam_request_resources.py, so MemoryDB requests are checked on the
resources they name instead of `*`: a cluster, an ACL or a user by its name,
as <type>/<name>, the ARN MemoryDB mints, and a tag call on its ResourceArn.
A cluster and a multi-Region cluster both call their format's variable
${ClusterName}, so the generator could not tell DeleteCluster's ClusterName
from its MultiRegionClusterName and read no cluster, and filled
CreateCluster's multi-Region cluster from the new cluster's ClusterName. One
generic reading fixes both: a type of one variable is read from the one
top-level member named after the type and ending in the variable's name,
where nothing reads it yet or instead of a member named after something
else, and only when no other type the action acts on could take that member
alone. Over the whole table it changes these two MemoryDB operations and no
other.
CreateCluster marked the multi-Region cluster it may join as what it makes,
so its tags were checked on that, or on its ACL when it names none, not on
the new cluster. Where the namespace has a type named as a create is, that
type, and one whose format's leading word is that name, is what it makes; a
type whose name merely ends in the same word is not, and a related type the
request names by a member of its own is one it joins, so the cluster it
makes is recorded for its tags. Over the whole table this also stops
ElastiCache's CreateReplicationGroup from marking the global replication
group it may join as made, and marks the global replication group
CreateGlobalReplicationGroup makes.
This commit is contained in:
1 parent
49a59da5e6
commit
c24686a17d
8 files changed
+235
-11
No files matched your search
@@ -2580,7 +2580,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, Amazon CloudWatch Logs, Amazon CloudWatch, Amazon Comprehend, AWS Config, AWS DMS, Amazon ElastiCache and AWS Identity Store 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, Amazon CloudWatch, Amazon Comprehend, AWS Config, AWS DMS, Amazon ElastiCache, AWS Identity Store and Amazon MemoryDB 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
|
||||
|
||||
@@ -52,6 +52,17 @@ refused inside `MULTI`/`EXEC`, with the same reply as ElastiCache (see
|
||||
| `UntagResource` | Remove tags from a cluster, user or ACL |
|
||||
<!-- floci:actions:end -->
|
||||
|
||||
With IAM enforcement on, each action is checked on the resources the AWS Service Authorization
|
||||
Reference lists for it, read from the request: a cluster by its `ClusterName`, an ACL by its
|
||||
`ACLName` and a user by its `UserName`, as `arn:aws:memorydb:<region>:<account>:<type>/<name>`, the
|
||||
ARN MemoryDB mints, and a tag call on its `ResourceArn`. The reference lists no `cluster` for
|
||||
`CreateCluster`, but the multi-Region cluster it may join, which its `MultiRegionClusterName` names,
|
||||
`arn:aws:memorydb::<account>:multiregioncluster/<name>`, beside its ACL, parameter group, subnet group
|
||||
and snapshot. `DeleteCluster` is checked on the cluster its `ClusterName` names, and on its final
|
||||
snapshot and multi-Region cluster when it names them. The reference lists no ACL or user type for `CreateACL` and
|
||||
`CreateUser`, so a new ACL is checked on the users its `UserNames` lists, and a new user, or an ACL
|
||||
listing none, on `*`.
|
||||
|
||||
## Configuration
|
||||
|
||||
| Variable | Default | Description |
|
||||
|
||||
@@ -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-24", "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"], "cloudwatch": ["cloudwatch", "cloudwatchomni"], "codebuild": ["codebuild"], "codepipeline": ["codepipeline"], "cognito-identity": ["cognito-identity"], "cognito-idp": ["cognito-idp"], "comprehend": ["comprehend"], "config": ["config"], "controlcatalog": ["controlcatalog"], "controltower": ["controltower"], "cur": ["cur"], "datasync": ["datasync"], "dms": ["dms"], "dsql": ["dsql"], "dynamodb": ["dynamodb", "dynamodbstreams"], "ec2": ["ec2"], "ec2-instance-connect": ["ec2-instance-connect"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticache": ["elasticache"], "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"], "identitystore": ["identitystore"], "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", "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", "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", "iot": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "kafka": "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", "lightsail": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "memorydb": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "mq": "REST: its requests name their resources in thLine 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"], "comprehend": ["comprehend"], "config": ["config"], "controlcatalog": ["controlcatalog"], "controltower": ["controltower"], "cur": ["cur"], "datasync": ["datasync"], "dms": ["dms"], "dsql": ["dsql"], "dynamodb": ["dynamodb", "dynamodbstreams"], "ec2": ["ec2"], "ec2-instance-connect": ["ec2-instance-connect"], "ecr": ["ecr"], "ecs": ["ecs"], "eks": ["eks"], "elasticache": ["elasticache"], "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"], "identitystore": ["identitystore"], "inspector2": ["inspector2"], "kinesis": ["kinesis"], "kinesisanalytics": ["kinesisanalytics", "kinesisanalyticsv2"], "kms": ["kms"], "lambda": ["lambda", "lambda-core", "lambda-microvms", "lambda-web"], "logs": ["logs"], "macie2": ["macie2"], "memorydb": ["memorydb"], "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", "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", "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", "iot": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "kafka": "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", "lightsail": "not read yet: a later batch, with the tests that show its ARNs are the ones its handlers mint", "mq": "REST: its requests name their resources in the path, which RequestResources reads from the route a request matched in the vendored REST routes (regen_restLine 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", "finops-agent", "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"]},
|
||||
@@ -3116,8 +3116,8 @@
|
||||
"elasticache:CreateCacheParameterGroup": {"action": "elasticache:CreateCacheParameterGroup", "types": ["parametergroup"], "resources": [{"type": "parametergroup", "fill": {"CacheParameterGroupName": "CacheParameterGroupName"}}]},
|
||||
"elasticache:CreateCacheSecurityGroup": {"action": "elasticache:CreateCacheSecurityGroup", "types": ["securitygroup"], "resources": [{"type": "securitygroup", "fill": {"CacheSecurityGroupName": "CacheSecurityGroupName"}}]},
|
||||
"elasticache:CreateCacheSubnetGroup": {"action": "elasticache:CreateCacheSubnetGroup", "types": ["subnetgroup"], "resources": [{"type": "subnetgroup", "fill": {"CacheSubnetGroupName": "CacheSubnetGroupName"}}]},
|
||||
"elasticache:CreateGlobalReplicationGroup": {"action": "elasticache:CreateGlobalReplicationGroup", "types": ["globalreplicationgroup", "replicationgroup"], "resources": [{"type": "globalreplicationgroup", "fill": {}}, {"type": "replicationgroup", "fill": {"ReplicationGroupId": "PrimaryReplicationGroupId"}}]},
|
||||
"elasticache:CreateReplicationGroup": {"action": "elasticache:CreateReplicationGroup", "types": ["cluster", "globalreplicationgroup", "parametergroup", "replicationgroup", "securitygroup", "snapshot", "subnetgroup", "usergroup"], "resources": [{"types": ["cluster", "globalreplicationgroup", "parametergroup", "replicationgroup", "securitygroup", "snapshot", "subnetgroup", "usergroup"], "arn": "NodeGroupConfiguration[].PrimaryOutpostArn"}, {"types": ["cluster", "globalreplicationgroup", "parametergroup", "replicationgroup", "securitygroup", "snapshot", "subnetgroup", "usergroup"], "arn": "NodeGroupConfiguration[].ReplicaOutpostArns[]"}, {"types": ["cluster", "globalreplicationgroup", "parametergroup", "replicationgroup", "securitygroup", "snapshot", "subnetgroup", "usergroup"], "arn": "NotificationTopicArn"}, {"types": ["cluster", "globalreplicationgroup", "parametergroup", "replicationgroup", "securitygroup", "snapshot", "subnetgroup", "usergroup"], "arn": "SnapshotArns[]"}, {"type": "cluster", "fill": {"CacheClusterId": "PrimaryClusterId"}}, {"type": "globalreplicationgroup", "fill": {"GlobalReplicationGroupId": "GlobalReplicationGroupId"}, "made": true}, {"type": "parametergroup", "fill": {"CacheParameterGroupName": "CacheParameterGroupName"}}, {"type": "replicationgroup", "fill": {"ReplicationGroupId": "ReplicationGroupId"}, "made": true}, {"type": "securitygroup", "fill": {"CacheSecurityGroupName": "CacheSecurityGroupNames[]"}}, {"type": "snapshot", "fill": {"SnapshotName": "SnapshotName"}}, {"type": "subnetgroup", "fill": {"CacheSubnetGroupName": "CacheSubnetGroupName"}}, {"type": "usergroup", "fill": {"UserGroupId": "UserGroupIds[]"}}]},
|
||||
"elasticache:CreateGlobalReplicationGroup": {"action": "elasticache:CreateGlobalReplicationGroup", "types": ["globalreplicationgroup", "replicationgroup"], "resources": [{"type": "globalreplicationgroup", "fill": {}, "made": true}, {"type": "replicationgroup", "fill": {"ReplicationGroupId": "PrimaryReplicationGroupId"}}]},
|
||||
"elasticache:CreateReplicationGroup": {"action": "elasticache:CreateReplicationGroup", "types": ["cluster", "globalreplicationgroup", "parametergroup", "replicationgroup", "securitygroup", "snapshot", "subnetgroup", "usergroup"], "resources": [{"types": ["cluster", "globalreplicationgroup", "parametergroup", "replicationgroup", "securitygroup", "snapshot", "subnetgroup", "usergroup"], "arn": "NodeGroupConfiguration[].PrimaryOutpostArn"}, {"types": ["cluster", "globalreplicationgroup", "parametergroup", "replicationgroup", "securitygroup", "snapshot", "subnetgroup", "usergroup"], "arn": "NodeGroupConfiguration[].ReplicaOutpostArns[]"}, {"types": ["cluster", "globalreplicationgroup", "parametergroup", "replicationgroup", "securitygroup", "snapshot", "subnetgroup", "usergroup"], "arn": "NotificationTopicArn"}, {"types": ["cluster", "globalreplicationgroup", "parametergroup", "replicationgroup", "securitygroup", "snapshot", "subnetgroup", "usergroup"], "arn": "SnapshotArns[]"}, {"type": "cluster", "fill": {"CacheClusterId": "PrimaryClusterId"}}, {"type": "globalreplicationgroup", "fill": {"GlobalReplicationGroupId": "GlobalReplicationGroupId"}}, {"type": "parametergroup", "fill": {"CacheParameterGroupName": "CacheParameterGroupName"}}, {"type": "replicationgroup", "fill": {"ReplicationGroupId": "ReplicationGroupId"}, "made": true}, {"type": "securitygroup", "fill": {"CacheSecurityGroupName": "CacheSecurityGroupNames[]"}}, {"type": "snapshot", "fill": {"SnapshotName": "SnapshotName"}}, {"type": "subnetgroup", "fill": {"CacheSubnetGroupName": "CacheSubnetGroupName"}}, {"type": "usergroup", "fill": {"UserGroupId": "UserGroupIds[]"}}]},
|
||||
"elasticache:CreateServerlessCache": {"action": "elasticache:CreateServerlessCache", "types": ["serverlesscache", "serverlesscachesnapshot", "snapshot", "usergroup"], "resources": [{"type": "serverlesscache", "fill": {"ServerlessCacheName": "ServerlessCacheName"}, "made": true}, {"type": "usergroup", "fill": {"UserGroupId": "UserGroupId"}}]},
|
||||
"elasticache:CreateServerlessCacheSnapshot": {"action": "elasticache:CreateServerlessCacheSnapshot", "types": ["serverlesscache", "serverlesscachesnapshot"], "resources": [{"type": "serverlesscache", "fill": {"ServerlessCacheName": "ServerlessCacheName"}}, {"type": "serverlesscachesnapshot", "fill": {"ServerlessCacheSnapshotName": "ServerlessCacheSnapshotName"}, "made": true}]},
|
||||
"elasticache:CreateSnapshot": {"action": "elasticache:CreateSnapshot", "types": ["cluster", "replicationgroup", "snapshot"], "resources": [{"type": "cluster", "fill": {"CacheClusterId": "CacheClusterId"}}, {"type": "replicationgroup", "fill": {"ReplicationGroupId": "ReplicationGroupId"}}, {"type": "snapshot", "fill": {"SnapshotName": "SnapshotName"}, "made": true}]},
|
||||
@@ -4868,6 +4868,51 @@
|
||||
"macie2:UpdateResourceProfileDetections": {"action": "macie2:UpdateResourceProfileDetections", "types": [], "resources": []},
|
||||
"macie2:UpdateRevealConfiguration": {"action": "macie2:UpdateRevealConfiguration", "types": [], "resources": []},
|
||||
"macie2:UpdateSensitivityInspectionTemplate": {"action": "macie2:UpdateSensitivityInspectionTemplate", "types": [], "resources": []},
|
||||
"memorydb:BatchUpdateCluster": {"action": "memorydb:BatchUpdateCluster", "types": ["cluster"], "resources": [{"type": "cluster", "fill": {"ClusterName": "ClusterNames[]"}}]},
|
||||
"memorydb:CopySnapshot": {"action": "memorydb:CopySnapshot", "types": ["snapshot"], "resources": [{"type": "snapshot", "fill": {"SnapshotName": "SourceSnapshotName"}}]},
|
||||
"memorydb:CreateACL": {"action": "memorydb:CreateAcl", "types": ["user"], "resources": [{"type": "user", "fill": {"UserName": "UserNames[]"}}], "makes": [{"type": "acl", "fill": {"AclName": "ACLName"}}]},
|
||||
"memorydb:CreateCluster": {"action": "memorydb:CreateCluster", "types": ["acl", "multiregioncluster", "parametergroup", "snapshot", "subnetgroup"], "resources": [{"types": ["acl", "multiregioncluster", "parametergroup", "snapshot", "subnetgroup"], "arn": "SnapshotArns[]"}, {"types": ["acl", "multiregioncluster", "parametergroup", "snapshot", "subnetgroup"], "arn": "SnsTopicArn"}, {"type": "acl", "fill": {"AclName": "ACLName"}}, {"type": "multiregioncluster", "fill": {"ClusterName": "MultiRegionClusterName"}}, {"type": "parametergroup", "fill": {"ParameterGroupName": "ParameterGroupName"}}, {"type": "snapshot", "fill": {"SnapshotName": "SnapshotName"}}, {"type": "subnetgroup", "fill": {"SubnetGroupName": "SubnetGroupName"}}], "makes": [{"type": "cluster", "fill": {"ClusterName": "ClusterName"}}]},
|
||||
"memorydb:CreateMultiRegionCluster": {"action": "memorydb:CreateMultiRegionCluster", "types": ["multiregionparametergroup"], "resources": [{"type": "multiregionparametergroup", "fill": {"MultiRegionParameterGroupName": "MultiRegionParameterGroupName"}}]},
|
||||
"memorydb:CreateParameterGroup": {"action": "memorydb:CreateParameterGroup", "types": [], "resources": [], "makes": [{"type": "parametergroup", "fill": {"ParameterGroupName": "ParameterGroupName"}}]},
|
||||
"memorydb:CreateSnapshot": {"action": "memorydb:CreateSnapshot", "types": ["cluster"], "resources": [{"type": "cluster", "fill": {"ClusterName": "ClusterName"}}], "makes": [{"type": "snapshot", "fill": {"SnapshotName": "SnapshotName"}}]},
|
||||
"memorydb:CreateSubnetGroup": {"action": "memorydb:CreateSubnetGroup", "types": [], "resources": [], "makes": [{"type": "subnetgroup", "fill": {"SubnetGroupName": "SubnetGroupName"}}]},
|
||||
"memorydb:CreateUser": {"action": "memorydb:CreateUser", "types": [], "resources": [], "makes": [{"type": "user", "fill": {"UserName": "UserName"}}]},
|
||||
"memorydb:DeleteACL": {"action": "memorydb:DeleteAcl", "types": ["acl"], "resources": [{"type": "acl", "fill": {"AclName": "ACLName"}}]},
|
||||
"memorydb:DeleteCluster": {"action": "memorydb:DeleteCluster", "types": ["cluster", "multiregioncluster", "snapshot"], "resources": [{"type": "snapshot", "fill": {"SnapshotName": "FinalSnapshotName"}}, {"type": "multiregioncluster", "fill": {"ClusterName": "MultiRegionClusterName"}}, {"type": "cluster", "fill": {"ClusterName": "ClusterName"}}]},
|
||||
"memorydb:DeleteMultiRegionCluster": {"action": "memorydb:DeleteMultiRegionCluster", "types": ["multiregioncluster"], "resources": [{"type": "multiregioncluster", "fill": {"ClusterName": "MultiRegionClusterName"}}]},
|
||||
"memorydb:DeleteParameterGroup": {"action": "memorydb:DeleteParameterGroup", "types": ["parametergroup"], "resources": [{"type": "parametergroup", "fill": {"ParameterGroupName": "ParameterGroupName"}}]},
|
||||
"memorydb:DeleteSnapshot": {"action": "memorydb:DeleteSnapshot", "types": ["snapshot"], "resources": [{"type": "snapshot", "fill": {"SnapshotName": "SnapshotName"}}]},
|
||||
"memorydb:DeleteSubnetGroup": {"action": "memorydb:DeleteSubnetGroup", "types": ["subnetgroup"], "resources": [{"type": "subnetgroup", "fill": {"SubnetGroupName": "SubnetGroupName"}}]},
|
||||
"memorydb:DeleteUser": {"action": "memorydb:DeleteUser", "types": ["user"], "resources": [{"type": "user", "fill": {"UserName": "UserName"}}]},
|
||||
"memorydb:DescribeACLs": {"action": "memorydb:DescribeAcls", "types": ["acl"], "resources": [{"type": "acl", "fill": {"AclName": "ACLName"}}]},
|
||||
"memorydb:DescribeClusters": {"action": "memorydb:DescribeClusters", "types": ["cluster"], "resources": [{"type": "cluster", "fill": {"ClusterName": "ClusterName"}}]},
|
||||
"memorydb:DescribeEngineVersions": {"action": "memorydb:DescribeEngineVersions", "types": [], "resources": []},
|
||||
"memorydb:DescribeEvents": {"action": "memorydb:DescribeEvents", "types": [], "resources": []},
|
||||
"memorydb:DescribeMultiRegionClusters": {"action": "memorydb:DescribeMultiRegionClusters", "types": ["multiregioncluster"], "resources": [{"type": "multiregioncluster", "fill": {"ClusterName": "MultiRegionClusterName"}}]},
|
||||
"memorydb:DescribeMultiRegionParameterGroups": {"action": "memorydb:DescribeMultiRegionParameterGroups", "types": ["multiregionparametergroup"], "resources": [{"type": "multiregionparametergroup", "fill": {"MultiRegionParameterGroupName": "MultiRegionParameterGroupName"}}]},
|
||||
"memorydb:DescribeMultiRegionParameters": {"action": "memorydb:DescribeMultiRegionParameters", "types": ["multiregionparametergroup"], "resources": [{"type": "multiregionparametergroup", "fill": {"MultiRegionParameterGroupName": "MultiRegionParameterGroupName"}}]},
|
||||
"memorydb:DescribeParameterGroups": {"action": "memorydb:DescribeParameterGroups", "types": ["parametergroup"], "resources": [{"type": "parametergroup", "fill": {"ParameterGroupName": "ParameterGroupName"}}]},
|
||||
"memorydb:DescribeParameters": {"action": "memorydb:DescribeParameters", "types": ["parametergroup"], "resources": [{"type": "parametergroup", "fill": {"ParameterGroupName": "ParameterGroupName"}}]},
|
||||
"memorydb:DescribeReservedNodes": {"action": "memorydb:DescribeReservedNodes", "types": ["reservednode"], "resources": [{"type": "reservednode", "fill": {"ReservationID": "ReservationId"}}]},
|
||||
"memorydb:DescribeReservedNodesOfferings": {"action": "memorydb:DescribeReservedNodesOfferings", "types": [], "resources": []},
|
||||
"memorydb:DescribeServiceUpdates": {"action": "memorydb:DescribeServiceUpdates", "types": [], "resources": []},
|
||||
"memorydb:DescribeSnapshots": {"action": "memorydb:DescribeSnapshots", "types": ["snapshot"], "resources": [{"type": "snapshot", "fill": {"SnapshotName": "SnapshotName"}}]},
|
||||
"memorydb:DescribeSubnetGroups": {"action": "memorydb:DescribeSubnetGroups", "types": ["subnetgroup"], "resources": [{"type": "subnetgroup", "fill": {"SubnetGroupName": "SubnetGroupName"}}]},
|
||||
"memorydb:DescribeUsers": {"action": "memorydb:DescribeUsers", "types": ["user"], "resources": [{"type": "user", "fill": {"UserName": "UserName"}}]},
|
||||
"memorydb:FailoverShard": {"action": "memorydb:FailoverShard", "types": ["cluster"], "resources": [{"type": "cluster", "fill": {"ClusterName": "ClusterName"}}]},
|
||||
"memorydb:ListAllowedMultiRegionClusterUpdates": {"action": "memorydb:ListAllowedMultiRegionClusterUpdates", "types": ["multiregioncluster"], "resources": [{"type": "multiregioncluster", "fill": {"ClusterName": "MultiRegionClusterName"}}]},
|
||||
"memorydb:ListAllowedNodeTypeUpdates": {"action": "memorydb:ListAllowedNodeTypeUpdates", "types": ["cluster"], "resources": [{"type": "cluster", "fill": {"ClusterName": "ClusterName"}}]},
|
||||
"memorydb:ListTags": {"action": "memorydb:ListTags", "types": ["acl", "cluster", "multiregioncluster", "parametergroup", "snapshot", "subnetgroup", "user"], "resources": [{"types": ["acl", "cluster", "multiregioncluster", "parametergroup", "snapshot", "subnetgroup", "user"], "arn": "ResourceArn"}]},
|
||||
"memorydb:PurchaseReservedNodesOffering": {"action": "memorydb:PurchaseReservedNodesOffering", "types": ["reservednode"], "resources": [{"type": "reservednode", "fill": {"ReservationID": "ReservationId"}}]},
|
||||
"memorydb:ResetParameterGroup": {"action": "memorydb:ResetParameterGroup", "types": ["parametergroup"], "resources": [{"type": "parametergroup", "fill": {"ParameterGroupName": "ParameterGroupName"}}]},
|
||||
"memorydb:TagResource": {"action": "memorydb:TagResource", "types": ["acl", "cluster", "multiregioncluster", "parametergroup", "reservednode", "snapshot", "subnetgroup", "user"], "resources": [{"types": ["acl", "cluster", "multiregioncluster", "parametergroup", "reservednode", "snapshot", "subnetgroup", "user"], "arn": "ResourceArn"}]},
|
||||
"memorydb:UntagResource": {"action": "memorydb:UntagResource", "types": ["acl", "cluster", "multiregioncluster", "parametergroup", "snapshot", "subnetgroup", "user"], "resources": [{"types": ["acl", "cluster", "multiregioncluster", "parametergroup", "snapshot", "subnetgroup", "user"], "arn": "ResourceArn"}]},
|
||||
"memorydb:UpdateACL": {"action": "memorydb:UpdateAcl", "types": ["acl", "user"], "resources": [{"type": "acl", "fill": {"AclName": "ACLName"}}, {"type": "user", "fill": {"UserName": "UserNamesToAdd[]"}}, {"type": "user", "fill": {"UserName": "UserNamesToRemove[]"}}]},
|
||||
"memorydb:UpdateCluster": {"action": "memorydb:UpdateCluster", "types": ["acl", "cluster", "parametergroup"], "resources": [{"types": ["acl", "cluster", "parametergroup"], "arn": "SnsTopicArn"}, {"type": "acl", "fill": {"AclName": "ACLName"}}, {"type": "cluster", "fill": {"ClusterName": "ClusterName"}}, {"type": "parametergroup", "fill": {"ParameterGroupName": "ParameterGroupName"}}]},
|
||||
"memorydb:UpdateMultiRegionCluster": {"action": "memorydb:UpdateMultiRegionCluster", "types": ["multiregioncluster", "multiregionparametergroup"], "resources": [{"type": "multiregioncluster", "fill": {"ClusterName": "MultiRegionClusterName"}}, {"type": "multiregionparametergroup", "fill": {"MultiRegionParameterGroupName": "MultiRegionParameterGroupName"}}]},
|
||||
"memorydb:UpdateParameterGroup": {"action": "memorydb:UpdateParameterGroup", "types": ["parametergroup"], "resources": [{"type": "parametergroup", "fill": {"ParameterGroupName": "ParameterGroupName"}}]},
|
||||
"memorydb:UpdateSubnetGroup": {"action": "memorydb:UpdateSubnetGroup", "types": ["subnetgroup"], "resources": [{"type": "subnetgroup", "fill": {"SubnetGroupName": "SubnetGroupName"}}]},
|
||||
"memorydb:UpdateUser": {"action": "memorydb:UpdateUser", "types": ["user"], "resources": [{"type": "user", "fill": {"UserName": "UserName"}}]},
|
||||
"oam:CreateLink": {"action": "oam:CreateLink", "types": ["Link", "Sink"], "resources": [{"types": ["Link", "Sink"], "arn": "SinkIdentifier"}, {"type": "Link", "fill": {}, "made": true}, {"type": "Sink", "fill": {"ResourceId": "SinkIdentifier"}}]},
|
||||
"oam:CreateSink": {"action": "oam:CreateSink", "types": [], "resources": [], "makes": [{"type": "Sink", "fill": {}}]},
|
||||
"oam:DeleteLink": {"action": "oam:DeleteLink", "types": ["Link"], "resources": [{"types": ["Link"], "arn": "Identifier"}, {"type": "Link", "fill": {"ResourceId": "Identifier"}}]},
|
||||
|
||||
@@ -439,6 +439,18 @@ class RequestResourcesTest {
|
||||
created("servicediscovery:CreateHttpNamespace", namespace));
|
||||
}
|
||||
|
||||
/**
|
||||
* A create whose action acts on other types tags the resource it makes when its request names it: MemoryDB's
|
||||
* {@code CreateCluster} tags its new cluster, not the multi-Region cluster it may join.
|
||||
*/
|
||||
@Test
|
||||
void aCreateActingOnOtherTypesTagsTheResourceItMakes() {
|
||||
ContainerRequestContext cluster = json("{\"ClusterName\":\"cache\",\"MultiRegionClusterName\":\"global\","
|
||||
+ "\"ACLName\":\"open-access\",\"Tags\":[{\"Key\":\"team\",\"Value\":\"a\"}]}");
|
||||
assertEquals(List.of("arn:aws:memorydb:us-east-1:000000000000:cluster/cache"),
|
||||
created("memorydb:CreateCluster", cluster));
|
||||
}
|
||||
|
||||
/** A namespace's stored ARNs that find nothing, and act on the resource {@code arn} names in its own account. */
|
||||
private static StoredResourceArns reaching(String namespace, String arn) {
|
||||
return new StoredResourceArns() {
|
||||
|
||||
+19
@@ -3607,6 +3607,25 @@ class IamRequestResourceEnforcementIntegrationTest {
|
||||
return userId;
|
||||
}
|
||||
|
||||
/**
|
||||
* A MemoryDB ACL is checked on the ARN its name gives, {@code acl/<name>}, the one MemoryDB mints, so a grant on one
|
||||
* lets the caller describe it and not another.
|
||||
*/
|
||||
@Test
|
||||
void aMemoryDbAclIsCheckedOnTheArnItsNameGives() {
|
||||
String acl = "res-acl-" + suffix();
|
||||
adminJson("memorydb", "AmazonMemoryDB.CreateACL")
|
||||
.body("{\"ACLName\":\"" + acl + "\",\"UserNames\":[\"default\"]}").post("/").then().statusCode(200);
|
||||
cleanup.register(() -> adminJson("memorydb", "AmazonMemoryDB.DeleteACL")
|
||||
.body("{\"ACLName\":\"" + acl + "\"}").post("/"));
|
||||
User user = user("res-memorydb");
|
||||
user.policy(allowOn("memorydb:DescribeAcls", "arn:aws:memorydb:" + REGION + ":" + ACCOUNT + ":acl/" + acl));
|
||||
send(user, "memorydb", "AmazonMemoryDB.DescribeACLs", "1.1", "{\"ACLName\":\"" + acl + "\"}")
|
||||
.statusCode(200);
|
||||
refusedJson(send(user, "memorydb", "AmazonMemoryDB.DescribeACLs", "1.1",
|
||||
"{\"ACLName\":\"" + acl + "-other\"}"), "memorydb:DescribeAcls");
|
||||
}
|
||||
|
||||
private static ValidatableResponse glue(String operation, String body) {
|
||||
return adminJson("glue", "AWSGlue." + operation).body(body).post("/").then();
|
||||
}
|
||||
|
||||
@@ -2043,6 +2043,29 @@ class ResourceArnBuilderTest {
|
||||
"AlternateIdentifier.UniqueAttribute.AttributeValue")), asked);
|
||||
}
|
||||
|
||||
// ── MemoryDB ────────────────────────────────────────────────────────────────
|
||||
|
||||
/**
|
||||
* A MemoryDB request is checked on the cluster, ACL or user its name names, as {@code <type>/<name>}, the ARN
|
||||
* MemoryDB mints. The Service Reference lists no {@code cluster} for CreateCluster but the multi-Region cluster it
|
||||
* may join, named by its MultiRegionClusterName, not by the new cluster's ClusterName, though both formats call
|
||||
* their variable {@code ${ClusterName}}; DeleteCluster is checked on the cluster its ClusterName names.
|
||||
*/
|
||||
@Test
|
||||
void memoryDbChecksTheResourceItsNameNamesAsTheGeneratedTableReadsIt() {
|
||||
setJsonBody("{\"ClusterName\":\"cache\"}");
|
||||
assertEquals(List.of("arn:aws:memorydb:us-east-1:000000000000:cluster/cache"),
|
||||
builder.buildResources("memorydb", "memorydb:DescribeClusters", ctx, "us-east-1", ACCOUNT, "aws"));
|
||||
setJsonBody("{\"ClusterName\":\"cache\",\"NodeType\":\"db.t4g.small\",\"ACLName\":\"open-access\","
|
||||
+ "\"MultiRegionClusterName\":\"global\"}");
|
||||
assertEquals(List.of("arn:aws:memorydb:us-east-1:000000000000:acl/open-access",
|
||||
"arn:aws:memorydb::000000000000:multiregioncluster/global"),
|
||||
builder.buildResources("memorydb", "memorydb:CreateCluster", ctx, "us-east-1", ACCOUNT, "aws"));
|
||||
setJsonBody("{\"ClusterName\":\"cache\"}");
|
||||
assertEquals(List.of("arn:aws:memorydb:us-east-1:000000000000:cluster/cache"),
|
||||
builder.buildResources("memorydb", "memorydb:DeleteCluster", ctx, "us-east-1", 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. */
|
||||
|
||||
@@ -362,7 +362,7 @@ NAMESPACES = ("access-analyzer", "account", "acm", "application-autoscaling", "a
|
||||
"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", "cloudwatch",
|
||||
"comprehend", "config", "dms", "elasticache", "identitystore",
|
||||
"comprehend", "config", "dms", "elasticache", "identitystore", "memorydb",
|
||||
"ec2-instance-connect", "s3", "bedrock", "apigateway", "kms", "dynamodb", "iam")
|
||||
|
||||
# ---------------------------------------------------------------------------------------------------------------------
|
||||
@@ -629,7 +629,6 @@ NOT_COVERED: dict[str, str] = {
|
||||
"iot": _LATER,
|
||||
"kafka": _REST,
|
||||
"lightsail": _LATER,
|
||||
"memorydb": _LATER,
|
||||
"mq": _REST,
|
||||
"network-firewall": _LATER,
|
||||
"organizations": _LATER,
|
||||
@@ -2112,6 +2111,44 @@ def with_lookup_find(resources: list[dict], types: list[str], formats: dict[str,
|
||||
return resources + added
|
||||
|
||||
|
||||
def with_type_named_members(resources: list[dict], types: list[str], formats: dict[str, str],
|
||||
members: dict[str, str]) -> list[dict]:
|
||||
"""The resources, a type of one variable of its own read from the one top-level member of the request named after
|
||||
the type and ending in the variable's name (MemoryDB's `MultiRegionClusterName`, of its `multiregioncluster`,
|
||||
`multiregioncluster/${ClusterName}`): read from it where no resource names the type yet (DeleteCluster's
|
||||
`ClusterName`, of its `cluster`), and instead of a member named after something else where one fills it
|
||||
(CreateCluster's `ClusterName`, the new regional cluster, which the multi-Region cluster's `${ClusterName}` would
|
||||
otherwise take). Where another type the action acts on has a variable of that name, the member names this type only
|
||||
when that one has a member named after it too: SSM's `InstanceId` may name an `instance` or a `managed-instance`,
|
||||
and names neither alone."""
|
||||
named_kinds = {kind for resource in resources for kind in _kinds(resource)}
|
||||
found = [dict(resource) for resource in resources]
|
||||
|
||||
def own_members(kind: str, variable: str) -> list[str]:
|
||||
return [member for member, path in members.items() if path == member and stem(member) == stem(kind)
|
||||
and member.endswith(variable)]
|
||||
|
||||
for kind in types:
|
||||
variables = [v for v in VARIABLE_RE.findall(formats.get(kind, "")) if v not in KNOWN_VARIABLES]
|
||||
if len(variables) != 1:
|
||||
continue
|
||||
variable = variables[0]
|
||||
own = own_members(kind, variable)
|
||||
sharing = [other for other in types if other != kind
|
||||
and variable in VARIABLE_RE.findall(formats.get(other, ""))]
|
||||
if len(own) != 1 or any(len(own_members(other, variable)) != 1 for other in sharing):
|
||||
continue
|
||||
if kind not in named_kinds:
|
||||
found.append({"type": kind, "fill": {variable: own[0]}})
|
||||
continue
|
||||
for resource in found:
|
||||
fill = resource.get("fill")
|
||||
if resource.get("type") == kind and fill and list(fill) == [variable] and fill[variable] != own[0] \
|
||||
and "." not in fill[variable] and stem(fill[variable].removesuffix("[]")) != stem(kind):
|
||||
resource["fill"] = {variable: own[0]}
|
||||
return found
|
||||
|
||||
|
||||
def structure_name_fields(models: dict[str, dict], operation: str, types: list[str]) -> dict[str, str]:
|
||||
"""By type, the `name` field of the operation's request's top-level structure member named after the type
|
||||
(PutConfigurationRecorder's `ConfigurationRecorder.name`), the name the structure gives the resource; a type with
|
||||
@@ -2311,14 +2348,20 @@ def with_made(resources: list[dict], operation: str, formats: dict[str, str]) ->
|
||||
with an ARN format's leading resource word, related to the operation's name past its verb, or with its sole
|
||||
resource variable named after that operation's subject (`db:${DbInstanceName}`). A member that may hold
|
||||
an ARN of several types is made only when every one of them is: one that may name the parent too (a subscriber's
|
||||
`EventBusArn`) names a resource the create does not make."""
|
||||
`EventBusArn`) names a resource the create does not make. Where the namespace has a type named as the operation is
|
||||
past its verb, that type, and any type whose format's leading resource word is that name, is what it makes:
|
||||
MemoryDB's CreateCluster makes a `cluster`, not the `multiregioncluster` it may join, whose name merely ends in the
|
||||
same word."""
|
||||
name = operation.split(":", 1)[1]
|
||||
if not CREATING_RE.match(name):
|
||||
return resources
|
||||
created = stem(CREATING_RE.sub("", name))
|
||||
exact = {kind for kind in formats if stem(kind) == created}
|
||||
|
||||
def is_created(kind: str) -> bool:
|
||||
word = RESOURCE_PART_RE.match(formats.get(kind, ""))
|
||||
if exact:
|
||||
return kind in exact or (word is not None and stem(word.group(1)) == created)
|
||||
variables = [variable for variable in VARIABLE_RE.findall(formats.get(kind, ""))
|
||||
if variable not in KNOWN_VARIABLES]
|
||||
return (related(created, stem(kind)) or (word is not None and related(created, stem(word.group(1))))
|
||||
@@ -2439,7 +2482,14 @@ def made_by_a_create_of_other_types(operation: str, types: list[str], formats: d
|
||||
(a top-level member named `Tags`, `TagList` or the like) and names every variable of it, as the rules name a type
|
||||
an action acts on and from the fields of a top-level structure its documentation reads; none otherwise."""
|
||||
name = operation.split(":", 1)[1]
|
||||
if kind in types or any(related(stem(CREATING_RE.sub("", name)), stem(other)) for other in types) or not models:
|
||||
created = stem(CREATING_RE.sub("", name))
|
||||
# A type related to the create's name is the one it makes, unless the request names it by a member of its own,
|
||||
# as a resource the create joins: MemoryDB's CreateCluster names the multi-Region cluster it may join by its
|
||||
# `MultiRegionClusterName` and makes a `cluster`; RAM's CreatePermission names no customer managed permission and
|
||||
# makes that one.
|
||||
joined = {other for other in types if stem(kind) == created and stem(other) != created
|
||||
and any(path == member and stem(member) == stem(other) for member, path in members.items())}
|
||||
if kind in types or any(related(created, stem(other)) for other in types if other not in joined) or not models:
|
||||
return []
|
||||
shapes = member_shapes(models, name)
|
||||
if not any(stem(member) == "tag" for member in shapes):
|
||||
@@ -3745,6 +3795,7 @@ def read_resources(operation: str, types: list[str], formats: dict[str, str], mo
|
||||
resources = with_structure_account(resources, formats, structure_account_members(models, name, types))
|
||||
resources = with_structure_names(resources, formats, structure_name_fields(models, name, types))
|
||||
resources = with_change_lists(resources, types, formats, members)
|
||||
resources = with_type_named_members(resources, types, formats, members)
|
||||
resources = with_arn_of(resources, formats, name_or_arn_members(models, name),
|
||||
documented_name_or_arn_members(models, name))
|
||||
resources = with_default_pairs(resources, formats, optional)
|
||||
|
||||
@@ -143,6 +143,25 @@ def test_a_create_whose_action_acts_on_no_type_makes_the_one_named_as_it_is():
|
||||
assert r.makes_for("svc:CreatePool", [], VIEWS, {}) == []
|
||||
|
||||
|
||||
def test_a_create_joining_a_related_type_by_a_member_of_its_own_makes_the_type_named_as_it_is(tmp_path):
|
||||
# MemoryDB's CreateCluster names the multi-Region cluster it may join and makes a cluster, whose tags it carries.
|
||||
write_models(tmp_path, {"svc": model({
|
||||
"CreateCluster": {"ClusterName": "String", "MultiRegionClusterName": "String", "Tags": "Strings"},
|
||||
"CreatePermission": {"name": "String", "Tags": "Strings"}})})
|
||||
models = r.load_models(tmp_path, {"svc"})
|
||||
clusters = {"cluster": "arn:${Partition}:svc:${Region}:${Account}:cluster/${ClusterName}",
|
||||
"multiregioncluster": "arn:${Partition}:svc::${Account}:multiregioncluster/${ClusterName}"}
|
||||
assert r.makes_for("svc:CreateCluster", ["multiregioncluster"], clusters,
|
||||
members("ClusterName", "MultiRegionClusterName"), models=models) == [
|
||||
{"type": "cluster", "fill": {"ClusterName": "ClusterName"}}]
|
||||
# RAM's CreatePermission names no customer managed permission: that is the one it makes, not the AWS managed one.
|
||||
permissions = {"permission": "arn:${Partition}:svc::${Account}:permission/${ResourcePath}",
|
||||
"customer-managed-permission":
|
||||
"arn:${Partition}:svc:${Region}:${Account}:permission/${ResourcePath}"}
|
||||
assert r.makes_for("svc:CreatePermission", ["customer-managed-permission"], permissions, members("name"),
|
||||
models=models) == []
|
||||
|
||||
|
||||
def test_a_built_document_with_what_a_create_makes_a_default_and_a_maps_ids_validates(isolated, tmp_path):
|
||||
service = model({"CreateThing": {"ThingName": "String"}, "ListThings": {"ThingArn": "String"}, "ApplySteps": {}})
|
||||
service["shapes"]["Step"] = {"type": "structure", "members": {"poolId": {"shape": "String"},
|
||||
@@ -268,6 +287,13 @@ def test_a_create_naming_others_marks_what_it_makes():
|
||||
# A member that may hold the ARN of the parent too names no resource the create makes.
|
||||
parent = {"types": ["pipeline", "webhook"], "arn": "PipelineArn"}
|
||||
assert r.with_made([parent, webhook], "svc:PutWebhook", formats) == [parent, dict(webhook, made=True)]
|
||||
# Where a type is named as the create is, a type whose name merely ends in that word is one it joins, not makes:
|
||||
# ElastiCache's CreateReplicationGroup makes a replication group, not the global one it may join.
|
||||
groups = {"replicationgroup": "arn:${Partition}:svc:${Region}:${Account}:replicationgroup:${ReplicationGroupId}",
|
||||
"globalreplicationgroup": "arn:${Partition}:svc::${Account}:globalreplicationgroup:${GlobalId}"}
|
||||
made = {"type": "replicationgroup", "fill": {"ReplicationGroupId": "ReplicationGroupId"}}
|
||||
joined = {"type": "globalreplicationgroup", "fill": {"GlobalId": "GlobalReplicationGroupId"}}
|
||||
assert r.with_made([made, joined], "svc:CreateReplicationGroup", groups) == [dict(made, made=True), joined]
|
||||
|
||||
|
||||
def test_a_type_made_in_another_takes_that_ones_id_from_the_arn_member_named_after_it():
|
||||
@@ -669,6 +695,31 @@ def test_the_vendored_reference_gives_the_types_an_action_requires():
|
||||
r.required_types("identitystore:DeleteGroupMembership", ["Group", "GroupMembership", "Identitystore"])
|
||||
|
||||
|
||||
def test_a_member_named_after_a_type_and_its_variable_fills_that_type():
|
||||
# MemoryDB's cluster and multi-Region cluster both name their variable ClusterName.
|
||||
formats = {"cluster": "arn:${Partition}:svc:${Region}:${Account}:cluster/${ClusterName}",
|
||||
"multiregioncluster": "arn:${Partition}:svc::${Account}:multiregioncluster/${ClusterName}",
|
||||
"snapshot": "arn:${Partition}:svc:${Region}:${Account}:snapshot/${SnapshotName}"}
|
||||
members = {"ClusterName": "ClusterName", "MultiRegionClusterName": "MultiRegionClusterName",
|
||||
"FinalSnapshotName": "FinalSnapshotName"}
|
||||
# DeleteCluster: nothing read its cluster, which ClusterName names.
|
||||
read = [{"type": "multiregioncluster", "fill": {"ClusterName": "MultiRegionClusterName"}}]
|
||||
assert r.with_type_named_members(read, ["cluster", "multiregioncluster", "snapshot"], formats, members) == read + [
|
||||
{"type": "cluster", "fill": {"ClusterName": "ClusterName"}}]
|
||||
# CreateCluster: the multi-Region cluster took the new regional cluster's ClusterName.
|
||||
created = [{"type": "multiregioncluster", "fill": {"ClusterName": "ClusterName"}, "made": True}]
|
||||
assert r.with_type_named_members(created, ["multiregioncluster"], formats, members) == [
|
||||
{"type": "multiregioncluster", "fill": {"ClusterName": "MultiRegionClusterName"}, "made": True}]
|
||||
# A member that does not end in the variable's name names nothing: RDS's DBName is a database, not
|
||||
# `${DbInstanceName}`.
|
||||
db = {"db": "arn:${Partition}:svc:${Region}:${Account}:db:${DbInstanceName}"}
|
||||
assert r.with_type_named_members([], ["db"], db, {"DBName": "DBName"}) == []
|
||||
# A member two types may take names neither alone: SSM's InstanceId, an instance or a managed instance.
|
||||
shared = {"instance": "arn:${Partition}:ec2:${Region}:${Account}:instance/${InstanceId}",
|
||||
"managed-instance": "arn:${Partition}:svc:${Region}:${Account}:managed-instance/${InstanceId}"}
|
||||
assert r.with_type_named_members([], ["instance", "managed-instance"], shared, {"InstanceId": "InstanceId"}) == []
|
||||
|
||||
|
||||
def test_a_structure_named_after_the_type_gives_its_name_to_a_type_named_by_nothing_else(tmp_path):
|
||||
# Config's PutConfigurationRecorder names its recorder in ConfigurationRecorder.name.
|
||||
service = model({"PutRecorder": {"Recorder": "Recorder"}})
|
||||
@@ -1404,6 +1455,15 @@ def test_the_vendored_file_is_well_formed():
|
||||
assert "elasticache" in document["namespaces"] and "elasticache" not in document["notCovered"]
|
||||
assert operations["elasticache:DeleteCacheCluster"]["resources"][0] == {
|
||||
"type": "cluster", "fill": {"CacheClusterId": "CacheClusterId"}}
|
||||
# MemoryDB's DeleteCluster is checked on the cluster its ClusterName names, CreateCluster on the multi-Region
|
||||
# cluster its MultiRegionClusterName names.
|
||||
assert {"type": "cluster", "fill": {"ClusterName": "ClusterName"}} in \
|
||||
operations["memorydb:DeleteCluster"]["resources"]
|
||||
assert {"type": "multiregioncluster", "fill": {"ClusterName": "MultiRegionClusterName"}} in \
|
||||
operations["memorydb:CreateCluster"]["resources"]
|
||||
# CreateCluster makes a cluster, whose tags are checked on it, not on the multi-Region cluster it may join.
|
||||
assert operations["memorydb:CreateCluster"]["makes"] == [
|
||||
{"type": "cluster", "fill": {"ClusterName": "ClusterName"}}]
|
||||
assert operations["elasticache:ModifyUserGroup"]["resources"] == [
|
||||
{"type": "usergroup", "fill": {"UserGroupId": "UserGroupId"}},
|
||||
{"type": "user", "fill": {"UserId": "UserIdsToAdd[]"}}, {"type": "user", "fill": {"UserId": "UserIdsToRemove[]"}}]
|
||||
@@ -1419,6 +1479,9 @@ def test_the_vendored_file_is_well_formed():
|
||||
assert {"type": "User", "fill": {}, "find": ["IdentityStoreId", "AlternateIdentifier.ExternalId.Issuer",
|
||||
"AlternateIdentifier.ExternalId.Id"]} in \
|
||||
operations["identitystore:GetUserId"]["resources"]
|
||||
# MemoryDB is read whole: a cluster, ACL or user by its name.
|
||||
assert "memorydb" in document["namespaces"] and "memorydb" not in document["notCovered"]
|
||||
assert operations["memorydb:DeleteACL"]["resources"] == [{"type": "acl", "fill": {"AclName": "ACLName"}}]
|
||||
# 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