Package com.pulumi.aws.apprunner
Class Deployment
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.apprunner.Deployment
-
public class Deployment extends com.pulumi.resources.CustomResourceManages an App Runner Deployment Operation. ## Example Usagepackage generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.apprunner.Deployment; import com.pulumi.aws.apprunner.DeploymentArgs; import java.util.ArrayList; import java.util.Arrays; 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) { var example = new Deployment("example", DeploymentArgs.builder() .serviceArn(exampleAwsApprunnerService.arn()) .build()); } }
-
-
Constructor Summary
Constructors Constructor Description Deployment(java.lang.String name)Deployment(java.lang.String name, DeploymentArgs args)Deployment(java.lang.String name, DeploymentArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Deploymentget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, DeploymentState state, com.pulumi.resources.CustomResourceOptions options)Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>operationId()com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.lang.String>serviceArn()com.pulumi.core.Output<java.lang.String>status()com.pulumi.core.Output<java.util.Optional<DeploymentTimeouts>>timeouts()
-
-
-
Constructor Detail
-
Deployment
public Deployment(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
Deployment
public Deployment(java.lang.String name, DeploymentArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
Deployment
public Deployment(java.lang.String name, DeploymentArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Detail
-
operationId
public com.pulumi.core.Output<java.lang.String> operationId()
- Returns:
- Unique ID of the operation associated with deployment.
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
serviceArn
public com.pulumi.core.Output<java.lang.String> serviceArn()
- Returns:
- ARN of the App Runner service to start the deployment for.
-
status
public com.pulumi.core.Output<java.lang.String> status()
- Returns:
- Current status of the App Runner service deployment.
-
timeouts
public com.pulumi.core.Output<java.util.Optional<DeploymentTimeouts>> timeouts()
-
get
public static Deployment get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable DeploymentState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name- The _unique_ name of the resulting resource.id- The _unique_ provider ID of the resource to lookup.state-options- Optional settings to control the behavior of the CustomResource.
-
-