com.pulumi.aws.fis.inputs.ExperimentTemplateActionTargetArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** 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.aws.fis.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class ExperimentTemplateActionTargetArgs extends com.pulumi.resources.ResourceArgs {
public static final ExperimentTemplateActionTargetArgs Empty = new ExperimentTemplateActionTargetArgs();
/**
* Target type. Valid values are `AutoScalingGroups` (EC2 Auto Scaling groups), `Buckets` (S3 Buckets), `Cluster` (EKS Cluster), `Clusters` (ECS Clusters), `DBInstances` (RDS DB Instances), `Instances` (EC2 Instances), `Nodegroups` (EKS Node groups), `Pods` (EKS Pods), `ReplicationGroups`(ElastiCache Redis Replication Groups), `Roles` (IAM Roles), `SpotInstances` (EC2 Spot Instances), `Subnets` (VPC Subnets), `Tables` (DynamoDB encrypted global tables), `Tasks` (ECS Tasks), `TransitGateways` (Transit gateways), `Volumes` (EBS Volumes). See the [documentation](https://docs.aws.amazon.com/fis/latest/userguide/actions.html#action-targets) for more details.
*
*/
@Import(name="key", required=true)
private Output key;
/**
* @return Target type. Valid values are `AutoScalingGroups` (EC2 Auto Scaling groups), `Buckets` (S3 Buckets), `Cluster` (EKS Cluster), `Clusters` (ECS Clusters), `DBInstances` (RDS DB Instances), `Instances` (EC2 Instances), `Nodegroups` (EKS Node groups), `Pods` (EKS Pods), `ReplicationGroups`(ElastiCache Redis Replication Groups), `Roles` (IAM Roles), `SpotInstances` (EC2 Spot Instances), `Subnets` (VPC Subnets), `Tables` (DynamoDB encrypted global tables), `Tasks` (ECS Tasks), `TransitGateways` (Transit gateways), `Volumes` (EBS Volumes). See the [documentation](https://docs.aws.amazon.com/fis/latest/userguide/actions.html#action-targets) for more details.
*
*/
public Output key() {
return this.key;
}
/**
* Target name, referencing a corresponding target.
*
*/
@Import(name="value", required=true)
private Output value;
/**
* @return Target name, referencing a corresponding target.
*
*/
public Output value() {
return this.value;
}
private ExperimentTemplateActionTargetArgs() {}
private ExperimentTemplateActionTargetArgs(ExperimentTemplateActionTargetArgs $) {
this.key = $.key;
this.value = $.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ExperimentTemplateActionTargetArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ExperimentTemplateActionTargetArgs $;
public Builder() {
$ = new ExperimentTemplateActionTargetArgs();
}
public Builder(ExperimentTemplateActionTargetArgs defaults) {
$ = new ExperimentTemplateActionTargetArgs(Objects.requireNonNull(defaults));
}
/**
* @param key Target type. Valid values are `AutoScalingGroups` (EC2 Auto Scaling groups), `Buckets` (S3 Buckets), `Cluster` (EKS Cluster), `Clusters` (ECS Clusters), `DBInstances` (RDS DB Instances), `Instances` (EC2 Instances), `Nodegroups` (EKS Node groups), `Pods` (EKS Pods), `ReplicationGroups`(ElastiCache Redis Replication Groups), `Roles` (IAM Roles), `SpotInstances` (EC2 Spot Instances), `Subnets` (VPC Subnets), `Tables` (DynamoDB encrypted global tables), `Tasks` (ECS Tasks), `TransitGateways` (Transit gateways), `Volumes` (EBS Volumes). See the [documentation](https://docs.aws.amazon.com/fis/latest/userguide/actions.html#action-targets) for more details.
*
* @return builder
*
*/
public Builder key(Output key) {
$.key = key;
return this;
}
/**
* @param key Target type. Valid values are `AutoScalingGroups` (EC2 Auto Scaling groups), `Buckets` (S3 Buckets), `Cluster` (EKS Cluster), `Clusters` (ECS Clusters), `DBInstances` (RDS DB Instances), `Instances` (EC2 Instances), `Nodegroups` (EKS Node groups), `Pods` (EKS Pods), `ReplicationGroups`(ElastiCache Redis Replication Groups), `Roles` (IAM Roles), `SpotInstances` (EC2 Spot Instances), `Subnets` (VPC Subnets), `Tables` (DynamoDB encrypted global tables), `Tasks` (ECS Tasks), `TransitGateways` (Transit gateways), `Volumes` (EBS Volumes). See the [documentation](https://docs.aws.amazon.com/fis/latest/userguide/actions.html#action-targets) for more details.
*
* @return builder
*
*/
public Builder key(String key) {
return key(Output.of(key));
}
/**
* @param value Target name, referencing a corresponding target.
*
* @return builder
*
*/
public Builder value(Output value) {
$.value = value;
return this;
}
/**
* @param value Target name, referencing a corresponding target.
*
* @return builder
*
*/
public Builder value(String value) {
return value(Output.of(value));
}
public ExperimentTemplateActionTargetArgs build() {
if ($.key == null) {
throw new MissingRequiredPropertyException("ExperimentTemplateActionTargetArgs", "key");
}
if ($.value == null) {
throw new MissingRequiredPropertyException("ExperimentTemplateActionTargetArgs", "value");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy