com.pulumi.kubernetes.flowcontrol.v1.inputs.PolicyRulesWithSubjectsArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kubernetes Show documentation
Show all versions of kubernetes Show documentation
A Pulumi package for creating and managing Kubernetes resources.
// *** 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.kubernetes.flowcontrol.v1.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.kubernetes.flowcontrol.v1.inputs.NonResourcePolicyRuleArgs;
import com.pulumi.kubernetes.flowcontrol.v1.inputs.ResourcePolicyRuleArgs;
import com.pulumi.kubernetes.flowcontrol.v1.inputs.SubjectArgs;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.
*
*/
public final class PolicyRulesWithSubjectsArgs extends com.pulumi.resources.ResourceArgs {
public static final PolicyRulesWithSubjectsArgs Empty = new PolicyRulesWithSubjectsArgs();
/**
* `nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.
*
*/
@Import(name="nonResourceRules")
private @Nullable Output> nonResourceRules;
/**
* @return `nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.
*
*/
public Optional
© 2015 - 2024 Weber Informatics LLC | Privacy Policy