agent-claw: automated task changes
This commit is contained in:
57
cdk/node_modules/aws-cdk-lib/aws-sns/lib/policy.d.ts
generated
vendored
Normal file
57
cdk/node_modules/aws-cdk-lib/aws-sns/lib/policy.d.ts
generated
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import type { ITopic } from './topic-base';
|
||||
import { PolicyDocument, PolicyStatement } from '../../aws-iam';
|
||||
import { Resource } from '../../core';
|
||||
/**
|
||||
* Properties to associate SNS topics with a policy
|
||||
*/
|
||||
export interface TopicPolicyProps {
|
||||
/**
|
||||
* The set of topics this policy applies to.
|
||||
*/
|
||||
readonly topics: ITopic[];
|
||||
/**
|
||||
* IAM policy document to apply to topic(s).
|
||||
* @default empty policy document
|
||||
*/
|
||||
readonly policyDocument?: PolicyDocument;
|
||||
/**
|
||||
* Adds a statement to enforce encryption of data in transit when publishing to the topic.
|
||||
*
|
||||
* For more information, see https://docs.aws.amazon.com/sns/latest/dg/sns-security-best-practices.html#enforce-encryption-data-in-transit.
|
||||
*
|
||||
* @default false
|
||||
*/
|
||||
readonly enforceSSL?: boolean;
|
||||
}
|
||||
/**
|
||||
* The policy for an SNS Topic
|
||||
*
|
||||
* 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 TopicPolicy 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: TopicPolicyProps);
|
||||
/**
|
||||
* Adds a statement to enforce encryption of data in transit when publishing to the topic.
|
||||
*
|
||||
* For more information, see https://docs.aws.amazon.com/sns/latest/dg/sns-security-best-practices.html#enforce-encryption-data-in-transit.
|
||||
*/
|
||||
protected createSSLPolicyDocument(topicArn: string): PolicyStatement;
|
||||
}
|
||||
Reference in New Issue
Block a user