|
| 1 | +// Resource types which do not support List operation via Cloud Control API |
| 2 | +// source: https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/supported-resources.html |
| 3 | +export const NO_LIST_SUPPORT: ReadonlySet<string> = new Set([ |
| 4 | + 'AWS::ACMPCA::Certificate', |
| 5 | + 'AWS::ACMPCA::CertificateAuthorityActivation', |
| 6 | + 'AWS::ACMPCA::Permission', |
| 7 | + 'AWS::ApiGateway::Account', |
| 8 | + 'AWS::ApiGateway::Method', |
| 9 | + 'AWS::AppStream::AppBlock', |
| 10 | + 'AWS::AppStream::Application', |
| 11 | + 'AWS::AppStream::ApplicationEntitlementAssociation', |
| 12 | + 'AWS::AppStream::ApplicationFleetAssociation', |
| 13 | + 'AWS::AppStream::Entitlement', |
| 14 | + 'AWS::AppSync::DomainNameApiAssociation', |
| 15 | + 'AWS::Bedrock::GuardrailVersion', |
| 16 | + 'AWS::CertificateManager::Account', |
| 17 | + 'AWS::CloudFormation::ModuleVersion', |
| 18 | + 'AWS::CloudFront::MonitoringSubscription', |
| 19 | + 'AWS::CloudTrail::ResourcePolicy', |
| 20 | + 'AWS::Cognito::LogDeliveryConfiguration', |
| 21 | + 'AWS::Cognito::ManagedLoginBranding', |
| 22 | + 'AWS::Cognito::UserPoolDomain', |
| 23 | + 'AWS::Cognito::UserPoolRiskConfigurationAttachment', |
| 24 | + 'AWS::Cognito::UserPoolUICustomizationAttachment', |
| 25 | + 'AWS::Cognito::UserPoolUserToGroupAttachment', |
| 26 | + 'AWS::Connect::Rule', |
| 27 | + 'AWS::Connect::UserHierarchyStructure', |
| 28 | + 'AWS::DataZone::FormType', |
| 29 | + 'AWS::EC2::GatewayRouteTableAssociation', |
| 30 | + 'AWS::EC2::VPCBlockPublicAccessOptions', |
| 31 | + 'AWS::ECS::PrimaryTaskSet', |
| 32 | + 'AWS::ECS::TaskSet', |
| 33 | + 'AWS::EMR::Step', |
| 34 | + 'AWS::EventSchemas::RegistryPolicy', |
| 35 | + 'AWS::Evidently::Experiment', |
| 36 | + 'AWS::Evidently::Feature', |
| 37 | + 'AWS::Evidently::Launch', |
| 38 | + 'AWS::Evidently::Project', |
| 39 | + 'AWS::IAM::GroupPolicy', |
| 40 | + 'AWS::IAM::RolePolicy', |
| 41 | + 'AWS::IAM::ServiceLinkedRole', |
| 42 | + 'AWS::IAM::UserPolicy', |
| 43 | + 'AWS::Inspector::ResourceGroup', |
| 44 | + 'AWS::Kinesis::ResourcePolicy', |
| 45 | + 'AWS::LakeFormation::PrincipalPermissions', |
| 46 | + 'AWS::LakeFormation::TagAssociation', |
| 47 | + 'AWS::MediaConnect::BridgeOutput', |
| 48 | + 'AWS::MediaConnect::BridgeSource', |
| 49 | + 'AWS::MediaPackageV2::ChannelPolicy', |
| 50 | + 'AWS::MediaPackageV2::OriginEndpointPolicy', |
| 51 | + 'AWS::MediaTailor::ChannelPolicy', |
| 52 | + 'AWS::NetworkFirewall::LoggingConfiguration', |
| 53 | + 'AWS::OpenSearchService::Domain', |
| 54 | + 'AWS::Panorama::PackageVersion', |
| 55 | + 'AWS::ResourceExplorer2::DefaultViewAssociation', |
| 56 | + 'AWS::S3ObjectLambda::AccessPointPolicy', |
| 57 | + 'AWS::S3Outposts::BucketPolicy', |
| 58 | + 'AWS::SageMaker::Device', |
| 59 | + 'AWS::SageMaker::DeviceFleet', |
| 60 | + 'AWS::ServiceCatalog::CloudFormationProvisionedProduct', |
| 61 | + 'AWS::SES::VdmAttributes', |
| 62 | + 'AWS::SNS::TopicInlinePolicy', |
| 63 | + 'AWS::SQS::QueueInlinePolicy', |
| 64 | + 'AWS::VpcLattice::AuthPolicy', |
| 65 | + 'AWS::VpcLattice::ResourcePolicy', |
| 66 | + 'AWS::WAFv2::WebACLAssociation', |
| 67 | + 'AWS::WorkSpaces::ConnectionAlias', |
| 68 | +]); |
| 69 | + |
| 70 | +// Resource types which require properties to be included in order to be listed |
| 71 | +// source: https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-list.html#resource-operations-list-containers |
| 72 | +export const REQUIRES_RESOURCE_MODEL: ReadonlySet<string> = new Set([ |
| 73 | + 'AWS::ApiGateway::DocumentationVersion', |
| 74 | + 'AWS::ApiGateway::Step', |
| 75 | + 'AWS::CloudFormation::ResourceVersion', |
| 76 | + 'AWS::CustomerProfiles::Integration', |
| 77 | + 'AWS::CustomerProfiles::ObjectType', |
| 78 | + 'AWS::EC2::TransitGatewayMulticastGroupMember', |
| 79 | + 'AWS::EC2::TransitGatewayMulticastGroupSource', |
| 80 | + 'AWS::ECS::TaskSet', |
| 81 | + 'AWS::EKS::AddOn', |
| 82 | + 'AWS::EKS::FargateProfile', |
| 83 | + 'AWS::ElasticLoadBalancingV2::Listener', |
| 84 | + 'AWS::ElasticLoadBalancingV2::ListenerRule', |
| 85 | + 'AWS::Glue::Attach::SchemaVersion', |
| 86 | + 'AWS::Glue::Attach::SchemaVersionMetadata', |
| 87 | + 'AWS::IoTSiteWise::AccessPolicy', |
| 88 | + 'AWS::IoTSiteWise::Dashboard', |
| 89 | + 'AWS::IoTSiteWise::Project', |
| 90 | + 'AWS::Kendra::DataSource', |
| 91 | + 'AWS::Kendra::Faq', |
| 92 | + 'AWS::MediaConnect::FlowEntitlement', |
| 93 | + 'AWS::MediaConnect::FlowOutput', |
| 94 | + 'AWS::MediaConnect::FlowSource', |
| 95 | + 'AWS::MediaConnect::FlowVpcInterface', |
| 96 | + 'AWS::MediaPackage::Asset', |
| 97 | + 'AWS::MediaPackage::PackagingConfiguration', |
| 98 | + 'AWS::NetworkFirewall::LoggingConfiguration', |
| 99 | + 'AWS::QuickSight::Analysis', |
| 100 | + 'AWS::QuickSight::Dashboard', |
| 101 | + 'AWS::QuickSight::DataSet', |
| 102 | + 'AWS::QuickSight::DataSource', |
| 103 | + 'AWS::QuickSight::Template', |
| 104 | + 'AWS::QuickSight::Theme', |
| 105 | + 'AWS::RDS::DBProxyTargetGroup', |
| 106 | + 'AWS::S3Outposts::AccessPoint', |
| 107 | + 'AWS::S3Outposts::Bucket', |
| 108 | + 'AWS::SSO::Assignment', |
| 109 | + 'AWS::SSO::InstanceAccessControlAttributeConfiguration', |
| 110 | + 'AWS::SSO::PermissionSet', |
| 111 | + 'AWS::WAFv2::WebACL', |
| 112 | +]); |
0 commit comments