@pulumi/aws-native 0.69.0 → 0.69.1-alpha.1690243099

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/README.md CHANGED
@@ -43,6 +43,14 @@ $ make build
43
43
 
44
44
  Add the `bin` folder to your `$PATH` or copy the `bin/pulumi-resource-aws-native` file to another location in your `$PATH`.
45
45
 
46
+ ### Running tests
47
+
48
+ To run unittests, use:
49
+
50
+ ```
51
+ $ make test_provider
52
+ ```
53
+
46
54
  ### Running an example
47
55
 
48
56
  Navigate to the ECS example and run Pulumi:
@@ -57,6 +65,11 @@ $ pulumi up
57
65
 
58
66
  ### Local Development
59
67
 
68
+ #### Additional Build Targets
69
+
70
+ `make build` can be a bit slow as it rebuilds the sdks for every language;
71
+ you can use `make provider` or `make codegen` to just rebuild the provider plugin or codegen binaries
72
+
60
73
  #### Debugging / Logging
61
74
 
62
75
  Oftentimes, it can be informative to investigate the precise requests this provider makes to upstream AWS APIs. By default, the Pulumi CLI writes all of its logs to files rather than stdout or stderr (though this can be overridden with the `--logtostderr` flag). This works to our benefit, however, as the AWS SDK used in this provider writes to stderr by default. To view a trace of all HTTP requests and responses between this provider and AWS APIs, run the Pulumi CLI with the following arguments:
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Resource schema for EC2 EIP association.
3
+ * Resource Type definition for AWS::EC2::EIPAssociation
4
4
  */
