@pulumi/aws 6.47.0 → 6.48.0-alpha.1722865614
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/appsync/graphQLApi.d.ts +18 -0
- package/appsync/graphQLApi.js +2 -0
- package/appsync/graphQLApi.js.map +1 -1
- package/chatbot/index.d.ts +6 -0
- package/chatbot/index.js +21 -1
- package/chatbot/index.js.map +1 -1
- package/chatbot/slackChannelConfiguration.d.ts +231 -0
- package/chatbot/slackChannelConfiguration.js +117 -0
- package/chatbot/slackChannelConfiguration.js.map +1 -0
- package/chatbot/teamsChannelConfiguration.d.ts +254 -0
- package/chatbot/teamsChannelConfiguration.js +125 -0
- package/chatbot/teamsChannelConfiguration.js.map +1 -0
- package/datazone/glossary.d.ts +190 -0
- package/datazone/glossary.js +160 -0
- package/datazone/glossary.js.map +1 -0
- package/datazone/index.d.ts +3 -0
- package/datazone/index.js +6 -1
- package/datazone/index.js.map +1 -1
- package/ec2/vpc.d.ts +3 -3
- package/ec2/vpcIpamPoolCidrAllocation.d.ts +1 -1
- package/ec2/vpcIpv6CidrBlockAssociation.d.ts +35 -11
- package/ec2/vpcIpv6CidrBlockAssociation.js +4 -3
- package/ec2/vpcIpv6CidrBlockAssociation.js.map +1 -1
- package/ecr/getRepositoryCreationTemplate.d.ts +110 -0
- package/ecr/getRepositoryCreationTemplate.js +48 -0
- package/ecr/getRepositoryCreationTemplate.js.map +1 -0
- package/ecr/index.d.ts +6 -0
- package/ecr/index.js +9 -1
- package/ecr/index.js.map +1 -1
- package/ecr/repositoryCreationTemplate.d.ts +228 -0
- package/ecr/repositoryCreationTemplate.js +150 -0
- package/ecr/repositoryCreationTemplate.js.map +1 -0
- package/eks/cluster.d.ts +12 -0
- package/eks/cluster.js +2 -0
- package/eks/cluster.js.map +1 -1
- package/eks/getCluster.d.ts +4 -0
- package/eks/getCluster.js.map +1 -1
- package/elasticache/userGroupAssociation.d.ts +0 -4
- package/elasticache/userGroupAssociation.js +0 -4
- package/elasticache/userGroupAssociation.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/pipes/pipe.d.ts +27 -0
- package/pipes/pipe.js +27 -0
- package/pipes/pipe.js.map +1 -1
- package/rds/cluster.d.ts +45 -9
- package/rds/cluster.js +6 -0
- package/rds/cluster.js.map +1 -1
- package/rds/instance.d.ts +12 -0
- package/rds/instance.js +2 -0
- package/rds/instance.js.map +1 -1
- package/s3/bucketNotification.d.ts +1 -1
- package/s3/bucketNotification.js +1 -1
- package/sagemaker/getPrebuiltEcrImage.d.ts +2 -2
- package/sfn/activity.d.ts +34 -0
- package/sfn/activity.js +22 -0
- package/sfn/activity.js.map +1 -1
- package/sfn/stateMachine.d.ts +44 -0
- package/sfn/stateMachine.js +34 -0
- package/sfn/stateMachine.js.map +1 -1
- package/timestreaminfluxdb/dbInstance.d.ts +428 -0
- package/timestreaminfluxdb/dbInstance.js +256 -0
- package/timestreaminfluxdb/dbInstance.js.map +1 -0
- package/timestreaminfluxdb/index.d.ts +3 -0
- package/timestreaminfluxdb/index.js +22 -0
- package/timestreaminfluxdb/index.js.map +1 -0
- package/types/input.d.ts +137 -3
- package/types/input.js.map +1 -1
- package/types/output.d.ts +153 -3
- package/types/output.js.map +1 -1
- package/wafv2/webAcl.d.ts +12 -0
- package/wafv2/webAcl.js +2 -0
- package/wafv2/webAcl.js.map +1 -1
package/appsync/graphQLApi.d.ts
CHANGED
|
@@ -29,6 +29,10 @@ export declare class GraphQLApi extends pulumi.CustomResource {
|
|
|
29
29
|
* Authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA`
|
|
30
30
|
*/
|
|
31
31
|
readonly authenticationType: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Enables and controls the enhanced metrics feature. See `enhancedMetricsConfig` Block for details.
|
|
34
|
+
*/
|
|
35
|
+
readonly enhancedMetricsConfig: pulumi.Output<outputs.appsync.GraphQLApiEnhancedMetricsConfig | undefined>;
|
|
32
36
|
/**
|
|
33
37
|
* Sets the value of the GraphQL API to enable (`ENABLED`) or disable (`DISABLED`) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled. For more information about introspection, see [GraphQL introspection](https://graphql.org/learn/introspection/).
|
|
34
38
|
*/
|
|
@@ -43,6 +47,8 @@ export declare class GraphQLApi extends pulumi.CustomResource {
|
|
|
43
47
|
readonly logConfig: pulumi.Output<outputs.appsync.GraphQLApiLogConfig | undefined>;
|
|
44
48
|
/**
|
|
45
49
|
* User-supplied name for the GraphSQL API.
|
|
50
|
+
*
|
|
51
|
+
* The following arguments are optional:
|
|
46
52
|
*/
|
|
47
53
|
readonly name: pulumi.Output<string>;
|
|
48
54
|
/**
|
|
@@ -120,6 +126,10 @@ export interface GraphQLApiState {
|
|
|
120
126
|
* Authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA`
|
|
121
127
|
*/
|
|
122
128
|
authenticationType?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Enables and controls the enhanced metrics feature. See `enhancedMetricsConfig` Block for details.
|
|
131
|
+
*/
|
|
132
|
+
enhancedMetricsConfig?: pulumi.Input<inputs.appsync.GraphQLApiEnhancedMetricsConfig>;
|
|
123
133
|
/**
|
|
124
134
|
* Sets the value of the GraphQL API to enable (`ENABLED`) or disable (`DISABLED`) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled. For more information about introspection, see [GraphQL introspection](https://graphql.org/learn/introspection/).
|
|
125
135
|
*/
|
|
@@ -134,6 +144,8 @@ export interface GraphQLApiState {
|
|
|
134
144
|
logConfig?: pulumi.Input<inputs.appsync.GraphQLApiLogConfig>;
|
|
135
145
|
/**
|
|
136
146
|
* User-supplied name for the GraphSQL API.
|
|
147
|
+
*
|
|
148
|
+
* The following arguments are optional:
|
|
137
149
|
*/
|
|
138
150
|
name?: pulumi.Input<string>;
|
|
139
151
|
/**
|
|
@@ -199,6 +211,10 @@ export interface GraphQLApiArgs {
|
|
|
199
211
|
* Authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA`
|
|
200
212
|
*/
|
|
201
213
|
authenticationType: pulumi.Input<string>;
|
|
214
|
+
/**
|
|
215
|
+
* Enables and controls the enhanced metrics feature. See `enhancedMetricsConfig` Block for details.
|
|
216
|
+
*/
|
|
217
|
+
enhancedMetricsConfig?: pulumi.Input<inputs.appsync.GraphQLApiEnhancedMetricsConfig>;
|
|
202
218
|
/**
|
|
203
219
|
* Sets the value of the GraphQL API to enable (`ENABLED`) or disable (`DISABLED`) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled. For more information about introspection, see [GraphQL introspection](https://graphql.org/learn/introspection/).
|
|
204
220
|
*/
|
|
@@ -213,6 +229,8 @@ export interface GraphQLApiArgs {
|
|
|
213
229
|
logConfig?: pulumi.Input<inputs.appsync.GraphQLApiLogConfig>;
|
|
214
230
|
/**
|
|
215
231
|
* User-supplied name for the GraphSQL API.
|
|
232
|
+
*
|
|
233
|
+
* The following arguments are optional:
|
|
216
234
|
*/
|
|
217
235
|
name?: pulumi.Input<string>;
|
|
218
236
|
/**
|
package/appsync/graphQLApi.js
CHANGED
|
@@ -36,6 +36,7 @@ class GraphQLApi extends pulumi.CustomResource {
|
|
|
36
36
|
resourceInputs["additionalAuthenticationProviders"] = state ? state.additionalAuthenticationProviders : undefined;
|
|
37
37
|
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
38
38
|
resourceInputs["authenticationType"] = state ? state.authenticationType : undefined;
|
|
39
|
+
resourceInputs["enhancedMetricsConfig"] = state ? state.enhancedMetricsConfig : undefined;
|
|
39
40
|
resourceInputs["introspectionConfig"] = state ? state.introspectionConfig : undefined;
|
|
40
41
|
resourceInputs["lambdaAuthorizerConfig"] = state ? state.lambdaAuthorizerConfig : undefined;
|
|
41
42
|
resourceInputs["logConfig"] = state ? state.logConfig : undefined;
|
|
@@ -58,6 +59,7 @@ class GraphQLApi extends pulumi.CustomResource {
|
|
|
58
59
|
}
|
|
59
60
|
resourceInputs["additionalAuthenticationProviders"] = args ? args.additionalAuthenticationProviders : undefined;
|
|
60
61
|
resourceInputs["authenticationType"] = args ? args.authenticationType : undefined;
|
|
62
|
+
resourceInputs["enhancedMetricsConfig"] = args ? args.enhancedMetricsConfig : undefined;
|
|
61
63
|
resourceInputs["introspectionConfig"] = args ? args.introspectionConfig : undefined;
|
|
62
64
|
resourceInputs["lambdaAuthorizerConfig"] = args ? args.lambdaAuthorizerConfig : undefined;
|
|
63
65
|
resourceInputs["logConfig"] = args ? args.logConfig : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphQLApi.js","sourceRoot":"","sources":["../../appsync/graphQLApi.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;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YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AApKL,gCAqKC;AAvJG,gBAAgB;AACO,uBAAY,GAAG,mCAAmC,CAAC"}
|
package/chatbot/index.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
export { GetSlackWorkspaceArgs, GetSlackWorkspaceResult, GetSlackWorkspaceOutputArgs } from "./getSlackWorkspace";
|
|
2
2
|
export declare const getSlackWorkspace: typeof import("./getSlackWorkspace").getSlackWorkspace;
|
|
3
3
|
export declare const getSlackWorkspaceOutput: typeof import("./getSlackWorkspace").getSlackWorkspaceOutput;
|
|
4
|
+
export { SlackChannelConfigurationArgs, SlackChannelConfigurationState } from "./slackChannelConfiguration";
|
|
5
|
+
export type SlackChannelConfiguration = import("./slackChannelConfiguration").SlackChannelConfiguration;
|
|
6
|
+
export declare const SlackChannelConfiguration: typeof import("./slackChannelConfiguration").SlackChannelConfiguration;
|
|
7
|
+
export { TeamsChannelConfigurationArgs, TeamsChannelConfigurationState } from "./teamsChannelConfiguration";
|
|
8
|
+
export type TeamsChannelConfiguration = import("./teamsChannelConfiguration").TeamsChannelConfiguration;
|
|
9
|
+
export declare const TeamsChannelConfiguration: typeof import("./teamsChannelConfiguration").TeamsChannelConfiguration;
|
package/chatbot/index.js
CHANGED
|
@@ -2,9 +2,29 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.getSlackWorkspaceOutput = exports.getSlackWorkspace = void 0;
|
|
5
|
+
exports.TeamsChannelConfiguration = exports.SlackChannelConfiguration = exports.getSlackWorkspaceOutput = exports.getSlackWorkspace = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("../utilities");
|
|
7
8
|
exports.getSlackWorkspace = null;
|
|
8
9
|
exports.getSlackWorkspaceOutput = null;
|
|
9
10
|
utilities.lazyLoad(exports, ["getSlackWorkspace", "getSlackWorkspaceOutput"], () => require("./getSlackWorkspace"));
|
|
11
|
+
exports.SlackChannelConfiguration = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["SlackChannelConfiguration"], () => require("./slackChannelConfiguration"));
|
|
13
|
+
exports.TeamsChannelConfiguration = null;
|
|
14
|
+
utilities.lazyLoad(exports, ["TeamsChannelConfiguration"], () => require("./teamsChannelConfiguration"));
|
|
15
|
+
const _module = {
|
|
16
|
+
version: utilities.getVersion(),
|
|
17
|
+
construct: (name, type, urn) => {
|
|
18
|
+
switch (type) {
|
|
19
|
+
case "aws:chatbot/slackChannelConfiguration:SlackChannelConfiguration":
|
|
20
|
+
return new exports.SlackChannelConfiguration(name, undefined, { urn });
|
|
21
|
+
case "aws:chatbot/teamsChannelConfiguration:TeamsChannelConfiguration":
|
|
22
|
+
return new exports.TeamsChannelConfiguration(name, undefined, { urn });
|
|
23
|
+
default:
|
|
24
|
+
throw new Error(`unknown resource type ${type}`);
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
pulumi.runtime.registerResourceModule("aws", "chatbot/slackChannelConfiguration", _module);
|
|
29
|
+
pulumi.runtime.registerResourceModule("aws", "chatbot/teamsChannelConfiguration", _module);
|
|
10
30
|
//# sourceMappingURL=index.js.map
|
package/chatbot/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../chatbot/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,0CAA0C;AAI7B,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACxF,QAAA,uBAAuB,GAAiE,IAAW,CAAC;AACjH,SAA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CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mCAAmC,EAAE,OAAO,CAAC,CAAA;AAC1F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mCAAmC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource for managing an AWS Chatbot Slack Channel Configuration.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### Basic Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
*
|
|
15
|
+
* const test = new aws.chatbot.SlackChannelConfiguration("test", {
|
|
16
|
+
* configurationName: "min-slaka-kanal",
|
|
17
|
+
* iamRoleArn: testAwsIamRole.arn,
|
|
18
|
+
* slackChannelId: "C07EZ1ABC23",
|
|
19
|
+
* slackTeamId: "T07EA123LEP",
|
|
20
|
+
* tags: {
|
|
21
|
+
* Name: "min-slaka-kanal",
|
|
22
|
+
* },
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* Using `pulumi import`, import Chatbot Slack Channel Configuration using the `chat_configuration_arn`. For example:
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import aws:chatbot/slackChannelConfiguration:SlackChannelConfiguration example arn:aws:chatbot::012345678901:chat-configuration/slack-channel/min-slaka-kanal
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class SlackChannelConfiguration extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing SlackChannelConfiguration resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SlackChannelConfigurationState, opts?: pulumi.CustomResourceOptions): SlackChannelConfiguration;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of SlackChannelConfiguration. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj: any): obj is SlackChannelConfiguration;
|
|
50
|
+
/**
|
|
51
|
+
* ARN of the Slack channel configuration.
|
|
52
|
+
*/
|
|
53
|
+
readonly chatConfigurationArn: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Name of the Slack channel configuration.
|
|
56
|
+
*/
|
|
57
|
+
readonly configurationName: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* List of IAM policy ARNs that are applied as channel guardrails. The AWS managed `AdministratorAccess` policy is applied by default if this is not set.
|
|
60
|
+
*/
|
|
61
|
+
readonly guardrailPolicyArns: pulumi.Output<string[]>;
|
|
62
|
+
/**
|
|
63
|
+
* User-defined role that AWS Chatbot assumes. This is not the service-linked role.
|
|
64
|
+
*/
|
|
65
|
+
readonly iamRoleArn: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Logging levels include `ERROR`, `INFO`, or `NONE`.
|
|
68
|
+
*/
|
|
69
|
+
readonly loggingLevel: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* ID of the Slack channel. For example, `C07EZ1ABC23`.
|
|
72
|
+
*/
|
|
73
|
+
readonly slackChannelId: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Name of the Slack channel.
|
|
76
|
+
*/
|
|
77
|
+
readonly slackChannelName: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* ID of the Slack workspace authorized with AWS Chatbot. For example, `T07EA123LEP`.
|
|
80
|
+
*
|
|
81
|
+
* The following arguments are optional:
|
|
82
|
+
*/
|
|
83
|
+
readonly slackTeamId: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Name of the Slack team.
|
|
86
|
+
*/
|
|
87
|
+
readonly slackTeamName: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
|
90
|
+
*/
|
|
91
|
+
readonly snsTopicArns: pulumi.Output<string[]>;
|
|
92
|
+
/**
|
|
93
|
+
* Map of tags assigned to the resource.
|
|
94
|
+
*/
|
|
95
|
+
readonly tags: pulumi.Output<{
|
|
96
|
+
[key: string]: string;
|
|
97
|
+
} | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
100
|
+
*
|
|
101
|
+
* @deprecated Please use `tags` instead.
|
|
102
|
+
*/
|
|
103
|
+
readonly tagsAll: pulumi.Output<{
|
|
104
|
+
[key: string]: string;
|
|
105
|
+
}>;
|
|
106
|
+
readonly timeouts: pulumi.Output<outputs.chatbot.SlackChannelConfigurationTimeouts | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* Enables use of a user role requirement in your chat configuration.
|
|
109
|
+
*/
|
|
110
|
+
readonly userAuthorizationRequired: pulumi.Output<boolean>;
|
|
111
|
+
/**
|
|
112
|
+
* Create a SlackChannelConfiguration resource with the given unique name, arguments, and options.
|
|
113
|
+
*
|
|
114
|
+
* @param name The _unique_ name of the resource.
|
|
115
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
116
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
117
|
+
*/
|
|
118
|
+
constructor(name: string, args: SlackChannelConfigurationArgs, opts?: pulumi.CustomResourceOptions);
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Input properties used for looking up and filtering SlackChannelConfiguration resources.
|
|
122
|
+
*/
|
|
123
|
+
export interface SlackChannelConfigurationState {
|
|
124
|
+
/**
|
|
125
|
+
* ARN of the Slack channel configuration.
|
|
126
|
+
*/
|
|
127
|
+
chatConfigurationArn?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Name of the Slack channel configuration.
|
|
130
|
+
*/
|
|
131
|
+
configurationName?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* List of IAM policy ARNs that are applied as channel guardrails. The AWS managed `AdministratorAccess` policy is applied by default if this is not set.
|
|
134
|
+
*/
|
|
135
|
+
guardrailPolicyArns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
136
|
+
/**
|
|
137
|
+
* User-defined role that AWS Chatbot assumes. This is not the service-linked role.
|
|
138
|
+
*/
|
|
139
|
+
iamRoleArn?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* Logging levels include `ERROR`, `INFO`, or `NONE`.
|
|
142
|
+
*/
|
|
143
|
+
loggingLevel?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* ID of the Slack channel. For example, `C07EZ1ABC23`.
|
|
146
|
+
*/
|
|
147
|
+
slackChannelId?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Name of the Slack channel.
|
|
150
|
+
*/
|
|
151
|
+
slackChannelName?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* ID of the Slack workspace authorized with AWS Chatbot. For example, `T07EA123LEP`.
|
|
154
|
+
*
|
|
155
|
+
* The following arguments are optional:
|
|
156
|
+
*/
|
|
157
|
+
slackTeamId?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Name of the Slack team.
|
|
160
|
+
*/
|
|
161
|
+
slackTeamName?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
|
164
|
+
*/
|
|
165
|
+
snsTopicArns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
166
|
+
/**
|
|
167
|
+
* Map of tags assigned to the resource.
|
|
168
|
+
*/
|
|
169
|
+
tags?: pulumi.Input<{
|
|
170
|
+
[key: string]: pulumi.Input<string>;
|
|
171
|
+
}>;
|
|
172
|
+
/**
|
|
173
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
174
|
+
*
|
|
175
|
+
* @deprecated Please use `tags` instead.
|
|
176
|
+
*/
|
|
177
|
+
tagsAll?: pulumi.Input<{
|
|
178
|
+
[key: string]: pulumi.Input<string>;
|
|
179
|
+
}>;
|
|
180
|
+
timeouts?: pulumi.Input<inputs.chatbot.SlackChannelConfigurationTimeouts>;
|
|
181
|
+
/**
|
|
182
|
+
* Enables use of a user role requirement in your chat configuration.
|
|
183
|
+
*/
|
|
184
|
+
userAuthorizationRequired?: pulumi.Input<boolean>;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* The set of arguments for constructing a SlackChannelConfiguration resource.
|
|
188
|
+
*/
|
|
189
|
+
export interface SlackChannelConfigurationArgs {
|
|
190
|
+
/**
|
|
191
|
+
* Name of the Slack channel configuration.
|
|
192
|
+
*/
|
|
193
|
+
configurationName: pulumi.Input<string>;
|
|
194
|
+
/**
|
|
195
|
+
* List of IAM policy ARNs that are applied as channel guardrails. The AWS managed `AdministratorAccess` policy is applied by default if this is not set.
|
|
196
|
+
*/
|
|
197
|
+
guardrailPolicyArns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
198
|
+
/**
|
|
199
|
+
* User-defined role that AWS Chatbot assumes. This is not the service-linked role.
|
|
200
|
+
*/
|
|
201
|
+
iamRoleArn: pulumi.Input<string>;
|
|
202
|
+
/**
|
|
203
|
+
* Logging levels include `ERROR`, `INFO`, or `NONE`.
|
|
204
|
+
*/
|
|
205
|
+
loggingLevel?: pulumi.Input<string>;
|
|
206
|
+
/**
|
|
207
|
+
* ID of the Slack channel. For example, `C07EZ1ABC23`.
|
|
208
|
+
*/
|
|
209
|
+
slackChannelId: pulumi.Input<string>;
|
|
210
|
+
/**
|
|
211
|
+
* ID of the Slack workspace authorized with AWS Chatbot. For example, `T07EA123LEP`.
|
|
212
|
+
*
|
|
213
|
+
* The following arguments are optional:
|
|
214
|
+
*/
|
|
215
|
+
slackTeamId: pulumi.Input<string>;
|
|
216
|
+
/**
|
|
217
|
+
* ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
|
218
|
+
*/
|
|
219
|
+
snsTopicArns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
220
|
+
/**
|
|
221
|
+
* Map of tags assigned to the resource.
|
|
222
|
+
*/
|
|
223
|
+
tags?: pulumi.Input<{
|
|
224
|
+
[key: string]: pulumi.Input<string>;
|
|
225
|
+
}>;
|
|
226
|
+
timeouts?: pulumi.Input<inputs.chatbot.SlackChannelConfigurationTimeouts>;
|
|
227
|
+
/**
|
|
228
|
+
* Enables use of a user role requirement in your chat configuration.
|
|
229
|
+
*/
|
|
230
|
+
userAuthorizationRequired?: pulumi.Input<boolean>;
|
|
231
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.SlackChannelConfiguration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for managing an AWS Chatbot Slack Channel Configuration.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const test = new aws.chatbot.SlackChannelConfiguration("test", {
|
|
20
|
+
* configurationName: "min-slaka-kanal",
|
|
21
|
+
* iamRoleArn: testAwsIamRole.arn,
|
|
22
|
+
* slackChannelId: "C07EZ1ABC23",
|
|
23
|
+
* slackTeamId: "T07EA123LEP",
|
|
24
|
+
* tags: {
|
|
25
|
+
* Name: "min-slaka-kanal",
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* Using `pulumi import`, import Chatbot Slack Channel Configuration using the `chat_configuration_arn`. For example:
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import aws:chatbot/slackChannelConfiguration:SlackChannelConfiguration example arn:aws:chatbot::012345678901:chat-configuration/slack-channel/min-slaka-kanal
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
class SlackChannelConfiguration extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing SlackChannelConfiguration resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name, id, state, opts) {
|
|
49
|
+
return new SlackChannelConfiguration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of SlackChannelConfiguration. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj) {
|
|
56
|
+
if (obj === undefined || obj === null) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return obj['__pulumiType'] === SlackChannelConfiguration.__pulumiType;
|
|
60
|
+
}
|
|
61
|
+
constructor(name, argsOrState, opts) {
|
|
62
|
+
let resourceInputs = {};
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
if (opts.id) {
|
|
65
|
+
const state = argsOrState;
|
|
66
|
+
resourceInputs["chatConfigurationArn"] = state ? state.chatConfigurationArn : undefined;
|
|
67
|
+
resourceInputs["configurationName"] = state ? state.configurationName : undefined;
|
|
68
|
+
resourceInputs["guardrailPolicyArns"] = state ? state.guardrailPolicyArns : undefined;
|
|
69
|
+
resourceInputs["iamRoleArn"] = state ? state.iamRoleArn : undefined;
|
|
70
|
+
resourceInputs["loggingLevel"] = state ? state.loggingLevel : undefined;
|
|
71
|
+
resourceInputs["slackChannelId"] = state ? state.slackChannelId : undefined;
|
|
72
|
+
resourceInputs["slackChannelName"] = state ? state.slackChannelName : undefined;
|
|
73
|
+
resourceInputs["slackTeamId"] = state ? state.slackTeamId : undefined;
|
|
74
|
+
resourceInputs["slackTeamName"] = state ? state.slackTeamName : undefined;
|
|
75
|
+
resourceInputs["snsTopicArns"] = state ? state.snsTopicArns : undefined;
|
|
76
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
77
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
78
|
+
resourceInputs["timeouts"] = state ? state.timeouts : undefined;
|
|
79
|
+
resourceInputs["userAuthorizationRequired"] = state ? state.userAuthorizationRequired : undefined;
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
const args = argsOrState;
|
|
83
|
+
if ((!args || args.configurationName === undefined) && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'configurationName'");
|
|
85
|
+
}
|
|
86
|
+
if ((!args || args.iamRoleArn === undefined) && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'iamRoleArn'");
|
|
88
|
+
}
|
|
89
|
+
if ((!args || args.slackChannelId === undefined) && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'slackChannelId'");
|
|
91
|
+
}
|
|
92
|
+
if ((!args || args.slackTeamId === undefined) && !opts.urn) {
|
|
93
|
+
throw new Error("Missing required property 'slackTeamId'");
|
|
94
|
+
}
|
|
95
|
+
resourceInputs["configurationName"] = args ? args.configurationName : undefined;
|
|
96
|
+
resourceInputs["guardrailPolicyArns"] = args ? args.guardrailPolicyArns : undefined;
|
|
97
|
+
resourceInputs["iamRoleArn"] = args ? args.iamRoleArn : undefined;
|
|
98
|
+
resourceInputs["loggingLevel"] = args ? args.loggingLevel : undefined;
|
|
99
|
+
resourceInputs["slackChannelId"] = args ? args.slackChannelId : undefined;
|
|
100
|
+
resourceInputs["slackTeamId"] = args ? args.slackTeamId : undefined;
|
|
101
|
+
resourceInputs["snsTopicArns"] = args ? args.snsTopicArns : undefined;
|
|
102
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
103
|
+
resourceInputs["timeouts"] = args ? args.timeouts : undefined;
|
|
104
|
+
resourceInputs["userAuthorizationRequired"] = args ? args.userAuthorizationRequired : undefined;
|
|
105
|
+
resourceInputs["chatConfigurationArn"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["slackChannelName"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["slackTeamName"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
109
|
+
}
|
|
110
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
111
|
+
super(SlackChannelConfiguration.__pulumiType, name, resourceInputs, opts);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.SlackChannelConfiguration = SlackChannelConfiguration;
|
|
115
|
+
/** @internal */
|
|
116
|
+
SlackChannelConfiguration.__pulumiType = 'aws:chatbot/slackChannelConfiguration:SlackChannelConfiguration';
|
|
117
|
+
//# sourceMappingURL=slackChannelConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slackChannelConfiguration.js","sourceRoot":"","sources":["../../chatbot/slackChannelConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IAoED,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,q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