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();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceTypeAWS Certificate manager certificate.static final ResourceTypeAPI Gateway REST API.static final ResourceTypeAPI Gateway Stage.static final ResourceTypeAPI Gatewayv2 API.static final ResourceTypeAPI Gatewayv2 Stage.static final ResourceTypeAWS Auto Scaling group.static final ResourceTypeAWS Auto Scaling launch configuration.static final ResourceTypeAWS Auto Scaling policy.static final ResourceTypeAWS Auto Scaling scheduled action.static final ResourceTypeAWS CloudFormation stack.static final ResourceTypeAmazon CloudFront Distribution.static final ResourceTypeAmazon CloudFront streaming distribution.static final ResourceTypeAWS CloudTrail trail.static final ResourceTypeAmazon CloudWatch Alarm.static final ResourceTypeAWS CodeBuild project.static final ResourceTypeAWS CodePipeline pipeline.static final ResourceTypeAmazon DynamoDB Table.static final ResourceTypeElastic Block Store (EBS) volume.static final ResourceTypeAmazon EC2 customer gateway.static final ResourceTypeEC2 Egress only internet gateway.static final ResourceTypeEC2 Elastic IP.static final ResourceTypeEC2 flow log.static final ResourceTypeEC2 host.static final ResourceTypeEC2 instance.static final ResourceTypeAmazon EC2 internet gateway.static final ResourceTypeEC2 NAT gateway.static final ResourceTypeAmazon EC2 network ACL.static final ResourceTypeAmazon EC2 route table.static final ResourceTypeEC2 security group.static final ResourceTypeAmazon EC2 subnet table.static final ResourceTypeAmazon EC2 VPC.static final ResourceTypeEC2 VPC endpoint.static final ResourceTypeEC2 VPC endpoint service.static final ResourceTypeEC2 VPC peering connection.static final ResourceTypeAmazon EC2 VPN connection.static final ResourceTypeAmazon EC2 VPN gateway.static final ResourceTypeAWS Elastic Beanstalk (EB) application.static final ResourceTypeAWS Elastic Beanstalk (EB) application version.static final ResourceTypeAWS Elastic Beanstalk (EB) environment.static final ResourceTypeAmazon ElasticSearch domain.static final ResourceTypeAWS ELB classic load balancer.static final ResourceTypeAWS ELBv2 network load balancer or AWS ELBv2 application load balancer.static final ResourceTypeAWS IAM group.static final ResourceTypeAWS IAM policy.static final ResourceTypeAWS IAM role.static final ResourceTypeAWS IAM user.static final ResourceTypeAWS KMS Key.static final ResourceTypeAWS Lambda function.static final ResourceTypeAmazon QLDB ledger.static final ResourceTypeAmazon RDS database cluster.static final ResourceTypeAmazon RDS database cluster snapshot.static final ResourceTypeAmazon RDS database instance.static final ResourceTypeAmazon RDS database security group.static final ResourceTypeAmazon RDS database snapshot.static final ResourceTypeAmazon RDS database subnet group.static final ResourceTypeAmazon RDS event subscription.static final ResourceTypeAmazon Redshift cluster.static final ResourceTypeAmazon Redshift cluster parameter group.static final ResourceTypeAmazon Redshift cluster security group.static final ResourceTypeAmazon Redshift cluster snapshot.static final ResourceTypeAmazon Redshift cluster subnet group.static final ResourceTypeAmazon Redshift event subscription.static final ResourceTypeAmazon S3 account public access block.static final ResourceTypeAmazon S3 bucket.static final ResourceTypeAWS Secrets Manager secret.static final ResourceTypeAWS Service Catalog CloudFormation product.static final ResourceTypeAWS Service Catalog CloudFormation provisioned product.static final ResourceTypeAWS Service Catalog portfolio.static final ResourceTypeAWS Shield protection.static final ResourceTypeAWS Shield regional protection.static final ResourceTypeAmazon SNS topic.static final ResourceTypeAmazon SQS queue.static final ResourceTypeAWS Systems Manager association compliance.static final ResourceTypeAWS Systems Manager file data.static final ResourceTypeAWS Systems Manager managed instance inventory.static final ResourceTypeAWS Systems Manager patch compliance.static final ResourceTypeAWS WAF rate based rule.static final ResourceTypeAWS WAF regional rate based rule.static final ResourceTypeAWS WAF regional rule.static final ResourceTypeAWS WAF regional rule group.static final ResourceTypeAWS WAF web ACL.static final ResourceTypeAWS WAF rule.static final ResourceTypeAWS WAF rule group.static final ResourceTypeAWS WAF web ACL.static final ResourceTypeAWS WAFv2 managed rule set.static final ResourceTypeAWS WAFv2 rule group.static final ResourceTypeAWS WAFv2 web ACL.static final ResourceTypeAWS X-Ray encryption configuration. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedResourceType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedResourceType(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionValid value of resource type.static ResourceTypeA 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, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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.
-