com.pulumi.aws.opensearch.inputs.GetServerlessSecurityConfigSamlOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** 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.opensearch.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
public final class GetServerlessSecurityConfigSamlOptions extends com.pulumi.resources.InvokeArgs {
public static final GetServerlessSecurityConfigSamlOptions Empty = new GetServerlessSecurityConfigSamlOptions();
/**
* Group attribute for this SAML integration.
*
*/
@Import(name="groupAttribute", required=true)
private String groupAttribute;
/**
* @return Group attribute for this SAML integration.
*
*/
public String groupAttribute() {
return this.groupAttribute;
}
/**
* The XML IdP metadata file generated from your identity provider.
*
*/
@Import(name="metadata", required=true)
private String metadata;
/**
* @return The XML IdP metadata file generated from your identity provider.
*
*/
public String metadata() {
return this.metadata;
}
/**
* Session timeout, in minutes. Minimum is 5 minutes and maximum is 720 minutes (12 hours). Default is 60 minutes.
*
*/
@Import(name="sessionTimeout", required=true)
private Integer sessionTimeout;
/**
* @return Session timeout, in minutes. Minimum is 5 minutes and maximum is 720 minutes (12 hours). Default is 60 minutes.
*
*/
public Integer sessionTimeout() {
return this.sessionTimeout;
}
/**
* User attribute for this SAML integration.
*
*/
@Import(name="userAttribute", required=true)
private String userAttribute;
/**
* @return User attribute for this SAML integration.
*
*/
public String userAttribute() {
return this.userAttribute;
}
private GetServerlessSecurityConfigSamlOptions() {}
private GetServerlessSecurityConfigSamlOptions(GetServerlessSecurityConfigSamlOptions $) {
this.groupAttribute = $.groupAttribute;
this.metadata = $.metadata;
this.sessionTimeout = $.sessionTimeout;
this.userAttribute = $.userAttribute;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetServerlessSecurityConfigSamlOptions defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetServerlessSecurityConfigSamlOptions $;
public Builder() {
$ = new GetServerlessSecurityConfigSamlOptions();
}
public Builder(GetServerlessSecurityConfigSamlOptions defaults) {
$ = new GetServerlessSecurityConfigSamlOptions(Objects.requireNonNull(defaults));
}
/**
* @param groupAttribute Group attribute for this SAML integration.
*
* @return builder
*
*/
public Builder groupAttribute(String groupAttribute) {
$.groupAttribute = groupAttribute;
return this;
}
/**
* @param metadata The XML IdP metadata file generated from your identity provider.
*
* @return builder
*
*/
public Builder metadata(String metadata) {
$.metadata = metadata;
return this;
}
/**
* @param sessionTimeout Session timeout, in minutes. Minimum is 5 minutes and maximum is 720 minutes (12 hours). Default is 60 minutes.
*
* @return builder
*
*/
public Builder sessionTimeout(Integer sessionTimeout) {
$.sessionTimeout = sessionTimeout;
return this;
}
/**
* @param userAttribute User attribute for this SAML integration.
*
* @return builder
*
*/
public Builder userAttribute(String userAttribute) {
$.userAttribute = userAttribute;
return this;
}
public GetServerlessSecurityConfigSamlOptions build() {
if ($.groupAttribute == null) {
throw new MissingRequiredPropertyException("GetServerlessSecurityConfigSamlOptions", "groupAttribute");
}
if ($.metadata == null) {
throw new MissingRequiredPropertyException("GetServerlessSecurityConfigSamlOptions", "metadata");
}
if ($.sessionTimeout == null) {
throw new MissingRequiredPropertyException("GetServerlessSecurityConfigSamlOptions", "sessionTimeout");
}
if ($.userAttribute == null) {
throw new MissingRequiredPropertyException("GetServerlessSecurityConfigSamlOptions", "userAttribute");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy