// *** 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.gcp.container;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import com.pulumi.gcp.Utilities;
import com.pulumi.gcp.container.AwsClusterArgs;
import com.pulumi.gcp.container.inputs.AwsClusterState;
import com.pulumi.gcp.container.outputs.AwsClusterAuthorization;
import com.pulumi.gcp.container.outputs.AwsClusterControlPlane;
import com.pulumi.gcp.container.outputs.AwsClusterFleet;
import com.pulumi.gcp.container.outputs.AwsClusterLoggingConfig;
import com.pulumi.gcp.container.outputs.AwsClusterNetworking;
import com.pulumi.gcp.container.outputs.AwsClusterWorkloadIdentityConfig;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * An Anthos cluster running on AWS.
 * 
 * For more information, see:
 * * [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
 * ## Example Usage
 * ### Basic_aws_cluster
 * A basic example of a containeraws cluster
 * ```java
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.gcp.container.ContainerFunctions;
 * import com.pulumi.gcp.container.inputs.GetAwsVersionsArgs;
 * import com.pulumi.gcp.container.AwsCluster;
 * import com.pulumi.gcp.container.AwsClusterArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterAuthorizationArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneAwsServicesAuthenticationArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneConfigEncryptionArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneDatabaseEncryptionArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneMainVolumeArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneProxyConfigArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneRootVolumeArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneSshConfigArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterFleetArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterNetworkingArgs;
 * import java.util.List;
 * import java.util.ArrayList;
 * import java.util.Map;
 * import java.io.File;
 * import java.nio.file.Files;
 * import java.nio.file.Paths;
 * 
 * public class App {
 *     public static void main(String[] args) {
 *         Pulumi.run(App::stack);
 *     }
 * 
 *     public static void stack(Context ctx) {
 *         final var versions = ContainerFunctions.getAwsVersions(GetAwsVersionsArgs.builder()
 *             .location(&#34;us-west1&#34;)
 *             .project(&#34;my-project-name&#34;)
 *             .build());
 * 
 *         var primary = new AwsCluster(&#34;primary&#34;, AwsClusterArgs.builder()        
 *             .annotations(Map.of(&#34;label-one&#34;, &#34;value-one&#34;))
 *             .authorization(AwsClusterAuthorizationArgs.builder()
 *                 .adminUsers(AwsClusterAuthorizationAdminUserArgs.builder()
 *                     .username(&#34;my@service-account.com&#34;)
 *                     .build())
 *                 .build())
 *             .awsRegion(&#34;my-aws-region&#34;)
 *             .controlPlane(AwsClusterControlPlaneArgs.builder()
 *                 .awsServicesAuthentication(AwsClusterControlPlaneAwsServicesAuthenticationArgs.builder()
 *                     .roleArn(&#34;arn:aws:iam::012345678910:role/my--1p-dev-oneplatform&#34;)
 *                     .roleSessionName(&#34;my--1p-dev-session&#34;)
 *                     .build())
 *                 .configEncryption(AwsClusterControlPlaneConfigEncryptionArgs.builder()
 *                     .kmsKeyArn(&#34;arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111&#34;)
 *                     .build())
 *                 .databaseEncryption(AwsClusterControlPlaneDatabaseEncryptionArgs.builder()
 *                     .kmsKeyArn(&#34;arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111&#34;)
 *                     .build())
 *                 .iamInstanceProfile(&#34;my--1p-dev-controlplane&#34;)
 *                 .instanceType(&#34;t3.medium&#34;)
 *                 .mainVolume(AwsClusterControlPlaneMainVolumeArgs.builder()
 *                     .iops(3000)
 *                     .kmsKeyArn(&#34;arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111&#34;)
 *                     .sizeGib(10)
 *                     .volumeType(&#34;GP3&#34;)
 *                     .build())
 *                 .proxyConfig(AwsClusterControlPlaneProxyConfigArgs.builder()
 *                     .secretArn(&#34;arn:aws:secretsmanager:us-west-2:126285863215:secret:proxy_config20210824150329476300000001-ABCDEF&#34;)
 *                     .secretVersion(&#34;12345678-ABCD-EFGH-IJKL-987654321098&#34;)
 *                     .build())
 *                 .rootVolume(AwsClusterControlPlaneRootVolumeArgs.builder()
 *                     .iops(3000)
 *                     .kmsKeyArn(&#34;arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111&#34;)
 *                     .sizeGib(10)
 *                     .volumeType(&#34;GP3&#34;)
 *                     .build())
 *                 .securityGroupIds(&#34;sg-00000000000000000&#34;)
 *                 .sshConfig(AwsClusterControlPlaneSshConfigArgs.builder()
 *                     .ec2KeyPair(&#34;my--1p-dev-ssh&#34;)
 *                     .build())
 *                 .subnetIds(&#34;subnet-00000000000000000&#34;)
 *                 .tags(Map.of(&#34;owner&#34;, &#34;my@service-account.com&#34;))
 *                 .version(versions.applyValue(getAwsVersionsResult -&gt; getAwsVersionsResult.validVersions()[0]))
 *                 .build())
 *             .description(&#34;A sample aws cluster&#34;)
 *             .fleet(AwsClusterFleetArgs.builder()
 *                 .project(&#34;my-project-number&#34;)
 *                 .build())
 *             .location(&#34;us-west1&#34;)
 *             .networking(AwsClusterNetworkingArgs.builder()
 *                 .podAddressCidrBlocks(&#34;10.2.0.0/16&#34;)
 *                 .serviceAddressCidrBlocks(&#34;10.1.0.0/16&#34;)
 *                 .vpcId(&#34;vpc-00000000000000000&#34;)
 *                 .build())
 *             .project(&#34;my-project-name&#34;)
 *             .build());
 * 
 *     }
 * }
 * ```
 * ### Basic_enum_aws_cluster
 * A basic example of a containeraws cluster with lowercase enums
 * ```java
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.gcp.container.ContainerFunctions;
 * import com.pulumi.gcp.container.inputs.GetAwsVersionsArgs;
 * import com.pulumi.gcp.container.AwsCluster;
 * import com.pulumi.gcp.container.AwsClusterArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterAuthorizationArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneAwsServicesAuthenticationArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneConfigEncryptionArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneDatabaseEncryptionArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneMainVolumeArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneProxyConfigArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneRootVolumeArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneSshConfigArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterFleetArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterNetworkingArgs;
 * import java.util.List;
 * import java.util.ArrayList;
 * import java.util.Map;
 * import java.io.File;
 * import java.nio.file.Files;
 * import java.nio.file.Paths;
 * 
 * public class App {
 *     public static void main(String[] args) {
 *         Pulumi.run(App::stack);
 *     }
 * 
 *     public static void stack(Context ctx) {
 *         final var versions = ContainerFunctions.getAwsVersions(GetAwsVersionsArgs.builder()
 *             .location(&#34;us-west1&#34;)
 *             .project(&#34;my-project-name&#34;)
 *             .build());
 * 
 *         var primary = new AwsCluster(&#34;primary&#34;, AwsClusterArgs.builder()        
 *             .annotations(Map.of(&#34;label-one&#34;, &#34;value-one&#34;))
 *             .authorization(AwsClusterAuthorizationArgs.builder()
 *                 .adminUsers(AwsClusterAuthorizationAdminUserArgs.builder()
 *                     .username(&#34;my@service-account.com&#34;)
 *                     .build())
 *                 .build())
 *             .awsRegion(&#34;my-aws-region&#34;)
 *             .controlPlane(AwsClusterControlPlaneArgs.builder()
 *                 .awsServicesAuthentication(AwsClusterControlPlaneAwsServicesAuthenticationArgs.builder()
 *                     .roleArn(&#34;arn:aws:iam::012345678910:role/my--1p-dev-oneplatform&#34;)
 *                     .roleSessionName(&#34;my--1p-dev-session&#34;)
 *                     .build())
 *                 .configEncryption(AwsClusterControlPlaneConfigEncryptionArgs.builder()
 *                     .kmsKeyArn(&#34;arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111&#34;)
 *                     .build())
 *                 .databaseEncryption(AwsClusterControlPlaneDatabaseEncryptionArgs.builder()
 *                     .kmsKeyArn(&#34;arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111&#34;)
 *                     .build())
 *                 .iamInstanceProfile(&#34;my--1p-dev-controlplane&#34;)
 *                 .instanceType(&#34;t3.medium&#34;)
 *                 .mainVolume(AwsClusterControlPlaneMainVolumeArgs.builder()
 *                     .iops(3000)
 *                     .kmsKeyArn(&#34;arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111&#34;)
 *                     .sizeGib(10)
 *                     .volumeType(&#34;gp3&#34;)
 *                     .build())
 *                 .proxyConfig(AwsClusterControlPlaneProxyConfigArgs.builder()
 *                     .secretArn(&#34;arn:aws:secretsmanager:us-west-2:126285863215:secret:proxy_config20210824150329476300000001-ABCDEF&#34;)
 *                     .secretVersion(&#34;12345678-ABCD-EFGH-IJKL-987654321098&#34;)
 *                     .build())
 *                 .rootVolume(AwsClusterControlPlaneRootVolumeArgs.builder()
 *                     .iops(3000)
 *                     .kmsKeyArn(&#34;arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111&#34;)
 *                     .sizeGib(10)
 *                     .volumeType(&#34;gp3&#34;)
 *                     .build())
 *                 .securityGroupIds(&#34;sg-00000000000000000&#34;)
 *                 .sshConfig(AwsClusterControlPlaneSshConfigArgs.builder()
 *                     .ec2KeyPair(&#34;my--1p-dev-ssh&#34;)
 *                     .build())
 *                 .subnetIds(&#34;subnet-00000000000000000&#34;)
 *                 .tags(Map.of(&#34;owner&#34;, &#34;my@service-account.com&#34;))
 *                 .version(versions.applyValue(getAwsVersionsResult -&gt; getAwsVersionsResult.validVersions()[0]))
 *                 .build())
 *             .description(&#34;A sample aws cluster&#34;)
 *             .fleet(AwsClusterFleetArgs.builder()
 *                 .project(&#34;my-project-number&#34;)
 *                 .build())
 *             .location(&#34;us-west1&#34;)
 *             .networking(AwsClusterNetworkingArgs.builder()
 *                 .podAddressCidrBlocks(&#34;10.2.0.0/16&#34;)
 *                 .serviceAddressCidrBlocks(&#34;10.1.0.0/16&#34;)
 *                 .vpcId(&#34;vpc-00000000000000000&#34;)
 *                 .build())
 *             .project(&#34;my-project-name&#34;)
 *             .build());
 * 
 *     }
 * }
 * ```
 * ### Beta_basic_enum_aws_cluster
 * A basic example of a containeraws cluster with lowercase enums (beta)
 * ```java
 * package generated_program;
 * 
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.gcp.container.ContainerFunctions;
 * import com.pulumi.gcp.container.inputs.GetAwsVersionsArgs;
 * import com.pulumi.gcp.container.AwsCluster;
 * import com.pulumi.gcp.container.AwsClusterArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterAuthorizationArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneAwsServicesAuthenticationArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneConfigEncryptionArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneDatabaseEncryptionArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneMainVolumeArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneProxyConfigArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneRootVolumeArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneSshConfigArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterControlPlaneInstancePlacementArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterFleetArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterNetworkingArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterLoggingConfigArgs;
 * import com.pulumi.gcp.container.inputs.AwsClusterLoggingConfigComponentConfigArgs;
 * import com.pulumi.resources.CustomResourceOptions;
 * import java.util.List;
 * import java.util.ArrayList;
 * import java.util.Map;
 * import java.io.File;
 * import java.nio.file.Files;
 * import java.nio.file.Paths;
 * 
 * public class App {
 *     public static void main(String[] args) {
 *         Pulumi.run(App::stack);
 *     }
 * 
 *     public static void stack(Context ctx) {
 *         final var versions = ContainerFunctions.getAwsVersions(GetAwsVersionsArgs.builder()
 *             .project(&#34;my-project-name&#34;)
 *             .location(&#34;us-west1&#34;)
 *             .build());
 * 
 *         var primary = new AwsCluster(&#34;primary&#34;, AwsClusterArgs.builder()        
 *             .authorization(AwsClusterAuthorizationArgs.builder()
 *                 .adminUsers(AwsClusterAuthorizationAdminUserArgs.builder()
 *                     .username(&#34;my@service-account.com&#34;)
 *                     .build())
 *                 .build())
 *             .awsRegion(&#34;my-aws-region&#34;)
 *             .controlPlane(AwsClusterControlPlaneArgs.builder()
 *                 .awsServicesAuthentication(AwsClusterControlPlaneAwsServicesAuthenticationArgs.builder()
 *                     .roleArn(&#34;arn:aws:iam::012345678910:role/my--1p-dev-oneplatform&#34;)
 *                     .roleSessionName(&#34;my--1p-dev-session&#34;)
 *                     .build())
 *                 .configEncryption(AwsClusterControlPlaneConfigEncryptionArgs.builder()
 *                     .kmsKeyArn(&#34;arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111&#34;)
 *                     .build())
 *                 .databaseEncryption(AwsClusterControlPlaneDatabaseEncryptionArgs.builder()
 *                     .kmsKeyArn(&#34;arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111&#34;)
 *                     .build())
 *                 .iamInstanceProfile(&#34;my--1p-dev-controlplane&#34;)
 *                 .subnetIds(&#34;subnet-00000000000000000&#34;)
 *                 .version(versions.applyValue(getAwsVersionsResult -&gt; getAwsVersionsResult.validVersions()[0]))
 *                 .instanceType(&#34;t3.medium&#34;)
 *                 .mainVolume(AwsClusterControlPlaneMainVolumeArgs.builder()
 *                     .iops(3000)
 *                     .kmsKeyArn(&#34;arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111&#34;)
 *                     .sizeGib(10)
 *                     .volumeType(&#34;gp3&#34;)
 *                     .build())
 *                 .proxyConfig(AwsClusterControlPlaneProxyConfigArgs.builder()
 *                     .secretArn(&#34;arn:aws:secretsmanager:us-west-2:126285863215:secret:proxy_config20210824150329476300000001-ABCDEF&#34;)
 *                     .secretVersion(&#34;12345678-ABCD-EFGH-IJKL-987654321098&#34;)
 *                     .build())
 *                 .rootVolume(AwsClusterControlPlaneRootVolumeArgs.builder()
 *                     .iops(3000)
 *                     .kmsKeyArn(&#34;arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111&#34;)
 *                     .sizeGib(10)
 *                     .volumeType(&#34;gp3&#34;)
 *                     .build())
 *                 .securityGroupIds(&#34;sg-00000000000000000&#34;)
 *                 .sshConfig(AwsClusterControlPlaneSshConfigArgs.builder()
 *                     .ec2KeyPair(&#34;my--1p-dev-ssh&#34;)
 *                     .build())
 *                 .tags(Map.of(&#34;owner&#34;, &#34;my@service-account.com&#34;))
 *                 .instancePlacement(AwsClusterControlPlaneInstancePlacementArgs.builder()
 *                     .tenancy(&#34;dedicated&#34;)
 *                     .build())
 *                 .build())
 *             .fleet(AwsClusterFleetArgs.builder()
 *                 .project(&#34;my-project-number&#34;)
 *                 .build())
 *             .location(&#34;us-west1&#34;)
 *             .networking(AwsClusterNetworkingArgs.builder()
 *                 .podAddressCidrBlocks(&#34;10.2.0.0/16&#34;)
 *                 .serviceAddressCidrBlocks(&#34;10.1.0.0/16&#34;)
 *                 .vpcId(&#34;vpc-00000000000000000&#34;)
 *                 .build())
 *             .annotations(Map.of(&#34;label-one&#34;, &#34;value-one&#34;))
 *             .description(&#34;A sample aws cluster&#34;)
 *             .project(&#34;my-project-name&#34;)
 *             .loggingConfig(AwsClusterLoggingConfigArgs.builder()
 *                 .componentConfig(AwsClusterLoggingConfigComponentConfigArgs.builder()
 *                     .enableComponents(                    
 *                         &#34;system_components&#34;,
 *                         &#34;workloads&#34;)
 *                     .build())
 *                 .build())
 *             .build(), CustomResourceOptions.builder()
 *                 .provider(google_beta)
 *                 .build());
 * 
 *     }
 * }
 * ```
 * 
 * ## Import
 * 
 * Cluster can be imported using any of these accepted formats
 * 
 * ```sh
 *  $ pulumi import gcp:container/awsCluster:AwsCluster default projects/{{project}}/locations/{{location}}/awsClusters/{{name}}
 * ```
 * 
 * ```sh
 *  $ pulumi import gcp:container/awsCluster:AwsCluster default {{project}}/{{location}}/{{name}}
 * ```
 * 
 * ```sh
 *  $ pulumi import gcp:container/awsCluster:AwsCluster default {{location}}/{{name}}
 * ```
 * 
 */
@ResourceType(type="gcp:container/awsCluster:AwsCluster")
public class AwsCluster extends com.pulumi.resources.CustomResource {
    /**
     * Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
     * 
     */
    @Export(name="annotations", type=Map.class, parameters={String.class, String.class})
    private Output</* @Nullable */ Map<String,String>> annotations;

    /**
     * @return Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
     * 
     */
    public Output<Optional<Map<String,String>>> annotations() {
        return Codegen.optional(this.annotations);
    }
    /**
     * Configuration related to the cluster RBAC settings.
     * 
     */
    @Export(name="authorization", type=AwsClusterAuthorization.class, parameters={})
    private Output<AwsClusterAuthorization> authorization;

    /**
     * @return Configuration related to the cluster RBAC settings.
     * 
     */
    public Output<AwsClusterAuthorization> authorization() {
        return this.authorization;
    }
    /**
     * The AWS region where the cluster runs. Each Google Cloud region supports a subset of nearby AWS regions. You can call to list all supported AWS regions within a given Google Cloud region.
     * 
     */
    @Export(name="awsRegion", type=String.class, parameters={})
    private Output<String> awsRegion;

    /**
     * @return The AWS region where the cluster runs. Each Google Cloud region supports a subset of nearby AWS regions. You can call to list all supported AWS regions within a given Google Cloud region.
     * 
     */
    public Output<String> awsRegion() {
        return this.awsRegion;
    }
    /**
     * Configuration related to the cluster control plane.
     * 
     */
    @Export(name="controlPlane", type=AwsClusterControlPlane.class, parameters={})
    private Output<AwsClusterControlPlane> controlPlane;

    /**
     * @return Configuration related to the cluster control plane.
     * 
     */
    public Output<AwsClusterControlPlane> controlPlane() {
        return this.controlPlane;
    }
    /**
     * Output only. The time at which this cluster was created.
     * 
     */
    @Export(name="createTime", type=String.class, parameters={})
    private Output<String> createTime;

    /**
     * @return Output only. The time at which this cluster was created.
     * 
     */
    public Output<String> createTime() {
        return this.createTime;
    }
    /**
     * Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
     * 
     */
    @Export(name="description", type=String.class, parameters={})
    private Output</* @Nullable */ String> description;

    /**
     * @return Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
     * 
     */
    public Output<Optional<String>> description() {
        return Codegen.optional(this.description);
    }
    /**
     * Output only. The endpoint of the cluster&#39;s API server.
     * 
     */
    @Export(name="endpoint", type=String.class, parameters={})
    private Output<String> endpoint;

    /**
     * @return Output only. The endpoint of the cluster&#39;s API server.
     * 
     */
    public Output<String> endpoint() {
        return this.endpoint;
    }
    /**
     * Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
     * 
     */
    @Export(name="etag", type=String.class, parameters={})
    private Output<String> etag;

    /**
     * @return Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
     * 
     */
    public Output<String> etag() {
        return this.etag;
    }
    /**
     * Fleet configuration.
     * 
     */
    @Export(name="fleet", type=AwsClusterFleet.class, parameters={})
    private Output<AwsClusterFleet> fleet;

    /**
     * @return Fleet configuration.
     * 
     */
    public Output<AwsClusterFleet> fleet() {
        return this.fleet;
    }
    /**
     * The location for the resource
     * 
     */
    @Export(name="location", type=String.class, parameters={})
    private Output<String> location;

    /**
     * @return The location for the resource
     * 
     */
    public Output<String> location() {
        return this.location;
    }
    /**
     * (Beta only) Logging configuration.
     * 
     */
    @Export(name="loggingConfig", type=AwsClusterLoggingConfig.class, parameters={})
    private Output<AwsClusterLoggingConfig> loggingConfig;

    /**
     * @return (Beta only) Logging configuration.
     * 
     */
    public Output<AwsClusterLoggingConfig> loggingConfig() {
        return this.loggingConfig;
    }
    /**
     * The name of this resource.
     * 
     */
    @Export(name="name", type=String.class, parameters={})
    private Output<String> name;

    /**
     * @return The name of this resource.
     * 
     */
    public Output<String> name() {
        return this.name;
    }
    /**
     * Cluster-wide networking configuration.
     * 
     */
    @Export(name="networking", type=AwsClusterNetworking.class, parameters={})
    private Output<AwsClusterNetworking> networking;

    /**
     * @return Cluster-wide networking configuration.
     * 
     */
    public Output<AwsClusterNetworking> networking() {
        return this.networking;
    }
    /**
     * The number of the Fleet host project where this cluster will be registered.
     * 
     * (Optional)
     * The project for the resource
     * 
     */
    @Export(name="project", type=String.class, parameters={})
    private Output<String> project;

    /**
     * @return The number of the Fleet host project where this cluster will be registered.
     * 
     * (Optional)
     * The project for the resource
     * 
     */
    public Output<String> project() {
        return this.project;
    }
    /**
     * Output only. If set, there are currently changes in flight to the cluster.
     * 
     */
    @Export(name="reconciling", type=Boolean.class, parameters={})
    private Output<Boolean> reconciling;

    /**
     * @return Output only. If set, there are currently changes in flight to the cluster.
     * 
     */
    public Output<Boolean> reconciling() {
        return this.reconciling;
    }
    /**
     * Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
     * 
     */
    @Export(name="state", type=String.class, parameters={})
    private Output<String> state;

    /**
     * @return Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR, DEGRADED
     * 
     */
    public Output<String> state() {
        return this.state;
    }
    /**
     * Output only. A globally unique identifier for the cluster.
     * 
     */
    @Export(name="uid", type=String.class, parameters={})
    private Output<String> uid;

    /**
     * @return Output only. A globally unique identifier for the cluster.
     * 
     */
    public Output<String> uid() {
        return this.uid;
    }
    /**
     * Output only. The time at which this cluster was last updated.
     * 
     */
    @Export(name="updateTime", type=String.class, parameters={})
    private Output<String> updateTime;

    /**
     * @return Output only. The time at which this cluster was last updated.
     * 
     */
    public Output<String> updateTime() {
        return this.updateTime;
    }
    /**
     * Output only. Workload Identity settings.
     * 
     */
    @Export(name="workloadIdentityConfigs", type=List.class, parameters={AwsClusterWorkloadIdentityConfig.class})
    private Output<List<AwsClusterWorkloadIdentityConfig>> workloadIdentityConfigs;

    /**
     * @return Output only. Workload Identity settings.
     * 
     */
    public Output<List<AwsClusterWorkloadIdentityConfig>> workloadIdentityConfigs() {
        return this.workloadIdentityConfigs;
    }

    /**
     *
     * @param name The _unique_ name of the resulting resource.
     */
    public AwsCluster(String name) {
        this(name, AwsClusterArgs.Empty);
    }
    /**
     *
     * @param name The _unique_ name of the resulting resource.
     * @param args The arguments to use to populate this resource's properties.
     */
    public AwsCluster(String name, AwsClusterArgs args) {
        this(name, args, null);
    }
    /**
     *
     * @param name The _unique_ name of the resulting resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param options A bag of options that control this resource's behavior.
     */
    public AwsCluster(String name, AwsClusterArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        super("gcp:container/awsCluster:AwsCluster", name, args == null ? AwsClusterArgs.Empty : args, makeResourceOptions(options, Codegen.empty()));
    }

    private AwsCluster(String name, Output<String> id, @Nullable AwsClusterState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        super("gcp:container/awsCluster:AwsCluster", name, state, makeResourceOptions(options, id));
    }

    private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output<String> id) {
        var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
            .version(Utilities.getVersion())
            .build();
        return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
    }

    /**
     * Get an existing Host resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state
     * @param options Optional settings to control the behavior of the CustomResource.
     */
    public static AwsCluster get(String name, Output<String> id, @Nullable AwsClusterState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        return new AwsCluster(name, id, state, options);
    }
}
