Class CfnResourceCollection
A collection of AWS resources supported by DevOps Guru.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.DevOpsGuru
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnResourceCollection : CfnResource, IInspectable
Syntax (vb)
Public Class CfnResourceCollection Inherits CfnResource Implements IInspectable
Remarks
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.
CloudformationResource: AWS::DevOpsGuru::ResourceCollection
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DevOpsGuru;
var cfnResourceCollection = new CfnResourceCollection(this, "MyCfnResourceCollection", new CfnResourceCollectionProps {
ResourceCollectionFilter = new ResourceCollectionFilterProperty {
CloudFormation = new CloudFormationCollectionFilterProperty {
StackNames = new [] { "stackNames" }
},
Tags = new [] { new TagCollectionProperty {
AppBoundaryKey = "appBoundaryKey",
TagValues = new [] { "tagValues" }
} }
}
});
Synopsis
Constructors
CfnResourceCollection(Construct, string, ICfnResourceCollectionProps) | A collection of AWS resources supported by DevOps Guru. |
Properties
AttrResourceCollectionType | The type of AWS resource collections to return. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | A collection of AWS resources supported by DevOps Guru. |
ResourceCollectionFilter | Information about a filter used to specify which AWS resources are analyzed for anomalous behavior by DevOps Guru. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<string, object>) | A collection of AWS resources supported by DevOps Guru. |
Constructors
CfnResourceCollection(Construct, string, ICfnResourceCollectionProps)
A collection of AWS resources supported by DevOps Guru.
public CfnResourceCollection(Construct scope, string id, ICfnResourceCollectionProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnResourceCollectionProps
Resource properties.
Remarks
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.
CloudformationResource: AWS::DevOpsGuru::ResourceCollection
ExampleMetadata: fixture=_generated
Properties
AttrResourceCollectionType
The type of AWS resource collections to return.
public virtual string AttrResourceCollectionType { get; }
Property Value
Remarks
The one valid value is CLOUD_FORMATION
for AWS CloudFormation stacks.
CloudformationAttribute: ResourceCollectionType
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
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.
CloudformationResource: AWS::DevOpsGuru::ResourceCollection
ExampleMetadata: fixture=_generated
CfnProperties
A collection of AWS resources supported by DevOps Guru.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
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.
CloudformationResource: AWS::DevOpsGuru::ResourceCollection
ExampleMetadata: fixture=_generated
ResourceCollectionFilter
Information about a filter used to specify which AWS resources are analyzed for anomalous behavior by DevOps Guru.
public virtual object ResourceCollectionFilter { get; set; }
Property Value
Remarks
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.
CloudformationResource: AWS::DevOpsGuru::ResourceCollection
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
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.
CloudformationResource: AWS::DevOpsGuru::ResourceCollection
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
A collection of AWS resources supported by DevOps Guru.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
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.
CloudformationResource: AWS::DevOpsGuru::ResourceCollection
ExampleMetadata: fixture=_generated