@pulumi/aws-native 1.34.0-alpha.1757429483 → 1.34.0-alpha.1757592143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/applicationautoscaling/getScalableTarget.d.ts +52 -44
- package/applicationautoscaling/getScalableTarget.js.map +1 -1
- package/applicationautoscaling/scalableTarget.d.ts +52 -44
- package/applicationautoscaling/scalableTarget.js.map +1 -1
- package/bedrock/automatedReasoningPolicy.d.ts +42 -0
- package/bedrock/automatedReasoningPolicy.js.map +1 -1
- package/bedrock/automatedReasoningPolicyVersion.d.ts +39 -0
- package/bedrock/automatedReasoningPolicyVersion.js.map +1 -1
- package/bedrock/getAutomatedReasoningPolicy.d.ts +36 -0
- package/bedrock/getAutomatedReasoningPolicy.js.map +1 -1
- package/bedrock/getAutomatedReasoningPolicyVersion.d.ts +33 -0
- package/bedrock/getAutomatedReasoningPolicyVersion.js.map +1 -1
- package/ec2/getTransitGatewayConnectPeer.d.ts +40 -0
- package/ec2/getTransitGatewayConnectPeer.js +28 -0
- package/ec2/getTransitGatewayConnectPeer.js.map +1 -0
- package/ec2/index.d.ts +6 -0
- package/ec2/index.js +11 -4
- package/ec2/index.js.map +1 -1
- package/ec2/transitGatewayConnectPeer.d.ts +71 -0
- package/ec2/transitGatewayConnectPeer.js +74 -0
- package/ec2/transitGatewayConnectPeer.js.map +1 -0
- package/ecs/service.d.ts +2 -2
- package/elasticloadbalancingv2/loadBalancer.d.ts +2 -0
- package/elasticloadbalancingv2/loadBalancer.js +2 -0
- package/elasticloadbalancingv2/loadBalancer.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/iotcoredeviceadvisor/getSuiteDefinition.d.ts +1 -27
- package/iotcoredeviceadvisor/getSuiteDefinition.js.map +1 -1
- package/iotcoredeviceadvisor/suiteDefinition.d.ts +2 -54
- package/iotcoredeviceadvisor/suiteDefinition.js.map +1 -1
- package/lex/bot.d.ts +2 -0
- package/lex/bot.js +2 -0
- package/lex/bot.js.map +1 -1
- package/lex/getBot.d.ts +1 -0
- package/lex/getBot.js.map +1 -1
- package/omics/workflowVersion.d.ts +40 -0
- package/omics/workflowVersion.js +11 -1
- package/omics/workflowVersion.js.map +1 -1
- package/package.json +3 -3
- package/package.json.dev +2 -2
- package/s3/bucket.d.ts +2 -6
- package/s3/bucket.js.map +1 -1
- package/s3/getBucket.d.ts +1 -3
- package/s3/getBucket.js.map +1 -1
- package/sagemaker/cluster.d.ts +10 -0
- package/sagemaker/cluster.js +4 -0
- package/sagemaker/cluster.js.map +1 -1
- package/sagemaker/getCluster.d.ts +5 -0
- package/sagemaker/getCluster.js.map +1 -1
- package/smsvoice/configurationSet.d.ts +84 -0
- package/smsvoice/configurationSet.js +70 -0
- package/smsvoice/configurationSet.js.map +1 -0
- package/smsvoice/getConfigurationSet.d.ts +45 -0
- package/smsvoice/getConfigurationSet.js +28 -0
- package/smsvoice/getConfigurationSet.js.map +1 -0
- package/smsvoice/getOptOutList.d.ts +32 -0
- package/smsvoice/getOptOutList.js +28 -0
- package/smsvoice/getOptOutList.js.map +1 -0
- package/smsvoice/getPhoneNumber.d.ts +49 -0
- package/smsvoice/getPhoneNumber.js +28 -0
- package/smsvoice/getPhoneNumber.js.map +1 -0
- package/smsvoice/getPool.d.ts +56 -0
- package/smsvoice/getPool.js +28 -0
- package/smsvoice/getPool.js.map +1 -0
- package/smsvoice/getProtectConfiguration.d.ts +44 -0
- package/smsvoice/getProtectConfiguration.js +28 -0
- package/smsvoice/getProtectConfiguration.js.map +1 -0
- package/smsvoice/getResourcePolicy.d.ts +29 -0
- package/smsvoice/getResourcePolicy.js +28 -0
- package/smsvoice/getResourcePolicy.js.map +1 -0
- package/smsvoice/getSenderId.d.ts +44 -0
- package/smsvoice/getSenderId.js +30 -0
- package/smsvoice/getSenderId.js.map +1 -0
- package/smsvoice/index.d.ts +43 -0
- package/smsvoice/index.js +83 -0
- package/smsvoice/index.js.map +1 -0
- package/smsvoice/optOutList.d.ts +55 -0
- package/smsvoice/optOutList.js +62 -0
- package/smsvoice/optOutList.js.map +1 -0
- package/smsvoice/phoneNumber.d.ts +119 -0
- package/smsvoice/phoneNumber.js +94 -0
- package/smsvoice/phoneNumber.js.map +1 -0
- package/smsvoice/pool.d.ts +109 -0
- package/smsvoice/pool.js +82 -0
- package/smsvoice/pool.js.map +1 -0
- package/smsvoice/protectConfiguration.d.ts +67 -0
- package/smsvoice/protectConfiguration.js +64 -0
- package/smsvoice/protectConfiguration.js.map +1 -0
- package/smsvoice/resourcePolicy.d.ts +53 -0
- package/smsvoice/resourcePolicy.js +66 -0
- package/smsvoice/resourcePolicy.js.map +1 -0
- package/smsvoice/senderId.d.ts +71 -0
- package/smsvoice/senderId.js +72 -0
- package/smsvoice/senderId.js.map +1 -0
- package/types/enums/cloudfront/index.d.ts +3 -0
- package/types/enums/cloudfront/index.js.map +1 -1
- package/types/enums/index.d.ts +2 -1
- package/types/enums/index.js +3 -1
- package/types/enums/index.js.map +1 -1
- package/types/enums/ivs/index.d.ts +4 -4
- package/types/enums/ivs/index.js +3 -3
- package/types/enums/ivs/index.js.map +1 -1
- package/types/enums/omics/index.d.ts +9 -0
- package/types/enums/omics/index.js +6 -1
- package/types/enums/omics/index.js.map +1 -1
- package/types/enums/quicksight/index.d.ts +5 -0
- package/types/enums/quicksight/index.js +9 -5
- package/types/enums/quicksight/index.js.map +1 -1
- package/types/enums/s3/index.d.ts +4 -5
- package/types/enums/s3/index.js.map +1 -1
- package/types/enums/sagemaker/index.d.ts +15 -0
- package/types/enums/sagemaker/index.js +10 -3
- package/types/enums/sagemaker/index.js.map +1 -1
- package/types/enums/smsvoice/index.d.ts +38 -0
- package/types/enums/smsvoice/index.js +33 -0
- package/types/enums/smsvoice/index.js.map +1 -0
- package/types/input.d.ts +283 -93
- package/types/output.d.ts +283 -93
- package/types/output.js.map +1 -1
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource Type definition for AWS::SMSVOICE::Pool
|
|
6
|
+
*/
|
|
7
|
+
export declare class Pool extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing Pool resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Pool;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of Pool. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is Pool;
|
|
22
|
+
readonly arn: pulumi.Output<string>;
|
|
23
|
+
/**
|
|
24
|
+
* When set to true the pool can't be deleted. By default this is set to false.
|
|
25
|
+
*/
|
|
26
|
+
readonly deletionProtectionEnabled: pulumi.Output<boolean | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message. Keywords "HELP" and "STOP" are mandatory keywords
|
|
29
|
+
*/
|
|
30
|
+
readonly mandatoryKeywords: pulumi.Output<outputs.smsvoice.MandatoryKeywordsProperties>;
|
|
31
|
+
/**
|
|
32
|
+
* The name of the OptOutList to associate with the pool. You can use the OptOutListName or OptOutListArn.
|
|
33
|
+
*/
|
|
34
|
+
readonly optOutListName: pulumi.Output<string | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
|
|
37
|
+
*/
|
|
38
|
+
readonly optionalKeywords: pulumi.Output<outputs.smsvoice.PoolOptionalKeyword[] | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn and it's IsoCountryCode.
|
|
41
|
+
*/
|
|
42
|
+
readonly originationIdentities: pulumi.Output<string[]>;
|
|
43
|
+
readonly poolId: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
|
|
46
|
+
*/
|
|
47
|
+
readonly selfManagedOptOutsEnabled: pulumi.Output<boolean | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Indicates whether shared routes are enabled for the pool.
|
|
50
|
+
*/
|
|
51
|
+
readonly sharedRoutesEnabled: pulumi.Output<boolean | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* An array of key-value pairs to apply to this resource.
|
|
54
|
+
*/
|
|
55
|
+
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* When you set up two-way SMS, you can receive incoming messages from your customers. When one of your customers sends a message to your phone number, the message body is sent to an Amazon SNS topic or Amazon Connect for processing.
|
|
58
|
+
*/
|
|
59
|
+
readonly twoWay: pulumi.Output<outputs.smsvoice.TwoWayProperties | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a Pool resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args: PoolArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* The set of arguments for constructing a Pool resource.
|
|
71
|
+
*/
|
|
72
|
+
export interface PoolArgs {
|
|
73
|
+
/**
|
|
74
|
+
* When set to true the pool can't be deleted. By default this is set to false.
|
|
75
|
+
*/
|
|
76
|
+
deletionProtectionEnabled?: pulumi.Input<boolean>;
|
|
77
|
+
/**
|
|
78
|
+
* A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message. Keywords "HELP" and "STOP" are mandatory keywords
|
|
79
|
+
*/
|
|
80
|
+
mandatoryKeywords: pulumi.Input<inputs.smsvoice.MandatoryKeywordsPropertiesArgs>;
|
|
81
|
+
/**
|
|
82
|
+
* The name of the OptOutList to associate with the pool. You can use the OptOutListName or OptOutListArn.
|
|
83
|
+
*/
|
|
84
|
+
optOutListName?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
|
|
87
|
+
*/
|
|
88
|
+
optionalKeywords?: pulumi.Input<pulumi.Input<inputs.smsvoice.PoolOptionalKeywordArgs>[]>;
|
|
89
|
+
/**
|
|
90
|
+
* The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn and it's IsoCountryCode.
|
|
91
|
+
*/
|
|
92
|
+
originationIdentities: pulumi.Input<pulumi.Input<string>[]>;
|
|
93
|
+
/**
|
|
94
|
+
* By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
|
|
95
|
+
*/
|
|
96
|
+
selfManagedOptOutsEnabled?: pulumi.Input<boolean>;
|
|
97
|
+
/**
|
|
98
|
+
* Indicates whether shared routes are enabled for the pool.
|
|
99
|
+
*/
|
|
100
|
+
sharedRoutesEnabled?: pulumi.Input<boolean>;
|
|
101
|
+
/**
|
|
102
|
+
* An array of key-value pairs to apply to this resource.
|
|
103
|
+
*/
|
|
104
|
+
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
|
|
105
|
+
/**
|
|
106
|
+
* When you set up two-way SMS, you can receive incoming messages from your customers. When one of your customers sends a message to your phone number, the message body is sent to an Amazon SNS topic or Amazon Connect for processing.
|
|
107
|
+
*/
|
|
108
|
+
twoWay?: pulumi.Input<inputs.smsvoice.TwoWayPropertiesArgs>;
|
|
109
|
+
}
|
package/smsvoice/pool.js
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Pool = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Type definition for AWS::SMSVOICE::Pool
|
|
10
|
+
*/
|
|
11
|
+
class Pool extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Pool resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new Pool(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of Pool. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === Pool.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a Pool resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if ((!args || args.mandatoryKeywords === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'mandatoryKeywords'");
|
|
46
|
+
}
|
|
47
|
+
if ((!args || args.originationIdentities === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'originationIdentities'");
|
|
49
|
+
}
|
|
50
|
+
resourceInputs["deletionProtectionEnabled"] = args ? args.deletionProtectionEnabled : undefined;
|
|
51
|
+
resourceInputs["mandatoryKeywords"] = args ? args.mandatoryKeywords : undefined;
|
|
52
|
+
resourceInputs["optOutListName"] = args ? args.optOutListName : undefined;
|
|
53
|
+
resourceInputs["optionalKeywords"] = args ? args.optionalKeywords : undefined;
|
|
54
|
+
resourceInputs["originationIdentities"] = args ? args.originationIdentities : undefined;
|
|
55
|
+
resourceInputs["selfManagedOptOutsEnabled"] = args ? args.selfManagedOptOutsEnabled : undefined;
|
|
56
|
+
resourceInputs["sharedRoutesEnabled"] = args ? args.sharedRoutesEnabled : undefined;
|
|
57
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
58
|
+
resourceInputs["twoWay"] = args ? args.twoWay : undefined;
|
|
59
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["poolId"] = undefined /*out*/;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["deletionProtectionEnabled"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["mandatoryKeywords"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["optOutListName"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["optionalKeywords"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["originationIdentities"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["poolId"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["selfManagedOptOutsEnabled"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["sharedRoutesEnabled"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["twoWay"] = undefined /*out*/;
|
|
74
|
+
}
|
|
75
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
76
|
+
super(Pool.__pulumiType, name, resourceInputs, opts);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.Pool = Pool;
|
|
80
|
+
/** @internal */
|
|
81
|
+
Pool.__pulumiType = 'aws-native:smsvoice:Pool';
|
|
82
|
+
//# sourceMappingURL=pool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pool.js","sourceRoot":"","sources":["../../smsvoice/pool.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAA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,cAAc,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChE,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA7GL,oBA8GC;AAjGG,gBAAgB;AACO,iBAAY,GAAG,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource Type definition for AWS::SMSVOICE::ProtectConfiguration
|
|
6
|
+
*/
|
|
7
|
+
export declare class ProtectConfiguration extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing ProtectConfiguration resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ProtectConfiguration;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of ProtectConfiguration. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is ProtectConfiguration;
|
|
22
|
+
/**
|
|
23
|
+
* The Amazon Resource Name (ARN) of the protect configuration.
|
|
24
|
+
*/
|
|
25
|
+
readonly arn: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* An array of CountryRule containing the rules for the NumberCapability.
|
|
28
|
+
*/
|
|
29
|
+
readonly countryRuleSet: pulumi.Output<outputs.smsvoice.ProtectConfigurationCountryRuleSet | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* When set to true deletion protection is enabled and protect configuration cannot be deleted. By default this is set to false.
|
|
32
|
+
*/
|
|
33
|
+
readonly deletionProtectionEnabled: pulumi.Output<boolean | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* The unique identifier for the protect configuration.
|
|
36
|
+
*/
|
|
37
|
+
readonly protectConfigurationId: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* An array of key-value pairs to apply to this resource.
|
|
40
|
+
*/
|
|
41
|
+
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a ProtectConfiguration resource with the given unique name, arguments, and options.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resource.
|
|
46
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
47
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
48
|
+
*/
|
|
49
|
+
constructor(name: string, args?: ProtectConfigurationArgs, opts?: pulumi.CustomResourceOptions);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* The set of arguments for constructing a ProtectConfiguration resource.
|
|
53
|
+
*/
|
|
54
|
+
export interface ProtectConfigurationArgs {
|
|
55
|
+
/**
|
|
56
|
+
* An array of CountryRule containing the rules for the NumberCapability.
|
|
57
|
+
*/
|
|
58
|
+
countryRuleSet?: pulumi.Input<inputs.smsvoice.ProtectConfigurationCountryRuleSetArgs>;
|
|
59
|
+
/**
|
|
60
|
+
* When set to true deletion protection is enabled and protect configuration cannot be deleted. By default this is set to false.
|
|
61
|
+
*/
|
|
62
|
+
deletionProtectionEnabled?: pulumi.Input<boolean>;
|
|
63
|
+
/**
|
|
64
|
+
* An array of key-value pairs to apply to this resource.
|
|
65
|
+
*/
|
|
66
|
+
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
|
|
67
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ProtectConfiguration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Type definition for AWS::SMSVOICE::ProtectConfiguration
|
|
10
|
+
*/
|
|
11
|
+
class ProtectConfiguration extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing ProtectConfiguration resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new ProtectConfiguration(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of ProtectConfiguration. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === ProtectConfiguration.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a ProtectConfiguration resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
resourceInputs["countryRuleSet"] = args ? args.countryRuleSet : undefined;
|
|
45
|
+
resourceInputs["deletionProtectionEnabled"] = args ? args.deletionProtectionEnabled : undefined;
|
|
46
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
47
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
48
|
+
resourceInputs["protectConfigurationId"] = undefined /*out*/;
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
52
|
+
resourceInputs["countryRuleSet"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["deletionProtectionEnabled"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["protectConfigurationId"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
56
|
+
}
|
|
57
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
58
|
+
super(ProtectConfiguration.__pulumiType, name, resourceInputs, opts);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.ProtectConfiguration = ProtectConfiguration;
|
|
62
|
+
/** @internal */
|
|
63
|
+
ProtectConfiguration.__pulumiType = 'aws-native:smsvoice:ProtectConfiguration';
|
|
64
|
+
//# sourceMappingURL=protectConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protectConfiguration.js","sourceRoot":"","sources":["../../smsvoice/protectConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;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c,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChE,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAzEL,oDA0EC;AA7DG,gBAAgB;AACO,iCAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Resource Type definition for AWS::SMSVOICE::ResourcePolicy
|
|
4
|
+
*/
|
|
5
|
+
export declare class ResourcePolicy extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing ResourcePolicy resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ResourcePolicy;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of ResourcePolicy. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is ResourcePolicy;
|
|
20
|
+
/**
|
|
21
|
+
* The JSON formatted resource-based policy to attach.
|
|
22
|
+
*
|
|
23
|
+
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::SMSVOICE::ResourcePolicy` for more information about the expected schema for this property.
|
|
24
|
+
*/
|
|
25
|
+
readonly policyDocument: pulumi.Output<any>;
|
|
26
|
+
/**
|
|
27
|
+
* The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource to attach the resource-based policy to.
|
|
28
|
+
*/
|
|
29
|
+
readonly resourceArn: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Create a ResourcePolicy resource with the given unique name, arguments, and options.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resource.
|
|
34
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
35
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
36
|
+
*/
|
|
37
|
+
constructor(name: string, args: ResourcePolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* The set of arguments for constructing a ResourcePolicy resource.
|
|
41
|
+
*/
|
|
42
|
+
export interface ResourcePolicyArgs {
|
|
43
|
+
/**
|
|
44
|
+
* The JSON formatted resource-based policy to attach.
|
|
45
|
+
*
|
|
46
|
+
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::SMSVOICE::ResourcePolicy` for more information about the expected schema for this property.
|
|
47
|
+
*/
|
|
48
|
+
policyDocument: any;
|
|
49
|
+
/**
|
|
50
|
+
* The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource to attach the resource-based policy to.
|
|
51
|
+
*/
|
|
52
|
+
resourceArn: pulumi.Input<string>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ResourcePolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Type definition for AWS::SMSVOICE::ResourcePolicy
|
|
10
|
+
*/
|
|
11
|
+
class ResourcePolicy extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing ResourcePolicy resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new ResourcePolicy(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of ResourcePolicy. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === ResourcePolicy.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a ResourcePolicy resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if ((!args || args.policyDocument === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'policyDocument'");
|
|
46
|
+
}
|
|
47
|
+
if ((!args || args.resourceArn === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'resourceArn'");
|
|
49
|
+
}
|
|
50
|
+
resourceInputs["policyDocument"] = args ? args.policyDocument : undefined;
|
|
51
|
+
resourceInputs["resourceArn"] = args ? args.resourceArn : undefined;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
resourceInputs["policyDocument"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["resourceArn"] = undefined /*out*/;
|
|
56
|
+
}
|
|
57
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
58
|
+
const replaceOnChanges = { replaceOnChanges: ["resourceArn"] };
|
|
59
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
60
|
+
super(ResourcePolicy.__pulumiType, name, resourceInputs, opts);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.ResourcePolicy = ResourcePolicy;
|
|
64
|
+
/** @internal */
|
|
65
|
+
ResourcePolicy.__pulumiType = 'aws-native:smsvoice:ResourcePolicy';
|
|
66
|
+
//# sourceMappingURL=resourcePolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resourcePolicy.js","sourceRoot":"","sources":["../../smsvoice/resourcePolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,cAAc,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI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;QACnD,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAjEL,wCAkEC;AArDG,gBAAgB;AACO,2BAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource Type definition for AWS::SMSVOICE::SenderId
|
|
6
|
+
*/
|
|
7
|
+
export declare class SenderId extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing SenderId resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): SenderId;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of SenderId. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is SenderId;
|
|
22
|
+
/**
|
|
23
|
+
* The Amazon Resource Name (ARN) associated with the SenderId.
|
|
24
|
+
*/
|
|
25
|
+
readonly arn: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* When set to true the sender ID can't be deleted. By default this is set to false.
|
|
28
|
+
*/
|
|
29
|
+
readonly deletionProtectionEnabled: pulumi.Output<boolean | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
|
32
|
+
*/
|
|
33
|
+
readonly isoCountryCode: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The sender ID string to request.
|
|
36
|
+
*/
|
|
37
|
+
readonly senderId: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* An array of key-value pairs to apply to this resource.
|
|
40
|
+
*/
|
|
41
|
+
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a SenderId resource with the given unique name, arguments, and options.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resource.
|
|
46
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
47
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
48
|
+
*/
|
|
49
|
+
constructor(name: string, args: SenderIdArgs, opts?: pulumi.CustomResourceOptions);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* The set of arguments for constructing a SenderId resource.
|
|
53
|
+
*/
|
|
54
|
+
export interface SenderIdArgs {
|
|
55
|
+
/**
|
|
56
|
+
* When set to true the sender ID can't be deleted. By default this is set to false.
|
|
57
|
+
*/
|
|
58
|
+
deletionProtectionEnabled?: pulumi.Input<boolean>;
|
|
59
|
+
/**
|
|
60
|
+
* The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
|
61
|
+
*/
|
|
62
|
+
isoCountryCode: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The sender ID string to request.
|
|
65
|
+
*/
|
|
66
|
+
senderId: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* An array of key-value pairs to apply to this resource.
|
|
69
|
+
*/
|
|
70
|
+
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.SenderId = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Type definition for AWS::SMSVOICE::SenderId
|
|
10
|
+
*/
|
|
11
|
+
class SenderId extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing SenderId resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new SenderId(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of SenderId. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === SenderId.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a SenderId resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if ((!args || args.isoCountryCode === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'isoCountryCode'");
|
|
46
|
+
}
|
|
47
|
+
if ((!args || args.senderId === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'senderId'");
|
|
49
|
+
}
|
|
50
|
+
resourceInputs["deletionProtectionEnabled"] = args ? args.deletionProtectionEnabled : undefined;
|
|
51
|
+
resourceInputs["isoCountryCode"] = args ? args.isoCountryCode : undefined;
|
|
52
|
+
resourceInputs["senderId"] = args ? args.senderId : undefined;
|
|
53
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
54
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["deletionProtectionEnabled"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["isoCountryCode"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["senderId"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
62
|
+
}
|
|
63
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
64
|
+
const replaceOnChanges = { replaceOnChanges: ["isoCountryCode", "senderId"] };
|
|
65
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
66
|
+
super(SenderId.__pulumiType, name, resourceInputs, opts);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.SenderId = SenderId;
|
|
70
|
+
/** @internal */
|
|
71
|
+
SenderId.__pulumiType = 'aws-native:smsvoice:SenderId';
|
|
72
|
+
//# sourceMappingURL=senderId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"senderId.js","sourceRoot":"","sources":["../../smsvoice/senderId.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,QAAQ,CAAC,I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AAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;aAAM;YACH,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChE,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,gBAAgB,EAAE,UAAU,CAAC,EAAE,CAAC;QAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAjFL,4BAkFC;AArEG,gBAAgB;AACO,qBAAY,GAAG,8BAA8B,CAAC"}
|
|
@@ -24,6 +24,9 @@ export declare const DistributionCustomOriginConfigIpAddressType: {
|
|
|
24
24
|
readonly Ipv6: "ipv6";
|
|
25
25
|
readonly Dualstack: "dualstack";
|
|
26
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* Specifies which IP protocol CloudFront uses when connecting to your origin. If your origin uses both IPv4 and IPv6 protocols, you can choose `dualstack` to help optimize reliability.
|
|
29
|
+
*/
|
|
27
30
|
export type DistributionCustomOriginConfigIpAddressType = (typeof DistributionCustomOriginConfigIpAddressType)[keyof typeof DistributionCustomOriginConfigIpAddressType];
|
|
28
31
|
export declare const DistributionOriginGroupSelectionCriteria: {
|
|
29
32
|
readonly Default: "default";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/enums/cloudfront/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAGpE,QAAA,oCAAoC,GAAG;IAChD,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;CACtB,CAAC;AAOE,QAAA,2CAA2C,GAAG;IACvD,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;CACtB,CAAC;AAOE,QAAA,0BAA0B,GAAG;IACtC,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,aAAa;CACnB,CAAC;AAIE,QAAA,2CAA2C,GAAG;IACvD,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;CAChB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/enums/cloudfront/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAGpE,QAAA,oCAAoC,GAAG;IAChD,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;CACtB,CAAC;AAOE,QAAA,2CAA2C,GAAG;IACvD,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;CACtB,CAAC;AAOE,QAAA,0BAA0B,GAAG;IACtC,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,aAAa;CACnB,CAAC;AAIE,QAAA,2CAA2C,GAAG;IACvD,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;CAChB,CAAC;AAOE,QAAA,wCAAwC,GAAG;IACpD,OAAO,EAAE,SAAS;IAClB,iBAAiB,EAAE,qBAAqB;CAClC,CAAC;AAIE,QAAA,oCAAoC,GAAG;IAChD,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACd,CAAC;AAOE,QAAA,4D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