Class RuleScope
Inheritance
System.Object
RuleScope
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Cfg.Outputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class RuleScope
Fields
View SourceComplianceResourceId
The IDs of the only AWS resource that you want to trigger an evaluation for the rule.
If you specify a resource ID, you must specify one resource type for compliance_resource_types.
Declaration
public readonly string ComplianceResourceId
Field Value
| Type | Description |
|---|---|
| System.String |
ComplianceResourceTypes
A list of resource types of only those AWS resources that you want to trigger an
evaluation for the rule. e.g. AWS::EC2::Instance. You can only specify one type if you also specify
a resource ID for compliance_resource_id. See relevant part of AWS Docs for available types.
Declaration
public readonly ImmutableArray<string> ComplianceResourceTypes
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
TagKey
The tag key that is applied to only those AWS resources that you want you want to trigger an evaluation for the rule.
Declaration
public readonly string TagKey
Field Value
| Type | Description |
|---|---|
| System.String |
TagValue
The tag value applied to only those AWS resources that you want to trigger an evaluation for the rule.
Declaration
public readonly string TagValue
Field Value
| Type | Description |
|---|---|
| System.String |