agent-claw: automated task changes
This commit is contained in:
56
cdk/node_modules/aws-cdk-lib/aws-kinesis/lib/resource-policy.d.ts
generated
vendored
Normal file
56
cdk/node_modules/aws-cdk-lib/aws-kinesis/lib/resource-policy.d.ts
generated
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import type { IStream } from './stream';
|
||||
import type { IStreamConsumer } from './stream-consumer';
|
||||
import { PolicyDocument } from '../../aws-iam';
|
||||
import { Resource } from '../../core';
|
||||
/**
|
||||
* Properties to associate a data stream with a policy
|
||||
*/
|
||||
export interface ResourcePolicyProps {
|
||||
/**
|
||||
* The stream this policy applies to.
|
||||
*
|
||||
* Note: only one of `stream` and `streamConsumer` must be set.
|
||||
*
|
||||
* @default - policy is not associated to a stream
|
||||
*/
|
||||
readonly stream?: IStream;
|
||||
/**
|
||||
* The stream consumer this policy applies to.
|
||||
*
|
||||
* Note: only one of `stream` and `streamConsumer` must be set.
|
||||
*
|
||||
* @default - policy is not associated to a consumer
|
||||
*/
|
||||
readonly streamConsumer?: IStreamConsumer;
|
||||
/**
|
||||
* IAM policy document to apply to a data stream.
|
||||
*
|
||||
* @default - empty policy document
|
||||
*/
|
||||
readonly policyDocument?: PolicyDocument;
|
||||
}
|
||||
/**
|
||||
* The policy for a data stream or registered consumer.
|
||||
*
|
||||
* Policies define the operations that are allowed on this resource.
|
||||
*
|
||||
* You almost never need to define this construct directly.
|
||||
*
|
||||
* All AWS resources that support resource policies have a method called
|
||||
* `addToResourcePolicy()`, which will automatically create a new resource
|
||||
* policy if one doesn't exist yet, otherwise it will add to the existing
|
||||
* policy.
|
||||
*
|
||||
* Prefer to use `addToResourcePolicy()` instead.
|
||||
*/
|
||||
export declare class ResourcePolicy extends Resource {
|
||||
/** Uniquely identifies this class. */
|
||||
static readonly PROPERTY_INJECTION_ID: string;
|
||||
/**
|
||||
* The IAM policy document for this policy.
|
||||
*/
|
||||
readonly document: PolicyDocument;
|
||||
constructor(scope: Construct, id: string, props: ResourcePolicyProps);
|
||||
private createResourcePolicy;
|
||||
}
|
||||
Reference in New Issue
Block a user