UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

88 lines (87 loc) 3.81 kB
import { AccessLevelList } from '../../shared/access-level'; import { PolicyStatement } from '../../shared'; import { aws_iam as iam } from "aws-cdk-lib"; /** * Statement provider for service [sms-voice](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonpinpointsmsandvoiceservice.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ export declare class SmsVoice extends PolicyStatement { servicePrefix: string; /** * Create a new configuration set. After you create the configuration set, you can add one or more event destinations to it. * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint-sms-voice/latest/APIReference/v1-sms-voice-configuration-sets.html */ toCreateConfigurationSet(): this; /** * Create a new event destination in a configuration set. * * Access Level: Write * * Dependent actions: * - iam:PassRole * * https://docs.aws.amazon.com/pinpoint-sms-voice/latest/APIReference/v1-sms-voice-configuration-sets-configurationsetname-event-destinations.html */ toCreateConfigurationSetEventDestination(): this; /** * Deletes an existing configuration set. * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint-sms-voice/latest/APIReference/v1-sms-voice-configuration-sets-configurationsetname.html */ toDeleteConfigurationSet(): this; /** * Deletes an event destination in a configuration set. * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint-sms-voice/latest/APIReference/v1-sms-voice-configuration-sets-configurationsetname-event-destinations-eventdestinationname.html */ toDeleteConfigurationSetEventDestination(): this; /** * Obtain information about an event destination, including the types of events it reports, the Amazon Resource Name (ARN) of the destination, and the name of the event destination. * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint-sms-voice/latest/APIReference/v1-sms-voice-configuration-sets-configurationsetname-event-destinations.html */ toGetConfigurationSetEventDestinations(): this; /** * Return a list of configuration sets. This operation only returns the configuration sets that are associated with your account in the current AWS Region. * * Access Level: Read * * https://docs.aws.amazon.com/pinpoint-sms-voice/latest/APIReference/v1-sms-voice-configuration-sets.html */ toListConfigurationSets(): this; /** * Create a new voice message and send it to a recipient's phone number. * * Access Level: Write * * https://docs.aws.amazon.com/pinpoint-sms-voice/latest/APIReference/v1-sms-voice-voice-message.html */ toSendVoiceMessage(): this; /** * Update an event destination in a configuration set. An event destination is a location that you publish information about your voice calls to. For example, you can log an event to an Amazon CloudWatch destination when a call fails. * * Access Level: Write * * Dependent actions: * - iam:PassRole * * https://docs.aws.amazon.com/pinpoint-sms-voice/latest/APIReference/v1-sms-voice-configuration-sets-configurationsetname-event-destinations-eventdestinationname.html */ toUpdateConfigurationSetEventDestination(): this; protected accessLevelList: AccessLevelList; /** * Statement provider for service [sms-voice](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonpinpointsmsandvoiceservice.html). * */ constructor(props?: iam.PolicyStatementProps); }