Interface CloudRunServiceTraffic
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudRunServiceTraffic.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:17.956Z") @Stability(Stable) public interface CloudRunServiceTraffic extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCloudRunServiceTraffic.BuilderA builder forCloudRunServiceTrafficstatic classCloudRunServiceTraffic.Jsii$ProxyAn implementation forCloudRunServiceTraffic
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static CloudRunServiceTraffic.Builderbuilder()default ObjectgetLatestRevision()LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target.NumbergetPercent()Percent specifies percent of the traffic to this Revision or Configuration.default StringgetRevisionName()RevisionName of a specific revision to which to send this portion of traffic.default StringgetTag()Tag is optionally used to expose a dedicated url for referencing this target exclusively.
-
-
-
Method Detail
-
getPercent
@Stability(Stable) @NotNull Number getPercent()
Percent specifies percent of the traffic to this Revision or Configuration.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#percent CloudRunService#percent}
-
getLatestRevision
@Stability(Stable) @Nullable default Object getLatestRevision()
LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target.When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#latest_revision CloudRunService#latest_revision}
-
getRevisionName
@Stability(Stable) @Nullable default String getRevisionName()
RevisionName of a specific revision to which to send this portion of traffic.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#revision_name CloudRunService#revision_name}
-
getTag
@Stability(Stable) @Nullable default String getTag()
Tag is optionally used to expose a dedicated url for referencing this target exclusively.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#tag CloudRunService#tag}
-
builder
@Stability(Stable) static CloudRunServiceTraffic.Builder builder()
- Returns:
- a
CloudRunServiceTraffic.BuilderofCloudRunServiceTraffic
-
-