Skip to content
v2.276.0

RowScopeProperty Struct Added in v2.276.0 ​

A single additive row-level filter on an access grant.

A row is visible when its value for the given field matches the filter's values.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as cloudwatch } from 'aws-cdk-lib';
const rowScopeProperty: cloudwatch.CfnAccessGrant.RowScopeProperty = {
  field: 'field',
  operator: 'operator',
  values: ['values'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudwatch as cloudwatch

row_scope_property = cloudwatch.CfnAccessGrant.RowScopeProperty(
    field="field",
    operator="operator",
    values=["values"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudwatch.*;

RowScopeProperty rowScopeProperty = RowScopeProperty.builder()
        .field("field")
        .operator("operator")
        .values(List.of("values"))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudWatch;

var rowScopeProperty = new RowScopeProperty {
    Field = "field",
    Operator = "operator",
    Values = new [] { "values" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

rowScopeProperty := &RowScopeProperty{
	Field: jsii.String("field"),
	Operator: jsii.String("operator"),
	Values: []*string{
		jsii.String("values"),
	},
}

Properties ​

fieldstringfieldstrfieldStringFieldstringField*stringrequired#
The field the allowlist applies to, for example serviceName or accountId.
operatorstringoperatorstroperatorStringOperatorstringOperator*stringrequired#
Match operator applied to this filter's values.
valuesstring[]valuestyping.List[str]valuesList<String>Valuesstring[]Values*[]*stringrequired#
The values the field is matched against.