Skip to content

Commit fd66277

Browse files
committed
wildcard
1 parent e79598a commit fd66277

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/cdk/resources/VectorIndex.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,12 @@ export class VectorIndex extends Construct {
7171
}
7272
})
7373

74-
const collectionArn = `arn:aws:aoss:${props.region}:${props.account}:collection/${props.collection.name}`
75-
const indexArn = `arn:aws:aoss:${props.region}:${props.account}:index/${props.collection.name}/${props.indexName}`
74+
// const collectionArn = `arn:aws:aoss:${props.region}:${props.account}:collection/${props.collection.name}`
75+
// eslint-disable-next-line max-len
76+
// const indexArn = `arn:aws:aoss:${props.region}:${props.account}:index/${props.collection.name}/${props.indexName}`
7677

78+
const collectionArn = `arn:aws:aoss:${props.region}:${props.account}:collection/*`
79+
const indexArn = `arn:aws:aoss:${props.region}:${props.account}:index/*`
7780
const getCollectionPolicy = new PolicyStatement({
7881
actions: [
7982
"aoss:BatchGetCollection"

0 commit comments

Comments
 (0)