5
5
  export declare class EIPAssociation extends pulumi.CustomResource {
6
6
  /**
@@ -17,25 +17,10 @@ export declare class EIPAssociation extends pulumi.CustomResource {
17
17
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
18
  */
19
19
  static isInstance(obj: any): obj is EIPAssociation;
20
- /**
21
- * The allocation ID. This is required for EC2-VPC.
22
- */
23
20
  readonly allocationId: pulumi.Output<string | undefined>;
24
- /**
25
- * The Elastic IP address to associate with the instance.
26
- */
27
21
  readonly eIP: pulumi.Output<string | undefined>;
28
- /**
29
- * The ID of the instance.
30
- */
31
22
  readonly instanceId: pulumi.Output<string | undefined>;
32
- /**
33
- * The ID of the network interface.
34
- */
35
23
  readonly networkInterfaceId: pulumi.Output<string | undefined>;
36
- /**
37
- * The primary or secondary private IP address to associate with the Elastic IP address.
38
- */
39
24
  readonly privateIpAddress: pulumi.Output<string | undefined>;
40
25
  /**
41
26
  * Create a EIPAssociation resource with the given unique name, arguments, and options.
@@ -50,24 +35,9 @@ export declare class EIPAssociation extends pulumi.CustomResource {
50
35
  * The set of arguments for constructing a EIPAssociation resource.
51
36
  */
52
37
  export interface EIPAssociationArgs {
53
- /**
54
- * The allocation ID. This is required for EC2-VPC.
55
- */
56
38
  allocationId?: pulumi.Input<string>;
57
- /**
58
- * The Elastic IP address to associate with the instance.
59
- */
60
39
  eIP?: pulumi.Input<string>;
61
- /**
62
- * The ID of the instance.
63
- */
64
40
  instanceId?: pulumi.Input<string>;
65
- /**
66
- * The ID of the network interface.
67
- */
68
41
  networkInterfaceId?: pulumi.Input<string>;
69
- /**
70
- * The primary or secondary private IP address to associate with the Elastic IP address.
71
- */
72
42
  privateIpAddress?: pulumi.Input<string>;
73
43
  }
@@ -6,7 +6,7 @@ exports.EIPAssociation = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Resource schema for EC2 EIP association.
9
+ * Resource Type definition for AWS::EC2::EIPAssociation
10
10
  */
11
11
  class EIPAssociation extends pulumi.CustomResource {
12
12
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"eipassociation.js","sourceRoot":"","sources":["../../ec2/eipassociation.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,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,I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AAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;aAAM;YACH,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA1DL,wCA2DC;AA9CG,gBAAgB;AACO,2BAAY,GAAG,+BAA+B,CAAC"}
@@ -1,31 +1,23 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Resource schema for EC2 EIP association.
3
+ * Resource Type definition for AWS::EC2::EIPAssociation
4
4
  */
5
5
  export declare function getEIPAssociation(args: GetEIPAssociationArgs, opts?: pulumi.InvokeOptions): Promise<GetEIPAssociationResult>;
6
6
  export interface GetEIPAssociationArgs {
7
- /**
8
- * Composite ID of non-empty properties, to determine the identification.
9
- */
10
7
  id: string;
11
8
  }
12
9
  export interface GetEIPAssociationResult {
13
- /**
14
- * The Elastic IP address to associate with the instance.
15
- */
10
+ readonly allocationId?: string;
16
11
  readonly eIP?: string;
17
- /**
18
- * Composite ID of non-empty properties, to determine the identification.
19
- */
20
12
  readonly id?: string;
13
+ readonly instanceId?: string;
14
+ readonly networkInterfaceId?: string;
15
+ readonly privateIpAddress?: string;
21
16
  }
22
17
  /**
23
- * Resource schema for EC2 EIP association.
18
+ * Resource Type definition for AWS::EC2::EIPAssociation
24
19
  */
25
20
  export declare function getEIPAssociationOutput(args: GetEIPAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEIPAssociationResult>;
26
21
  export interface GetEIPAssociationOutputArgs {
27
- /**
28
- * Composite ID of non-empty properties, to determine the identification.
29
- */
30
22
  id: pulumi.Input<string>;
31
23
  }
@@ -6,7 +6,7 @@ exports.getEIPAssociationOutput = exports.getEIPAssociation = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Resource schema for EC2 EIP association.
9
+ * Resource Type definition for AWS::EC2::EIPAssociation
10
10
  */
11
11
  function getEIPAssociation(args, opts) {
12
12
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -16,7 +16,7 @@ function getEIPAssociation(args, opts) {
16
16
  }
17
17
  exports.getEIPAssociation = getEIPAssociation;
18
18
  /**
19
- * Resource schema for EC2 EIP association.
19
+ * Resource Type definition for AWS::EC2::EIPAssociation
20
20
  */
21
21
  function getEIPAssociationOutput(args, opts) {
22
22
  return pulumi.output(args).apply((a) => getEIPAssociation(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getEIPAssociation.js","sourceRoot":"","sources":["../../ec2/getEIPAssociation.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;AAmBD;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
1
+ {"version":3,"file":"getEIPAssociation.js","sourceRoot":"","sources":["../../ec2/getEIPAssociation.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;AAcD;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
@@ -4,13 +4,59 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  */
5
5
  export declare function getManagedPolicy(args: GetManagedPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetManagedPolicyResult>;
6
6
  export interface GetManagedPolicyArgs {
7
- id: string;
7
+ /**
8
+ * Amazon Resource Name (ARN) of the managed policy
9
+ */
10
+ policyArn: string;
8
11
  }
9
12
  export interface GetManagedPolicyResult {
13
+ /**
14
+ * The number of entities (users, groups, and roles) that the policy is attached to.
15
+ */
16
+ readonly attachmentCount?: number;
17
+ /**
18
+ * The date and time, in ISO 8601 date-time format, when the policy was created.
19
+ */
20
+ readonly createDate?: string;
21
+ /**
22
+ * The identifier for the version of the policy that is set as the default version.
23
+ */
24
+ readonly defaultVersionId?: string;
25
+ /**
26
+ * The name (friendly name, not ARN) of the group to attach the policy to.
27
+ */
10
28
  readonly groups?: string[];
11
- readonly id?: string;
29
+ /**
30
+ * Specifies whether the policy can be attached to an IAM user, group, or role.
31
+ */
32
+ readonly isAttachable?: boolean;
33
+ /**
34
+ * The number of entities (users and roles) for which the policy is used to set the permissions boundary.
35
+ */
36
+ readonly permissionsBoundaryUsageCount?: number;
37
+ /**
38
+ * Amazon Resource Name (ARN) of the managed policy
39
+ */
40
+ readonly policyArn?: string;
41
+ /**
42
+ * The JSON policy document that you want to use as the content for the new policy.
43
+ */
12
44
  readonly policyDocument?: any;
45
+ /**
46
+ * The stable and unique string identifying the policy.
47
+ */
48
+ readonly policyId?: string;
49
+ /**
50
+ * The name (friendly name, not ARN) of the role to attach the policy to.
51
+ */
13
52
  readonly roles?: string[];
53
+ /**
54
+ * The date and time, in ISO 8601 date-time format, when the policy was last updated.
55
+ */
56
+ readonly updateDate?: string;
57
+ /**
58
+ * The name (friendly name, not ARN) of the IAM user to attach the policy to.
59
+ */
14
60
  readonly users?: string[];
15
61
  }
16
62
  /**
@@ -18,5 +64,8 @@ export interface GetManagedPolicyResult {
18
64
  */
19
65
  export declare function getManagedPolicyOutput(args: GetManagedPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetManagedPolicyResult>;
20
66
  export interface GetManagedPolicyOutputArgs {
21
- id: pulumi.Input<string>;
67
+ /**
68
+ * Amazon Resource Name (ARN) of the managed policy
69
+ */
70
+ policyArn: pulumi.Input<string>;
22
71
  }
@@ -11,7 +11,7 @@ const utilities = require("../utilities");
11
11
  function getManagedPolicy(args, opts) {
12
12
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
13
  return pulumi.runtime.invoke("aws-native:iam:getManagedPolicy", {
14
- "id": args.id,
14
+ "policyArn": args.policyArn,
15
15
  }, opts);
16
16
  }
17
17
  exports.getManagedPolicy = getManagedPolicy;
@@ -1 +1 @@
1
- {"version":3,"file":"getManagedPolicy.js","sourceRoot":"","sources":["../../iam/getManagedPolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AAaD;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
1
+ {"version":3,"file":"getManagedPolicy.js","sourceRoot":"","sources":["../../iam/getManagedPolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AA2DD;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
@@ -1,8 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Resource Type definition for AWS::IAM::ManagedPolicy
4
- *
5
- * @deprecated ManagedPolicy is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
6
4
  */
7
5
  export declare class ManagedPolicy extends pulumi.CustomResource {
8
6
  /**
@@ -19,12 +17,65 @@ export declare class ManagedPolicy extends pulumi.CustomResource {
19
17
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
18
  */
21
19
  static isInstance(obj: any): obj is ManagedPolicy;
20
+ /**
21
+ * The number of entities (users, groups, and roles) that the policy is attached to.
22
+ */
23
+ readonly attachmentCount: pulumi.Output<number>;
24
+ /**
25
+ * The date and time, in ISO 8601 date-time format, when the policy was created.
26
+ */
27
+ readonly createDate: pulumi.Output<string>;
28
+ /**
29
+ * The identifier for the version of the policy that is set as the default version.
30
+ */
31
+ readonly defaultVersionId: pulumi.Output<string>;
32
+ /**
33
+ * A friendly description of the policy.
34
+ */
22
35
  readonly description: pulumi.Output<string | undefined>;
36
+ /**
37
+ * The name (friendly name, not ARN) of the group to attach the policy to.
38
+ */
23
39
  readonly groups: pulumi.Output<string[] | undefined>;
40
+ /**
41
+ * Specifies whether the policy can be attached to an IAM user, group, or role.
42
+ */
43
+ readonly isAttachable: pulumi.Output<boolean>;
44
+ /**
45
+ * The friendly name of the policy.
46
+ */
24
47
  readonly managedPolicyName: pulumi.Output<string | undefined>;
48
+ /**
49
+ * The path for the policy.
50
+ */
25
51
  readonly path: pulumi.Output<string | undefined>;
52
+ /**
53
+ * The number of entities (users and roles) for which the policy is used to set the permissions boundary.
54
+ */
55
+ readonly permissionsBoundaryUsageCount: pulumi.Output<number>;
56
+ /**
57
+ * Amazon Resource Name (ARN) of the managed policy
58
+ */
59
+ readonly policyArn: pulumi.Output<string>;
60
+ /**
61
+ * The JSON policy document that you want to use as the content for the new policy.
62
+ */
26
63
  readonly policyDocument: pulumi.Output<any>;
64
+ /**
65
+ * The stable and unique string identifying the policy.
66
+ */
67
+ readonly policyId: pulumi.Output<string>;
68
+ /**
69
+ * The name (friendly name, not ARN) of the role to attach the policy to.
70
+ */
27
71
  readonly roles: pulumi.Output<string[] | undefined>;
72
+ /**
73
+ * The date and time, in ISO 8601 date-time format, when the policy was last updated.
74
+ */
75
+ readonly updateDate: pulumi.Output<string>;
76
+ /**
77
+ * The name (friendly name, not ARN) of the IAM user to attach the policy to.
78
+ */
28
79
  readonly users: pulumi.Output<string[] | undefined>;
29
80
  /**
30
81
  * Create a ManagedPolicy resource with the given unique name, arguments, and options.
@@ -33,18 +84,38 @@ export declare class ManagedPolicy extends pulumi.CustomResource {
33
84
  * @param args The arguments to use to populate this resource's properties.
34
85
  * @param opts A bag of options that control this resource's behavior.
35
86
  */
36
- /** @deprecated ManagedPolicy is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
37
87
  constructor(name: string, args: ManagedPolicyArgs, opts?: pulumi.CustomResourceOptions);
38
88
  }
39
89
  /**
40
90
  * The set of arguments for constructing a ManagedPolicy resource.
41
91
  */
42
92
  export interface ManagedPolicyArgs {
93
+ /**
94
+ * A friendly description of the policy.
95
+ */
43
96
  description?: pulumi.Input<string>;
97
+ /**
98
+ * The name (friendly name, not ARN) of the group to attach the policy to.
99
+ */
44
100
  groups?: pulumi.Input<pulumi.Input<string>[]>;
101
+ /**
102
+ * The friendly name of the policy.
103
+ */
45
104
  managedPolicyName?: pulumi.Input<string>;
105
+ /**
106
+ * The path for the policy.
107
+ */
46
108
  path?: pulumi.Input<string>;
109
+ /**
110
+ * The JSON policy document that you want to use as the content for the new policy.
111
+ */
47
112
  policyDocument: any;
113
+ /**
114
+ * The name (friendly name, not ARN) of the role to attach the policy to.
115
+ */
48
116
  roles?: pulumi.Input<pulumi.Input<string>[]>;
117
+ /**
118
+ * The name (friendly name, not ARN) of the IAM user to attach the policy to.
119
+ */
49
120
  users?: pulumi.Input<pulumi.Input<string>[]>;
50
121
  }
@@ -7,8 +7,6 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
9
  * Resource Type definition for AWS::IAM::ManagedPolicy
10
- *
11
- * @deprecated ManagedPolicy is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
12
10
  */
13
11
  class ManagedPolicy extends pulumi.CustomResource {
14
12
  /**
@@ -20,7 +18,6 @@ class ManagedPolicy extends pulumi.CustomResource {
20
18
  * @param opts Optional settings to control the behavior of the CustomResource.
21
19
  */
22
20
  static get(name, id, opts) {
23
- pulumi.log.warn("ManagedPolicy is deprecated: ManagedPolicy is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
24
21
  return new ManagedPolicy(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
25
22
  }
26
23
  /**
@@ -40,9 +37,7 @@ class ManagedPolicy extends pulumi.CustomResource {
40
37
  * @param args The arguments to use to populate this resource's properties.
41
38
  * @param opts A bag of options that control this resource's behavior.
42
39
  */
43
- /** @deprecated ManagedPolicy is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
44
40
  constructor(name, args, opts) {
45
- pulumi.log.warn("ManagedPolicy is deprecated: ManagedPolicy is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
46
41
  let resourceInputs = {};
47
42
  opts = opts || {};
48
43
  if (!opts.id) {
@@ -56,14 +51,30 @@ class ManagedPolicy extends pulumi.CustomResource {
56
51
  resourceInputs["policyDocument"] = args ? args.policyDocument : undefined;
57
52
  resourceInputs["roles"] = args ? args.roles : undefined;
58
53
  resourceInputs["users"] = args ? args.users : undefined;
54
+ resourceInputs["attachmentCount"] = undefined /*out*/;
55
+ resourceInputs["createDate"] = undefined /*out*/;
56
+ resourceInputs["defaultVersionId"] = undefined /*out*/;
57
+ resourceInputs["isAttachable"] = undefined /*out*/;
58
+ resourceInputs["permissionsBoundaryUsageCount"] = undefined /*out*/;
59
+ resourceInputs["policyArn"] = undefined /*out*/;
60
+ resourceInputs["policyId"] = undefined /*out*/;
61
+ resourceInputs["updateDate"] = undefined /*out*/;
59
62
  }
60
63
  else {
64
+ resourceInputs["attachmentCount"] = undefined /*out*/;
65
+ resourceInputs["createDate"] = undefined /*out*/;
66
+ resourceInputs["defaultVersionId"] = undefined /*out*/;
61
67
  resourceInputs["description"] = undefined /*out*/;
62
68
  resourceInputs["groups"] = undefined /*out*/;
69
+ resourceInputs["isAttachable"] = undefined /*out*/;
63
70
  resourceInputs["managedPolicyName"] = undefined /*out*/;
64
71
  resourceInputs["path"] = undefined /*out*/;
72
+ resourceInputs["permissionsBoundaryUsageCount"] = undefined /*out*/;
73
+ resourceInputs["policyArn"] = undefined /*out*/;
65
74
  resourceInputs["policyDocument"] = undefined /*out*/;
75
+ resourceInputs["policyId"] = undefined /*out*/;
66
76
  resourceInputs["roles"] = undefined /*out*/;
77
+ resourceInputs["updateDate"] = undefined /*out*/;
67
78
  resourceInputs["users"] = undefined /*out*/;
68
79
  }
69
80
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"managedPolicy.js","sourceRoot":"","sources":["../../iam/managedPolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;GAIG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,uKAAuK,CAAC,CAAA;QACxL,OAAO,IAAI,aAAa,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAUD;;;;;;OAMG;IACH,2JAA2J;IAC3J,YAAY,IAAY,EAAE,IAAuB,EAAE,IAAmC;QAClF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,uKAAuK,CAAC,CAAA;QACxL,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,G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GAAG,8BAA8B,CAAC"}
package/kms/getKey.d.ts CHANGED
@@ -39,6 +39,10 @@ export interface GetKeyResult {
39
39
  * Specifies whether the AWS KMS key should be Multi-Region. You can't change the MultiRegion value after the AWS KMS key is created.
40
40
  */
41
41
  readonly multiRegion?: boolean;
42
+ /**
43
+ * The source of the key material for the KMS key. You cannot change the origin after you create the KMS key. The default is AWS_KMS, which means that AWS KMS creates the key material.
44
+ */
45
+ readonly origin?: enums.kms.KeyOrigin;
42
46
  /**
43
47
  * An array of key-value pairs to apply to this resource.
44
48
  */
package/kms/getKey.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getKey.js","sourceRoot":"","sources":["../../kms/getKey.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAEhE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uBAAuB,EAAE;QAClD,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wBAMC;AA0CD;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,oCAEC"}
1
+ {"version":3,"file":"getKey.js","sourceRoot":"","sources":["../../kms/getKey.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAEhE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uBAAuB,EAAE;QAClD,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wBAMC;AA8CD;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,oCAEC"}
package/kms/key.d.ts CHANGED
@@ -50,6 +50,10 @@ export declare class Key extends pulumi.CustomResource {
50
50
  * Specifies whether the AWS KMS key should be Multi-Region. You can't change the MultiRegion value after the AWS KMS key is created.
51
51
  */
52
52
  readonly multiRegion: pulumi.Output<boolean | undefined>;
53
+ /**
54
+ * The source of the key material for the KMS key. You cannot change the origin after you create the KMS key. The default is AWS_KMS, which means that AWS KMS creates the key material.
55
+ */
56
+ readonly origin: pulumi.Output<enums.kms.KeyOrigin | undefined>;
53
57
  /**
54
58
  * Specifies the number of days in the waiting period before AWS KMS deletes an AWS KMS key that has been removed from a CloudFormation stack. Enter a value between 7 and 30 days. The default value is 30 days.
55
59
  */
@@ -99,6 +103,10 @@ export interface KeyArgs {
99
103
  * Specifies whether the AWS KMS key should be Multi-Region. You can't change the MultiRegion value after the AWS KMS key is created.
100
104
  */
101
105
  multiRegion?: pulumi.Input<boolean>;
106
+ /**
107
+ * The source of the key material for the KMS key. You cannot change the origin after you create the KMS key. The default is AWS_KMS, which means that AWS KMS creates the key material.
108
+ */
109
+ origin?: pulumi.Input<enums.kms.KeyOrigin>;
102
110
  /**
103
111
  * Specifies the number of days in the waiting period before AWS KMS deletes an AWS KMS key that has been removed from a CloudFormation stack. Enter a value between 7 and 30 days. The default value is 30 days.
104
112
  */
package/kms/key.js CHANGED
@@ -51,6 +51,7 @@ class Key extends pulumi.CustomResource {
51
51
  resourceInputs["keySpec"] = args ? args.keySpec : undefined;
52
52
  resourceInputs["keyUsage"] = args ? args.keyUsage : undefined;
53
53
  resourceInputs["multiRegion"] = args ? args.multiRegion : undefined;
54
+ resourceInputs["origin"] = args ? args.origin : undefined;
54
55
  resourceInputs["pendingWindowInDays"] = args ? args.pendingWindowInDays : undefined;
55
56
  resourceInputs["tags"] = args ? args.tags : undefined;
56
57
  resourceInputs["arn"] = undefined /*out*/;
@@ -66,6 +67,7 @@ class Key extends pulumi.CustomResource {
66
67
  resourceInputs["keySpec"] = undefined /*out*/;
67
68
  resourceInputs["keyUsage"] = undefined /*out*/;
68
69
  resourceInputs["multiRegion"] = undefined /*out*/;
70
+ resourceInputs["origin"] = undefined /*out*/;
69
71
  resourceInputs["pendingWindowInDays"] = undefined /*out*/;
70
72
  resourceInputs["tags"] = undefined /*out*/;
71
73
  }
package/kms/key.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"key.js","sourceRoot":"","sources":["../../kms/key.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,GAAG,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;Q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CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,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,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AAhHL,kBAiHC;AApGG,gBAAgB;AACO,gBAAY,GAAG,oBAAoB,CAAC"}
@@ -2,8 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as enums from "../types/enums";
3
3
  /**
4
4
  * The AWS::Logs::AccountPolicy resource specifies a CloudWatch Logs AccountPolicy.
5
- *
6
- * @deprecated AccountPolicy is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
7
5
  */
8
6
  export declare class AccountPolicy extends pulumi.CustomResource {
9
7
  /**
@@ -53,7 +51,6 @@ export declare class AccountPolicy extends pulumi.CustomResource {
53
51
  * @param args The arguments to use to populate this resource's properties.
54
52
  * @param opts A bag of options that control this resource's behavior.
55
53
  */
56
- /** @deprecated AccountPolicy is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
57
54
  constructor(name: string, args: AccountPolicyArgs, opts?: pulumi.CustomResourceOptions);
58
55
  }
59
56
  /**
@@ -7,8 +7,6 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
9
  * The AWS::Logs::AccountPolicy resource specifies a CloudWatch Logs AccountPolicy.
10
- *
11
- * @deprecated AccountPolicy is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
12
10
  */
13
11
  class AccountPolicy extends pulumi.CustomResource {
14
12
  /**
@@ -20,7 +18,6 @@ class AccountPolicy extends pulumi.CustomResource {
20
18
  * @param opts Optional settings to control the behavior of the CustomResource.
21
19
  */
22
20
  static get(name, id, opts) {
23
- pulumi.log.warn("AccountPolicy is deprecated: AccountPolicy is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
24
21
  return new AccountPolicy(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
25
22
  }
26
23
  /**
@@ -40,9 +37,7 @@ class AccountPolicy extends pulumi.CustomResource {
40
37
  * @param args The arguments to use to populate this resource's properties.
41
38
  * @param opts A bag of options that control this resource's behavior.
42
39
  */
43
- /** @deprecated AccountPolicy is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
44
40
  constructor(name, args, opts) {
45
- pulumi.log.warn("AccountPolicy is deprecated: AccountPolicy is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
46
41
  let resourceInputs = {};
47
42
  opts = opts || {};
48
43
  if (!opts.id) {
@@ -1 +1 @@
1
- {"version":3,"file":"accountPolicy.js","sourceRoot":"","sources":["../../logs/accountPolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;GAIG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,u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ClE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;aAAM;YACH,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAxFL,sCAyFC;AA5EG,gBAAgB;AACO,0BAAY,GAAG,+BAA+B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/aws-native",
3
- "version": "v0.69.0",
3
+ "version": "v0.69.1-alpha.1690243099+f47223f8",
4
4
  "keywords": [
5
5
  "pulumi",
6
6
  "aws",
@@ -13,7 +13,7 @@
13
13
  "license": "Apache-2.0",
14
14
  "scripts": {
15
15
  "build": "tsc",
16
- "install": "node scripts/install-pulumi-plugin.js resource aws-native v0.69.0"
16
+ "install": "node scripts/install-pulumi-plugin.js resource aws-native v0.69.1-alpha.1690243099+f47223f8"
17
17
  },
18
18
  "dependencies": {
19
19
  "@pulumi/pulumi": "^3.0.0",
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/aws-native",
3
- "version": "v0.69.0",
3
+ "version": "v0.69.1-alpha.1690243099+f47223f8",
4
4
  "keywords": [
5
5
  "pulumi",
6
6
  "aws",
@@ -13,7 +13,7 @@
13
13
  "license": "Apache-2.0",
14
14
  "scripts": {
15
15
  "build": "tsc",
16
- "install": "node scripts/install-pulumi-plugin.js resource aws-native v0.69.0"
16
+ "install": "node scripts/install-pulumi-plugin.js resource aws-native v0.69.1-alpha.1690243099+f47223f8"
17
17
  },
18
18
  "dependencies": {
19
19
  "@pulumi/pulumi": "^3.0.0",
@@ -0,0 +1,27 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Schema for AWS::SNS::TopicInlinePolicy
4
+ */
5
+ export declare function getTopicInlinePolicy(args: GetTopicInlinePolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetTopicInlinePolicyResult>;
6
+ export interface GetTopicInlinePolicyArgs {
7
+ /**
8
+ * The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
9
+ */
10
+ topicArn: string;
11
+ }
12
+ export interface GetTopicInlinePolicyResult {
13
+ /**
14
+ * A policy document that contains permissions to add to the specified SNS topics.
15
+ */
16
+ readonly policyDocument?: any;
17
+ }
18
+ /**
19
+ * Schema for AWS::SNS::TopicInlinePolicy
20
+ */
21
+ export declare function getTopicInlinePolicyOutput(args: GetTopicInlinePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTopicInlinePolicyResult>;
22
+ export interface GetTopicInlinePolicyOutputArgs {
23
+ /**
24
+ * The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
25
+ */
26
+ topicArn: pulumi.Input<string>;
27
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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.getTopicInlinePolicyOutput = exports.getTopicInlinePolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Schema for AWS::SNS::TopicInlinePolicy
10
+ */
11
+ function getTopicInlinePolicy(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("aws-native:sns:getTopicInlinePolicy", {
14
+ "topicArn": args.topicArn,
15
+ }, opts);
16
+ }
17
+ exports.getTopicInlinePolicy = getTopicInlinePolicy;
18
+ /**
19
+ * Schema for AWS::SNS::TopicInlinePolicy
20
+ */
21
+ function getTopicInlinePolicyOutput(args, opts) {
22
+ return pulumi.output(args).apply((a) => getTopicInlinePolicy(a, opts));
23
+ }
24
+ exports.getTopicInlinePolicyOutput = getTopicInlinePolicyOutput;
25
+ //# sourceMappingURL=getTopicInlinePolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTopicInlinePolicy.js","sourceRoot":"","sources":["../../sns/getTopicInlinePolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAE5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;AAeD;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
package/sns/index.d.ts CHANGED
@@ -4,6 +4,9 @@ export declare const getSubscriptionOutput: typeof import("./getSubscription").g
4
4
  export { GetTopicArgs, GetTopicResult, GetTopicOutputArgs } from "./getTopic";
5
5
  export declare const getTopic: typeof import("./getTopic").getTopic;
6
6
  export declare const getTopicOutput: typeof import("./getTopic").getTopicOutput;
7
+ export { GetTopicInlinePolicyArgs, GetTopicInlinePolicyResult, GetTopicInlinePolicyOutputArgs } from "./getTopicInlinePolicy";
8
+ export declare const getTopicInlinePolicy: typeof import("./getTopicInlinePolicy").getTopicInlinePolicy;
9
+ export declare const getTopicInlinePolicyOutput: typeof import("./getTopicInlinePolicy").getTopicInlinePolicyOutput;
7
10
  export { GetTopicPolicyArgs, GetTopicPolicyResult, GetTopicPolicyOutputArgs } from "./getTopicPolicy";
8
11
  export declare const getTopicPolicy: typeof import("./getTopicPolicy").getTopicPolicy;
9
12
  export declare const getTopicPolicyOutput: typeof import("./getTopicPolicy").getTopicPolicyOutput;
@@ -13,6 +16,9 @@ export declare const Subscription: typeof import("./subscription").Subscription;
13
16
  export { TopicArgs } from "./topic";
14
17
  export type Topic = import("./topic").Topic;
15
18
  export declare const Topic: typeof import("./topic").Topic;
19
+ export { TopicInlinePolicyArgs } from "./topicInlinePolicy";
20
+ export type TopicInlinePolicy = import("./topicInlinePolicy").TopicInlinePolicy;
21
+ export declare const TopicInlinePolicy: typeof import("./topicInlinePolicy").TopicInlinePolicy;
16
22
  export { TopicPolicyArgs } from "./topicPolicy";
17
23
  export type TopicPolicy = import("./topicPolicy").TopicPolicy;
18
24
  export declare const TopicPolicy: typeof import("./topicPolicy").TopicPolicy;
package/sns/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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.TopicPolicy = exports.Topic = exports.Subscription = exports.getTopicPolicyOutput = exports.getTopicPolicy = exports.getTopicOutput = exports.getTopic = exports.getSubscriptionOutput = exports.getSubscription = void 0;
5
+ exports.TopicPolicy = exports.TopicInlinePolicy = exports.Topic = exports.Subscription = exports.getTopicPolicyOutput = exports.getTopicPolicy = exports.getTopicInlinePolicyOutput = exports.getTopicInlinePolicy = exports.getTopicOutput = exports.getTopic = exports.getSubscriptionOutput = exports.getSubscription = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.getSubscription = null;
@@ -11,6 +11,9 @@ utilities.lazyLoad(exports, ["getSubscription", "getSubscriptionOutput"], () =>
11
11
  exports.getTopic = null;
12
12
  exports.getTopicOutput = null;
13
13
  utilities.lazyLoad(exports, ["getTopic", "getTopicOutput"], () => require("./getTopic"));
14
+ exports.getTopicInlinePolicy = null;
15
+ exports.getTopicInlinePolicyOutput = null;
16
+ utilities.lazyLoad(exports, ["getTopicInlinePolicy", "getTopicInlinePolicyOutput"], () => require("./getTopicInlinePolicy"));
14
17
  exports.getTopicPolicy = null;
15
18
  exports.getTopicPolicyOutput = null;
16
19
  utilities.lazyLoad(exports, ["getTopicPolicy", "getTopicPolicyOutput"], () => require("./getTopicPolicy"));
@@ -18,6 +21,8 @@ exports.Subscription = null;
18
21
  utilities.lazyLoad(exports, ["Subscription"], () => require("./subscription"));
19
22
  exports.Topic = null;
20
23
  utilities.lazyLoad(exports, ["Topic"], () => require("./topic"));
24
+ exports.TopicInlinePolicy = null;
25
+ utilities.lazyLoad(exports, ["TopicInlinePolicy"], () => require("./topicInlinePolicy"));
21
26
  exports.TopicPolicy = null;
22
27
  utilities.lazyLoad(exports, ["TopicPolicy"], () => require("./topicPolicy"));
23
28
  const _module = {
@@ -28,6 +33,8 @@ const _module = {
28
33
  return new exports.Subscription(name, undefined, { urn });
29
34
  case "aws-native:sns:Topic":
30
35
  return new exports.Topic(name, undefined, { urn });
36
+ case "aws-native:sns:TopicInlinePolicy":
37
+ return new exports.TopicInlinePolicy(name, undefined, { urn });
31
38
  case "aws-native:sns:TopicPolicy":
32
39
  return new exports.TopicPolicy(name, undefined, { urn });
33
40
  default:
package/sns/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../sns/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,eAAe,GAAuD,IAAW,CAAC;AAClF,QAAA,qBAAqB,GAA6D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,EAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAGhG,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,EAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAG3E,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC/E,QAAA,oBAAoB,GAA2D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,EAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAI7F,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIlE,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EA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C,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAG7E,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,6BAA6B;gBAC9B,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,sBAAsB;gBACvB,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD,KAAK,kCAAkC;gBACnC,OAAO,IAAI,yBAAiB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC/D,KAAK,4BAA4B;gBAC7B,OAAO,IAAI,mBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,KAAK,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,49 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Schema for AWS::SNS::TopicInlinePolicy
4
+ */
5
+ export declare class TopicInlinePolicy extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing TopicInlinePolicy 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): TopicInlinePolicy;
15
+ /**
16
+ * Returns true if the given object is an instance of TopicInlinePolicy. 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 TopicInlinePolicy;
20
+ /**
21
+ * A policy document that contains permissions to add to the specified SNS topics.
22
+ */
23
+ readonly policyDocument: pulumi.Output<any>;
24
+ /**
25
+ * The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
26
+ */
27
+ readonly topicArn: pulumi.Output<string>;
28
+ /**
29
+ * Create a TopicInlinePolicy resource with the given unique name, arguments, and options.
30
+ *
31
+ * @param name The _unique_ name of the resource.
32
+ * @param args The arguments to use to populate this resource's properties.
33
+ * @param opts A bag of options that control this resource's behavior.
34
+ */
35
+ constructor(name: string, args: TopicInlinePolicyArgs, opts?: pulumi.CustomResourceOptions);
36
+ }
37
+ /**
38
+ * The set of arguments for constructing a TopicInlinePolicy resource.
39
+ */
40
+ export interface TopicInlinePolicyArgs {
41
+ /**
42
+ * A policy document that contains permissions to add to the specified SNS topics.
43
+ */
44
+ policyDocument: any;
45
+ /**
46
+ * The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
47
+ */
48
+ topicArn: pulumi.Input<string>;
49
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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.TopicInlinePolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Schema for AWS::SNS::TopicInlinePolicy
10
+ */
11
+ class TopicInlinePolicy extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing TopicInlinePolicy 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 TopicInlinePolicy(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of TopicInlinePolicy. 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'] === TopicInlinePolicy.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a TopicInlinePolicy 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.topicArn === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'topicArn'");
49
+ }
50
+ resourceInputs["policyDocument"] = args ? args.policyDocument : undefined;
51
+ resourceInputs["topicArn"] = args ? args.topicArn : undefined;
52
+ }
53
+ else {
54
+ resourceInputs["policyDocument"] = undefined /*out*/;
55
+ resourceInputs["topicArn"] = undefined /*out*/;
56
+ }
57
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
58
+ super(TopicInlinePolicy.__pulumiType, name, resourceInputs, opts);
59
+ }
60
+ }
61
+ exports.TopicInlinePolicy = TopicInlinePolicy;
62
+ /** @internal */
63
+ TopicInlinePolicy.__pulumiType = 'aws-native:sns:TopicInlinePolicy';
64
+ //# sourceMappingURL=topicInlinePolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"topicInlinePolicy.js","sourceRoot":"","sources":["../../sns/topicInlinePolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFA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CAAC,SAAS,CAAC;SACjE;aAAM;YACH,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA7DL,8CA8DC;AAjDG,gBAAgB;AACO,8BAAY,GAAG,kCAAkC,CAAC"}
@@ -1,3 +1,11 @@
1
+ export declare const KeyOrigin: {
2
+ readonly AwsKms: "AWS_KMS";
3
+ readonly External: "EXTERNAL";
4
+ };
5
+ /**
6
+ * The source of the key material for the KMS key. You cannot change the origin after you create the KMS key. The default is AWS_KMS, which means that AWS KMS creates the key material.
7
+ */
8
+ export type KeyOrigin = (typeof KeyOrigin)[keyof typeof KeyOrigin];
1
9
  export declare const KeySpec: {
2
10
  readonly SymmetricDefault: "SYMMETRIC_DEFAULT";
3
11
  readonly Rsa2048: "RSA_2048";
@@ -2,7 +2,11 @@
2
2
  // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
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.KeyUsage = exports.KeySpec = void 0;
5
+ exports.KeyUsage = exports.KeySpec = exports.KeyOrigin = void 0;
6
+ exports.KeyOrigin = {
7
+ AwsKms: "AWS_KMS",
8
+ External: "EXTERNAL",
9
+ };
6
10
  exports.KeySpec = {
7
11
  SymmetricDefault: "SYMMETRIC_DEFAULT",
8
12
  Rsa2048: "RSA_2048",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/enums/kms/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAGpE,QAAA,OAAO,GAAG;IACnB,gBAAgB,EAAE,mBAAmB;IACrC,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,UAAU;IACnB,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,UAAU;IACnB,GAAG,EAAE,KAAK;CACJ,CAAC;AAOE,QAAA,QAAQ,GAAG;IACpB,cAAc,EAAE,iBAAiB;IACjC,UAAU,EAAE,aAAa;IACzB,iBAAiB,EAAE,qBAAqB;CAClC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/enums/kms/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAGpE,QAAA,SAAS,GAAG;IACrB,MAAM,EAAE,SAAS;IACjB,QAAQ,EAAE,UAAU;CACd,CAAC;AAOE,QAAA,OAAO,GAAG;IACnB,gBAAgB,EAAE,mBAAmB;IACrC,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,UAAU;IACnB,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,UAAU;IACnB,GAAG,EAAE,KAAK;CACJ,CAAC;AAOE,QAAA,QAAQ,GAAG;IACpB,cAAc,EAAE,iBAAiB;IACjC,UAAU,EAAE,aAAa;IACzB,iBAAiB,EAAE,qBAAqB;CAClC,CAAC"}
package/types/input.d.ts CHANGED
@@ -14583,6 +14583,10 @@ export declare namespace fsx {
14583
14583
  key: pulumi.Input<string>;
14584
14584
  value: pulumi.Input<string>;
14585
14585
  }
14586
+ interface VolumeAutocommitPeriodArgs {
14587
+ type: pulumi.Input<string>;
14588
+ value?: pulumi.Input<number>;
14589
+ }
14586
14590
  interface VolumeClientConfigurationsArgs {
14587
14591
  clients: pulumi.Input<string>;
14588
14592
  options: pulumi.Input<pulumi.Input<string>[]>;
@@ -14596,6 +14600,7 @@ export declare namespace fsx {
14596
14600
  ontapVolumeType?: pulumi.Input<string>;
14597
14601
  securityStyle?: pulumi.Input<string>;
14598
14602
  sizeInMegabytes: pulumi.Input<string>;
14603
+ snaplockConfiguration?: pulumi.Input<inputs.fsx.VolumeSnaplockConfigurationArgs>;
14599
14604
  snapshotPolicy?: pulumi.Input<string>;
14600
14605
  storageEfficiencyEnabled?: pulumi.Input<string>;
14601
14606
  storageVirtualMachineId: pulumi.Input<string>;
@@ -14618,6 +14623,23 @@ export declare namespace fsx {
14618
14623
  copyStrategy: pulumi.Input<string>;
14619
14624
  snapshotARN: pulumi.Input<string>;
14620
14625
  }
14626
+ interface VolumeRetentionPeriodArgs {
14627
+ type: pulumi.Input<string>;
14628
+ value?: pulumi.Input<number>;
14629
+ }
14630
+ interface VolumeSnaplockConfigurationArgs {
14631
+ auditLogVolume?: pulumi.Input<string>;
14632
+ autocommitPeriod?: pulumi.Input<inputs.fsx.VolumeAutocommitPeriodArgs>;
14633
+ privilegedDelete?: pulumi.Input<string>;
14634
+ retentionPeriod?: pulumi.Input<inputs.fsx.VolumeSnaplockRetentionPeriodArgs>;
14635
+ snaplockType: pulumi.Input<string>;
14636
+ volumeAppendModeEnabled?: pulumi.Input<string>;
14637
+ }
14638
+ interface VolumeSnaplockRetentionPeriodArgs {
14639
+ defaultRetention: pulumi.Input<inputs.fsx.VolumeRetentionPeriodArgs>;
14640
+ maximumRetention: pulumi.Input<inputs.fsx.VolumeRetentionPeriodArgs>;
14641
+ minimumRetention: pulumi.Input<inputs.fsx.VolumeRetentionPeriodArgs>;
14642
+ }
14621
14643
  interface VolumeTagArgs {
14622
14644
  key: pulumi.Input<string>;
14623
14645
  value: pulumi.Input<string>;
@@ -39464,7 +39486,14 @@ export declare namespace sagemaker {
39464
39486
  }
39465
39487
  interface EndpointDeploymentConfigArgs {
39466
39488
  autoRollbackConfiguration?: pulumi.Input<inputs.sagemaker.EndpointAutoRollbackConfigArgs>;
39467
- blueGreenUpdatePolicy: pulumi.Input<inputs.sagemaker.EndpointBlueGreenUpdatePolicyArgs>;
39489
+ blueGreenUpdatePolicy?: pulumi.Input<inputs.sagemaker.EndpointBlueGreenUpdatePolicyArgs>;
39490
+ rollingUpdatePolicy?: pulumi.Input<inputs.sagemaker.EndpointRollingUpdatePolicyArgs>;
39491
+ }
39492
+ interface EndpointRollingUpdatePolicyArgs {
39493
+ maximumBatchSize: pulumi.Input<inputs.sagemaker.EndpointCapacitySizeArgs>;
39494
+ maximumExecutionTimeoutInSeconds?: pulumi.Input<number>;
39495
+ rollbackMaximumBatchSize?: pulumi.Input<inputs.sagemaker.EndpointCapacitySizeArgs>;
39496
+ waitIntervalInSeconds: pulumi.Input<number>;
39468
39497
  }
39469
39498
  interface EndpointTagArgs {
39470
39499
  key: pulumi.Input<string>;
package/types/output.d.ts CHANGED
@@ -14744,6 +14744,10 @@ export declare namespace fsx {
14744
14744
  key: string;
14745
14745
  value: string;
14746
14746
  }
14747
+ interface VolumeAutocommitPeriod {
14748
+ type: string;
14749
+ value?: number;
14750
+ }
14747
14751
  interface VolumeClientConfigurations {
14748
14752
  clients: string;
14749
14753
  options: string[];
@@ -14757,6 +14761,7 @@ export declare namespace fsx {
14757
14761
  ontapVolumeType?: string;
14758
14762
  securityStyle?: string;
14759
14763
  sizeInMegabytes: string;
14764
+ snaplockConfiguration?: outputs.fsx.VolumeSnaplockConfiguration;
14760
14765
  snapshotPolicy?: string;
14761
14766
  storageEfficiencyEnabled?: string;
14762
14767
  storageVirtualMachineId: string;
@@ -14779,6 +14784,23 @@ export declare namespace fsx {
14779
14784
  copyStrategy: string;
14780
14785
  snapshotARN: string;
14781
14786
  }
14787
+ interface VolumeRetentionPeriod {
14788
+ type: string;
14789
+ value?: number;
14790
+ }
14791
+ interface VolumeSnaplockConfiguration {
14792
+ auditLogVolume?: string;
14793
+ autocommitPeriod?: outputs.fsx.VolumeAutocommitPeriod;
14794
+ privilegedDelete?: string;
14795
+ retentionPeriod?: outputs.fsx.VolumeSnaplockRetentionPeriod;
14796
+ snaplockType: string;
14797
+ volumeAppendModeEnabled?: string;
14798
+ }
14799
+ interface VolumeSnaplockRetentionPeriod {
14800
+ defaultRetention: outputs.fsx.VolumeRetentionPeriod;
14801
+ maximumRetention: outputs.fsx.VolumeRetentionPeriod;
14802
+ minimumRetention: outputs.fsx.VolumeRetentionPeriod;
14803
+ }
14782
14804
  interface VolumeTag {
14783
14805
  key: string;
14784
14806
  value: string;
@@ -40028,7 +40050,14 @@ export declare namespace sagemaker {
40028
40050
  }
40029
40051
  interface EndpointDeploymentConfig {
40030
40052
  autoRollbackConfiguration?: outputs.sagemaker.EndpointAutoRollbackConfig;
40031
- blueGreenUpdatePolicy: outputs.sagemaker.EndpointBlueGreenUpdatePolicy;
40053
+ blueGreenUpdatePolicy?: outputs.sagemaker.EndpointBlueGreenUpdatePolicy;
40054
+ rollingUpdatePolicy?: outputs.sagemaker.EndpointRollingUpdatePolicy;
40055
+ }
40056
+ interface EndpointRollingUpdatePolicy {
40057
+ maximumBatchSize: outputs.sagemaker.EndpointCapacitySize;
40058
+ maximumExecutionTimeoutInSeconds?: number;
40059
+ rollbackMaximumBatchSize?: outputs.sagemaker.EndpointCapacitySize;
40060
+ waitIntervalInSeconds: number;
40032
40061
  }
40033
40062
  interface EndpointTag {
40034
40063
  key: string;