Class ResourceType
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.config.ResourceType
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.626Z")
@Stability(Stable)
public class ResourceType
extends software.amazon.jsii.JsiiObject
Resources types that are supported by AWS Config.
Example:
Function evalComplianceFn; ManagedRule sshRule = ManagedRule.Builder.create(this, "SSH") .identifier(ManagedRuleIdentifiers.EC2_SECURITY_GROUPS_INCOMING_SSH_DISABLED) .ruleScope(RuleScope.fromResource(ResourceType.EC2_SECURITY_GROUP, "sg-1234567890abcdefgh")) .build(); CustomRule customRule = CustomRule.Builder.create(this, "Lambda") .lambdaFunction(evalComplianceFn) .configurationChanges(true) .ruleScope(RuleScope.fromResources(List.of(ResourceType.CLOUDFORMATION_STACK, ResourceType.S3_BUCKET))) .build(); CustomRule tagRule = CustomRule.Builder.create(this, "CostCenterTagRule") .lambdaFunction(evalComplianceFn) .configurationChanges(true) .ruleScope(RuleScope.fromTag("Cost Center", "MyApp")) .build();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ResourceType
AWS Certificate manager certificate.static final ResourceType
API Gateway REST API.static final ResourceType
API Gateway Stage.static final ResourceType
API Gatewayv2 API.static final ResourceType
API Gatewayv2 Stage.static final ResourceType
AWS Auto Scaling group.static final ResourceType
AWS Auto Scaling launch configuration.static final ResourceType
AWS Auto Scaling policy.static final ResourceType
AWS Auto Scaling scheduled action.static final ResourceType
AWS CloudFormation stack.static final ResourceType
Amazon CloudFront Distribution.static final ResourceType
Amazon CloudFront streaming distribution.static final ResourceType
AWS CloudTrail trail.static final ResourceType
Amazon CloudWatch Alarm.static final ResourceType
AWS CodeBuild project.static final ResourceType
AWS CodePipeline pipeline.static final ResourceType
Amazon DynamoDB Table.static final ResourceType
Elastic Block Store (EBS) volume.static final ResourceType
Amazon EC2 customer gateway.static final ResourceType
EC2 Egress only internet gateway.static final ResourceType
EC2 Elastic IP.static final ResourceType
EC2 flow log.static final ResourceType
EC2 host.static final ResourceType
EC2 instance.static final ResourceType
Amazon EC2 internet gateway.static final ResourceType
EC2 NAT gateway.static final ResourceType
Amazon EC2 network ACL.static final ResourceType
Amazon EC2 route table.static final ResourceType
EC2 security group.static final ResourceType
Amazon EC2 subnet table.static final ResourceType
Amazon EC2 VPC.static final ResourceType
EC2 VPC endpoint.static final ResourceType
EC2 VPC endpoint service.static final ResourceType
EC2 VPC peering connection.static final ResourceType
Amazon EC2 VPN connection.static final ResourceType
Amazon EC2 VPN gateway.static final ResourceType
AWS Elastic Beanstalk (EB) application.static final ResourceType
AWS Elastic Beanstalk (EB) application version.static final ResourceType
AWS Elastic Beanstalk (EB) environment.static final ResourceType
Amazon ElasticSearch domain.static final ResourceType
AWS ELB classic load balancer.static final ResourceType
AWS ELBv2 network load balancer or AWS ELBv2 application load balancer.static final ResourceType
AWS IAM group.static final ResourceType
AWS IAM policy.static final ResourceType
AWS IAM role.static final ResourceType
AWS IAM user.static final ResourceType
AWS KMS Key.static final ResourceType
AWS Lambda function.static final ResourceType
Amazon QLDB ledger.static final ResourceType
Amazon RDS database cluster.static final ResourceType
Amazon RDS database cluster snapshot.static final ResourceType
Amazon RDS database instance.static final ResourceType
Amazon RDS database security group.static final ResourceType
Amazon RDS database snapshot.static final ResourceType
Amazon RDS database subnet group.static final ResourceType
Amazon RDS event subscription.static final ResourceType
Amazon Redshift cluster.static final ResourceType
Amazon Redshift cluster parameter group.static final ResourceType
Amazon Redshift cluster security group.static final ResourceType
Amazon Redshift cluster snapshot.static final ResourceType
Amazon Redshift cluster subnet group.static final ResourceType
Amazon Redshift event subscription.static final ResourceType
Amazon S3 account public access block.static final ResourceType
Amazon S3 bucket.static final ResourceType
AWS Secrets Manager secret.static final ResourceType
AWS Service Catalog CloudFormation product.static final ResourceType
AWS Service Catalog CloudFormation provisioned product.static final ResourceType
AWS Service Catalog portfolio.static final ResourceType
AWS Shield protection.static final ResourceType
AWS Shield regional protection.static final ResourceType
Amazon SNS topic.static final ResourceType
Amazon SQS queue.static final ResourceType
AWS Systems Manager association compliance.static final ResourceType
AWS Systems Manager file data.static final ResourceType
AWS Systems Manager managed instance inventory.static final ResourceType
AWS Systems Manager patch compliance.static final ResourceType
AWS WAF rate based rule.static final ResourceType
AWS WAF regional rate based rule.static final ResourceType
AWS WAF regional rule.static final ResourceType
AWS WAF regional rule group.static final ResourceType
AWS WAF web ACL.static final ResourceType
AWS WAF rule.static final ResourceType
AWS WAF rule group.static final ResourceType
AWS WAF web ACL.static final ResourceType
AWS WAFv2 managed rule set.static final ResourceType
AWS WAFv2 rule group.static final ResourceType
AWS WAFv2 web ACL.static final ResourceType
AWS X-Ray encryption configuration. -
Constructor Summary
ModifierConstructorDescriptionprotected
ResourceType
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
ResourceType
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionValid value of resource type.static ResourceType
A custom resource type to support future cases.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
ACM_CERTIFICATE
AWS Certificate manager certificate. -
APIGATEWAY_REST_API
API Gateway REST API. -
APIGATEWAY_STAGE
API Gateway Stage. -
APIGATEWAYV2_API
API Gatewayv2 API. -
APIGATEWAYV2_STAGE
API Gatewayv2 Stage. -
AUTO_SCALING_GROUP
AWS Auto Scaling group. -
AUTO_SCALING_LAUNCH_CONFIGURATION
AWS Auto Scaling launch configuration. -
AUTO_SCALING_POLICY
AWS Auto Scaling policy. -
AUTO_SCALING_SCHEDULED_ACTION
AWS Auto Scaling scheduled action. -
CLOUDFORMATION_STACK
AWS CloudFormation stack. -
CLOUDFRONT_DISTRIBUTION
Amazon CloudFront Distribution. -
CLOUDFRONT_STREAMING_DISTRIBUTION
Amazon CloudFront streaming distribution. -
CLOUDTRAIL_TRAIL
AWS CloudTrail trail. -
CLOUDWATCH_ALARM
Amazon CloudWatch Alarm. -
CODEBUILD_PROJECT
AWS CodeBuild project. -
CODEPIPELINE_PIPELINE
AWS CodePipeline pipeline. -
DYNAMODB_TABLE
Amazon DynamoDB Table. -
EBS_VOLUME
Elastic Block Store (EBS) volume. -
EC2_CUSTOMER_GATEWAY
Amazon EC2 customer gateway. -
EC2_EGRESS_ONLY_INTERNET_GATEWAY
EC2 Egress only internet gateway. -
EC2_EIP
EC2 Elastic IP. -
EC2_FLOW_LOG
EC2 flow log. -
EC2_HOST
EC2 host. -
EC2_INSTANCE
EC2 instance. -
EC2_INTERNET_GATEWAY
Amazon EC2 internet gateway. -
EC2_NAT_GATEWAY
EC2 NAT gateway. -
EC2_NETWORK_ACL
Amazon EC2 network ACL. -
EC2_ROUTE_TABLE
Amazon EC2 route table. -
EC2_SECURITY_GROUP
EC2 security group. -
EC2_SUBNET
Amazon EC2 subnet table. -
EC2_VPC
Amazon EC2 VPC. -
EC2_VPC_ENDPOINT
EC2 VPC endpoint. -
EC2_VPC_ENDPOINT_SERVICE
EC2 VPC endpoint service. -
EC2_VPC_PEERING_CONNECTION
EC2 VPC peering connection. -
EC2_VPN_CONNECTION
Amazon EC2 VPN connection. -
EC2_VPN_GATEWAY
Amazon EC2 VPN gateway. -
ELASTIC_BEANSTALK_APPLICATION
AWS Elastic Beanstalk (EB) application. -
ELASTIC_BEANSTALK_APPLICATION_VERSION
AWS Elastic Beanstalk (EB) application version. -
ELASTIC_BEANSTALK_ENVIRONMENT
AWS Elastic Beanstalk (EB) environment. -
ELASTICSEARCH_DOMAIN
Amazon ElasticSearch domain. -
ELB_LOAD_BALANCER
AWS ELB classic load balancer. -
ELBV2_LOAD_BALANCER
AWS ELBv2 network load balancer or AWS ELBv2 application load balancer. -
IAM_GROUP
AWS IAM group. -
IAM_POLICY
AWS IAM policy. -
IAM_ROLE
AWS IAM role. -
IAM_USER
AWS IAM user. -
KMS_KEY
AWS KMS Key. -
LAMBDA_FUNCTION
AWS Lambda function. -
QLDB_LEDGER
Amazon QLDB ledger. -
RDS_DB_CLUSTER
Amazon RDS database cluster. -
RDS_DB_CLUSTER_SNAPSHOT
Amazon RDS database cluster snapshot. -
RDS_DB_INSTANCE
Amazon RDS database instance. -
RDS_DB_SECURITY_GROUP
Amazon RDS database security group. -
RDS_DB_SNAPSHOT
Amazon RDS database snapshot. -
RDS_DB_SUBNET_GROUP
Amazon RDS database subnet group. -
RDS_EVENT_SUBSCRIPTION
Amazon RDS event subscription. -
REDSHIFT_CLUSTER
Amazon Redshift cluster. -
REDSHIFT_CLUSTER_PARAMETER_GROUP
Amazon Redshift cluster parameter group. -
REDSHIFT_CLUSTER_SECURITY_GROUP
Amazon Redshift cluster security group. -
REDSHIFT_CLUSTER_SNAPSHOT
Amazon Redshift cluster snapshot. -
REDSHIFT_CLUSTER_SUBNET_GROUP
Amazon Redshift cluster subnet group. -
REDSHIFT_EVENT_SUBSCRIPTION
Amazon Redshift event subscription. -
S3_ACCOUNT_PUBLIC_ACCESS_BLOCK
Amazon S3 account public access block. -
S3_BUCKET
Amazon S3 bucket. -
SECRETS_MANAGER_SECRET
AWS Secrets Manager secret. -
SERVICE_CATALOG_CLOUDFORMATION_PRODUCT
AWS Service Catalog CloudFormation product. -
SERVICE_CATALOG_CLOUDFORMATION_PROVISIONED_PRODUCT
@Stability(Stable) public static final ResourceType SERVICE_CATALOG_CLOUDFORMATION_PROVISIONED_PRODUCTAWS Service Catalog CloudFormation provisioned product. -
SERVICE_CATALOG_PORTFOLIO
AWS Service Catalog portfolio. -
SHIELD_PROTECTION
AWS Shield protection. -
SHIELD_REGIONAL_PROTECTION
AWS Shield regional protection. -
SNS_TOPIC
Amazon SNS topic. -
SQS_QUEUE
Amazon SQS queue. -
SYSTEMS_MANAGER_ASSOCIATION_COMPLIANCE
AWS Systems Manager association compliance. -
SYSTEMS_MANAGER_FILE_DATA
AWS Systems Manager file data. -
SYSTEMS_MANAGER_MANAGED_INSTANCE_INVENTORY
AWS Systems Manager managed instance inventory. -
SYSTEMS_MANAGER_PATCH_COMPLIANCE
AWS Systems Manager patch compliance. -
WAF_RATE_BASED_RULE
AWS WAF rate based rule. -
WAF_REGIONAL_RATE_BASED_RULE
AWS WAF regional rate based rule. -
WAF_REGIONAL_RULE
AWS WAF regional rule. -
WAF_REGIONAL_RULE_GROUP
AWS WAF regional rule group. -
WAF_REGIONAL_WEB_ACL
AWS WAF web ACL. -
WAF_RULE
AWS WAF rule. -
WAF_RULE_GROUP
AWS WAF rule group. -
WAF_WEB_ACL
AWS WAF web ACL. -
WAFV2_MANAGED_RULE_SET
AWS WAFv2 managed rule set. -
WAFV2_RULE_GROUP
AWS WAFv2 rule group. -
WAFV2_WEB_ACL
AWS WAFv2 web ACL. -
XRAY_ENCRYPTION_CONFIGURATION
AWS X-Ray encryption configuration.
-
-
Constructor Details
-
ResourceType
protected ResourceType(software.amazon.jsii.JsiiObjectRef objRef) -
ResourceType
protected ResourceType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
of
A custom resource type to support future cases.- Parameters:
type
- This parameter is required.
-
getComplianceResourceType
Valid value of resource type.
-