Interface ComputeResourcePolicyConfig

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
    All Known Implementing Classes:
    ComputeResourcePolicyConfig.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:18.914Z")
    @Stability(Stable)
    public interface ComputeResourcePolicyConfig
    extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
    • Method Detail

      • getName

        @Stability(Stable)
        @NotNull
        String getName()
        The name of the resource, provided by the client when initially creating the resource.

        The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression '[a-z](%5B-a-z0-9%5D*%5Ba-z0-9%5D)'? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#name ComputeResourcePolicy#name}

      • getDescription

        @Stability(Stable)
        @Nullable
        default String getDescription()
        An optional description of this resource. Provide this property when you create the resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#description ComputeResourcePolicy#description}

      • getDiskConsistencyGroupPolicy

        @Stability(Stable)
        @Nullable
        default ComputeResourcePolicyDiskConsistencyGroupPolicy getDiskConsistencyGroupPolicy()
        disk_consistency_group_policy block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#disk_consistency_group_policy ComputeResourcePolicy#disk_consistency_group_policy}

      • getGroupPlacementPolicy

        @Stability(Stable)
        @Nullable
        default ComputeResourcePolicyGroupPlacementPolicy getGroupPlacementPolicy()
        group_placement_policy block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#group_placement_policy ComputeResourcePolicy#group_placement_policy}

      • getId

        @Stability(Stable)
        @Nullable
        default String getId()
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#id ComputeResourcePolicy#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

      • getInstanceSchedulePolicy

        @Stability(Stable)
        @Nullable
        default ComputeResourcePolicyInstanceSchedulePolicy getInstanceSchedulePolicy()
        instance_schedule_policy block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#instance_schedule_policy ComputeResourcePolicy#instance_schedule_policy}

      • getProject

        @Stability(Stable)
        @Nullable
        default String getProject()
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#project ComputeResourcePolicy#project}.
      • getRegion

        @Stability(Stable)
        @Nullable
        default String getRegion()
        Region where resource policy resides.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#region ComputeResourcePolicy#region}

      • getSnapshotSchedulePolicy

        @Stability(Stable)
        @Nullable
        default ComputeResourcePolicySnapshotSchedulePolicy getSnapshotSchedulePolicy()
        snapshot_schedule_policy block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#snapshot_schedule_policy ComputeResourcePolicy#snapshot_schedule_policy}

      • getTimeouts

        @Stability(Stable)
        @Nullable
        default ComputeResourcePolicyTimeouts getTimeouts()
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#timeouts ComputeResourcePolicy#timeouts}