@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.922Z") @Stability(value=Stable) public class CfnResourceCollection extends CfnResource implements IInspectable
A collection of AWS resources supported by DevOps Guru. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.devopsguru.*;
CfnResourceCollection cfnResourceCollection = CfnResourceCollection.Builder.create(this, "MyCfnResourceCollection")
.resourceCollectionFilter(ResourceCollectionFilterProperty.builder()
.cloudFormation(CloudFormationCollectionFilterProperty.builder()
.stackNames(List.of("stackNames"))
.build())
.tags(List.of(TagCollectionProperty.builder()
.appBoundaryKey("appBoundaryKey")
.tagValues(List.of("tagValues"))
.build()))
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnResourceCollection.Builder
A fluent builder for
CfnResourceCollection. |
static interface |
CfnResourceCollection.CloudFormationCollectionFilterProperty
Information about AWS CloudFormation stacks.
|
static interface |
CfnResourceCollection.ResourceCollectionFilterProperty
Information about a filter used to specify which AWS resources are analyzed for anomalous behavior by DevOps Guru.
|
static interface |
CfnResourceCollection.TagCollectionProperty
A collection of AWS stags.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnResourceCollection(software.constructs.Construct scope,
String id,
CfnResourceCollectionProps props)
Create a new `AWS::DevOpsGuru::ResourceCollection`.
|
protected |
CfnResourceCollection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnResourceCollection(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrResourceCollectionType()
The type of AWS resource collections to return.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getResourceCollectionFilter()
Information about a filter used to specify which AWS resources are analyzed for anomalous behavior by DevOps Guru.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setResourceCollectionFilter(CfnResourceCollection.ResourceCollectionFilterProperty value)
Information about a filter used to specify which AWS resources are analyzed for anomalous behavior by DevOps Guru.
|
void |
setResourceCollectionFilter(IResolvable value)
Information about a filter used to specify which AWS resources are analyzed for anomalous behavior by DevOps Guru.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnResourceCollection(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnResourceCollection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnResourceCollection(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnResourceCollectionProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrResourceCollectionType()
The one valid value is CLOUD_FORMATION for AWS CloudFormation stacks.
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getResourceCollectionFilter()
@Stability(value=Stable)
public void setResourceCollectionFilter(@NotNull
CfnResourceCollection.ResourceCollectionFilterProperty value)
@Stability(value=Stable)
public void setResourceCollectionFilter(@NotNull
IResolvable value)
Copyright © 2022. All rights reserved.