jobStateTimeLimitActions) {
+ if (jobStateTimeLimitActions == null) {
+ throw new MissingRequiredPropertyException("GetJobQueueResult", "jobStateTimeLimitActions");
+ }
+ this.jobStateTimeLimitActions = jobStateTimeLimitActions;
+ return this;
+ }
+ public Builder jobStateTimeLimitActions(GetJobQueueJobStateTimeLimitAction... jobStateTimeLimitActions) {
+ return jobStateTimeLimitActions(List.of(jobStateTimeLimitActions));
+ }
+ @CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetJobQueueResult", "name");
@@ -261,6 +295,7 @@ public GetJobQueueResult build() {
_resultValue.arn = arn;
_resultValue.computeEnvironmentOrders = computeEnvironmentOrders;
_resultValue.id = id;
+ _resultValue.jobStateTimeLimitActions = jobStateTimeLimitActions;
_resultValue.name = name;
_resultValue.priority = priority;
_resultValue.schedulingPolicyArn = schedulingPolicyArn;
diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/JobQueueJobStateTimeLimitAction.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/JobQueueJobStateTimeLimitAction.java
new file mode 100644
index 00000000000..0fe7d0f1ea0
--- /dev/null
+++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/JobQueueJobStateTimeLimitAction.java
@@ -0,0 +1,122 @@
+// *** WARNING: this file was generated by pulumi-java-gen. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+package com.pulumi.aws.batch.outputs;
+
+import com.pulumi.core.annotations.CustomType;
+import com.pulumi.exceptions.MissingRequiredPropertyException;
+import java.lang.Integer;
+import java.lang.String;
+import java.util.Objects;
+
+@CustomType
+public final class JobQueueJobStateTimeLimitAction {
+ /**
+ * @return The action to take when a job is at the head of the job queue in the specified state for the specified period of time. Valid values include `"CANCEL"`
+ * * `job_state_time_limit_action.#.max_time_seconds` - The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. Valid values include integers between `600` & `86400`
+ *
+ */
+ private String action;
+ private Integer maxTimeSeconds;
+ /**
+ * @return The reason to log for the action being taken.
+ *
+ */
+ private String reason;
+ /**
+ * @return The state of the job needed to trigger the action. Valid values include `"RUNNABLE"`.
+ *
+ */
+ private String state;
+
+ private JobQueueJobStateTimeLimitAction() {}
+ /**
+ * @return The action to take when a job is at the head of the job queue in the specified state for the specified period of time. Valid values include `"CANCEL"`
+ * * `job_state_time_limit_action.#.max_time_seconds` - The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. Valid values include integers between `600` & `86400`
+ *
+ */
+ public String action() {
+ return this.action;
+ }
+ public Integer maxTimeSeconds() {
+ return this.maxTimeSeconds;
+ }
+ /**
+ * @return The reason to log for the action being taken.
+ *
+ */
+ public String reason() {
+ return this.reason;
+ }
+ /**
+ * @return The state of the job needed to trigger the action. Valid values include `"RUNNABLE"`.
+ *
+ */
+ public String state() {
+ return this.state;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static Builder builder(JobQueueJobStateTimeLimitAction defaults) {
+ return new Builder(defaults);
+ }
+ @CustomType.Builder
+ public static final class Builder {
+ private String action;
+ private Integer maxTimeSeconds;
+ private String reason;
+ private String state;
+ public Builder() {}
+ public Builder(JobQueueJobStateTimeLimitAction defaults) {
+ Objects.requireNonNull(defaults);
+ this.action = defaults.action;
+ this.maxTimeSeconds = defaults.maxTimeSeconds;
+ this.reason = defaults.reason;
+ this.state = defaults.state;
+ }
+
+ @CustomType.Setter
+ public Builder action(String action) {
+ if (action == null) {
+ throw new MissingRequiredPropertyException("JobQueueJobStateTimeLimitAction", "action");
+ }
+ this.action = action;
+ return this;
+ }
+ @CustomType.Setter
+ public Builder maxTimeSeconds(Integer maxTimeSeconds) {
+ if (maxTimeSeconds == null) {
+ throw new MissingRequiredPropertyException("JobQueueJobStateTimeLimitAction", "maxTimeSeconds");
+ }
+ this.maxTimeSeconds = maxTimeSeconds;
+ return this;
+ }
+ @CustomType.Setter
+ public Builder reason(String reason) {
+ if (reason == null) {
+ throw new MissingRequiredPropertyException("JobQueueJobStateTimeLimitAction", "reason");
+ }
+ this.reason = reason;
+ return this;
+ }
+ @CustomType.Setter
+ public Builder state(String state) {
+ if (state == null) {
+ throw new MissingRequiredPropertyException("JobQueueJobStateTimeLimitAction", "state");
+ }
+ this.state = state;
+ return this;
+ }
+ public JobQueueJobStateTimeLimitAction build() {
+ final var _resultValue = new JobQueueJobStateTimeLimitAction();
+ _resultValue.action = action;
+ _resultValue.maxTimeSeconds = maxTimeSeconds;
+ _resultValue.reason = reason;
+ _resultValue.state = state;
+ return _resultValue;
+ }
+ }
+}
diff --git a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/ResponseHeadersPolicy.java b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/ResponseHeadersPolicy.java
index 36ea64f9479..1671d1f6489 100644
--- a/sdk/java/src/main/java/com/pulumi/aws/cloudfront/ResponseHeadersPolicy.java
+++ b/sdk/java/src/main/java/com/pulumi/aws/cloudfront/ResponseHeadersPolicy.java
@@ -129,7 +129,7 @@
*
* <!--End PulumiCodeChooser -->
*
- * The example below creates a CloudFront response headers policy with a custom headers config and server timing headers config.
+ * The example below creates a CloudFront response headers policy with a custom headers config, remove headers config and server timing headers config.
*
* <!--Start PulumiCodeChooser -->
*
@@ -142,6 +142,7 @@
* import com.pulumi.aws.cloudfront.ResponseHeadersPolicy;
* import com.pulumi.aws.cloudfront.ResponseHeadersPolicyArgs;
* import com.pulumi.aws.cloudfront.inputs.ResponseHeadersPolicyCustomHeadersConfigArgs;
+ * import com.pulumi.aws.cloudfront.inputs.ResponseHeadersPolicyRemoveHeadersConfigArgs;
* import com.pulumi.aws.cloudfront.inputs.ResponseHeadersPolicyServerTimingHeadersConfigArgs;
* import java.util.List;
* import java.util.ArrayList;
@@ -165,6 +166,11 @@
* .value("none")
* .build())
* .build())
+ * .removeHeadersConfig(ResponseHeadersPolicyRemoveHeadersConfigArgs.builder()
+ * .items(ResponseHeadersPolicyRemoveHeadersConfigItemArgs.builder()
+ * .header("Set-Cookie")
+ * .build())
+ * .build())
* .serverTimingHeadersConfig(ResponseHeadersPolicyServerTimingHeadersConfigArgs.builder()
* .enabled(true)
* .samplingRate(50)
diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/ManagedUserPoolClient.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/ManagedUserPoolClient.java
index ecf3bf8e42f..f68aa38a810 100644
--- a/sdk/java/src/main/java/com/pulumi/aws/cognito/ManagedUserPoolClient.java
+++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/ManagedUserPoolClient.java
@@ -160,42 +160,42 @@ public Output accessTokenValidity() {
return this.accessTokenValidity;
}
/**
- * List of allowed OAuth flows, including code, implicit, and client_credentials.
+ * List of allowed OAuth flows, including `code`, `implicit`, and `client_credentials`. `allowed_oauth_flows_user_pool_client` must be set to `true` before you can configure this option.
*
*/
@Export(name="allowedOauthFlows", refs={List.class,String.class}, tree="[0,1]")
private Output> allowedOauthFlows;
/**
- * @return List of allowed OAuth flows, including code, implicit, and client_credentials.
+ * @return List of allowed OAuth flows, including `code`, `implicit`, and `client_credentials`. `allowed_oauth_flows_user_pool_client` must be set to `true` before you can configure this option.
*
*/
public Output> allowedOauthFlows() {
return this.allowedOauthFlows;
}
/**
- * Whether the client is allowed to use the OAuth protocol when interacting with Cognito user pools.
+ * Whether the client is allowed to use OAuth 2.0 features. `allowed_oauth_flows_user_pool_client` must be set to `true` before you can configure the following arguments: `callback_urls`, `logout_urls`, `allowed_oauth_scopes` and `allowed_oauth_flows`.
*
*/
@Export(name="allowedOauthFlowsUserPoolClient", refs={Boolean.class}, tree="[0]")
private Output allowedOauthFlowsUserPoolClient;
/**
- * @return Whether the client is allowed to use the OAuth protocol when interacting with Cognito user pools.
+ * @return Whether the client is allowed to use OAuth 2.0 features. `allowed_oauth_flows_user_pool_client` must be set to `true` before you can configure the following arguments: `callback_urls`, `logout_urls`, `allowed_oauth_scopes` and `allowed_oauth_flows`.
*
*/
public Output allowedOauthFlowsUserPoolClient() {
return this.allowedOauthFlowsUserPoolClient;
}
/**
- * List of allowed OAuth scopes, including phone, email, openid, profile, and aws.cognito.signin.user.admin.
+ * List of allowed OAuth scopes, including `phone`, `email`, `openid`, `profile`, and `aws.cognito.signin.user.admin`. `allowed_oauth_flows_user_pool_client` must be set to `true` before you can configure this option.
*
*/
@Export(name="allowedOauthScopes", refs={List.class,String.class}, tree="[0,1]")
private Output> allowedOauthScopes;
/**
- * @return List of allowed OAuth scopes, including phone, email, openid, profile, and aws.cognito.signin.user.admin.
+ * @return List of allowed OAuth scopes, including `phone`, `email`, `openid`, `profile`, and `aws.cognito.signin.user.admin`. `allowed_oauth_flows_user_pool_client` must be set to `true` before you can configure this option.
*
*/
public Output> allowedOauthScopes() {
@@ -230,14 +230,14 @@ public Output authSessionValidity() {
return this.authSessionValidity;
}
/**
- * List of allowed callback URLs for the identity providers.
+ * List of allowed callback URLs for the identity providers. `allowed_oauth_flows_user_pool_client` must be set to `true` before you can configure this option.
*
*/
@Export(name="callbackUrls", refs={List.class,String.class}, tree="[0,1]")
private Output> callbackUrls;
/**
- * @return List of allowed callback URLs for the identity providers.
+ * @return List of allowed callback URLs for the identity providers. `allowed_oauth_flows_user_pool_client` must be set to `true` before you can configure this option.
*
*/
public Output> callbackUrls() {
@@ -328,14 +328,14 @@ public Output idTokenValidity() {
return this.idTokenValidity;
}
/**
- * List of allowed logout URLs for the identity providers.
+ * List of allowed logout URLs for the identity providers. `allowed_oauth_flows_user_pool_client` must be set to `true` before you can configure this option.
*
*/
@Export(name="logoutUrls", refs={List.class,String.class}, tree="[0,1]")
private Output> logoutUrls;
/**
- * @return List of allowed logout URLs for the identity providers.
+ * @return List of allowed logout URLs for the identity providers. `allowed_oauth_flows_user_pool_client` must be set to `true` before you can configure this option.
*
*/
public Output> logoutUrls() {
diff --git a/sdk/java/src/main/java/com/pulumi/aws/cognito/ManagedUserPoolClientArgs.java b/sdk/java/src/main/java/com/pulumi/aws/cognito/ManagedUserPoolClientArgs.java
index 2a7fb860805..f5741ad6c33 100644
--- a/sdk/java/src/main/java/com/pulumi/aws/cognito/ManagedUserPoolClientArgs.java
+++ b/sdk/java/src/main/java/com/pulumi/aws/cognito/ManagedUserPoolClientArgs.java
@@ -37,14 +37,14 @@ public Optional