software.amazon.awsconstructs.services.fargateeventbridge.FargateToEventbridgeProps Maven / Gradle / Ivy
Show all versions of fargateeventbridge Show documentation
package software.amazon.awsconstructs.services.fargateeventbridge;
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-10-06T01:58:42.527Z")
@software.amazon.jsii.Jsii(module = software.amazon.awsconstructs.services.fargateeventbridge.$Module.class, fqn = "@aws-solutions-constructs/aws-fargate-eventbridge.FargateToEventbridgeProps")
@software.amazon.jsii.Jsii.Proxy(FargateToEventbridgeProps.Jsii$Proxy.class)
public interface FargateToEventbridgeProps extends software.amazon.jsii.JsiiSerializable {
/**
* Whether the construct is deploying a private or public API.
*
* This has implications for the VPC deployed
* by this construct.
*/
@org.jetbrains.annotations.NotNull java.lang.Boolean getPublicApi();
/**
* Optional properties to create a new ECS cluster.
*
* Default: - None
*/
default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.ecs.ClusterProps getClusterProps() {
return null;
}
default @org.jetbrains.annotations.Nullable java.lang.Object getContainerDefinitionProps() {
return null;
}
/**
* The version of the image to use from the repository.
*
* Default: - 'latest'
*/
default @org.jetbrains.annotations.Nullable java.lang.String getEcrImageVersion() {
return null;
}
/**
* The arn of an ECR Repository containing the image to use to generate the containers.
*
* format:
* arn:aws:ecr:[region]:[account number]:repository/[Repository Name]
*
* Default: - None
*/
default @org.jetbrains.annotations.Nullable java.lang.String getEcrRepositoryArn() {
return null;
}
/**
* Optional Name for the container environment variable set to the DynamoDB table name.
*
* Default: - EVENTBUS_NAME
*/
default @org.jetbrains.annotations.Nullable java.lang.String getEventBusEnvironmentVariableName() {
return null;
}
/**
* A new custom EventBus is created with provided props.
*
* Default: - None
*/
default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.events.EventBusProps getEventBusProps() {
return null;
}
default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.ecs.ContainerDefinition getExistingContainerDefinitionObject() {
return null;
}
/**
* Existing instance of a custom EventBus.
*
* Default: - None
*/
default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.events.IEventBus getExistingEventBusInterface() {
return null;
}
/**
* A Fargate Service already instantiated (probably by another Solutions Construct).
*
* If
* this is specified, then no props defining a new service can be provided, including:
* existingImageObject, ecrImageVersion, containerDefinitionProps, fargateTaskDefinitionProps,
* ecrRepositoryArn, fargateServiceProps, clusterProps, existingClusterInterface. If this value
* is provided, then existingContainerDefinitionObject must be provided as well.
*
* Default: - None
*/
default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.ecs.FargateService getExistingFargateServiceObject() {
return null;
}
/**
* An existing VPC in which to deploy the construct.
*
* Providing both this and
* vpcProps is an error. If the client provides an existing Fargate service,
* this value must be the VPC where the service is running. A Step Functions Interface
* endpoint will be added to this VPC.
*
* Default: - None
*/
default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.ec2.IVpc getExistingVpc() {
return null;
}
/**
* Optional values to override default Fargate Task definition properties (fargate-defaults.ts). The construct will default to launching the service is the most isolated subnets available (precedence: Isolated, Private and Public). Override those and other defaults here.
*
* Default: - fargate-defaults.ts
*/
default @org.jetbrains.annotations.Nullable java.lang.Object getFargateServiceProps() {
return null;
}
default @org.jetbrains.annotations.Nullable java.lang.Object getFargateTaskDefinitionProps() {
return null;
}
/**
* Optional custom properties for a VPC the construct will create.
*
* This VPC will
* be used by the new Fargate service the construct creates (that's
* why targetGroupProps can't include a VPC). Providing
* both this and existingVpc is an error. A Step Functions Interface
* endpoint will be included in this VPC.
*
* Default: - A set of defaults from vpc-defaults.ts: DefaultPublicPrivateVpcProps() for public APIs
* and DefaultIsolatedVpcProps() for private APIs.
*/
default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.ec2.VpcProps getVpcProps() {
return null;
}
/**
* @return a {@link Builder} of {@link FargateToEventbridgeProps}
*/
static Builder builder() {
return new Builder();
}
/**
* A builder for {@link FargateToEventbridgeProps}
*/
public static final class Builder implements software.amazon.jsii.Builder {
java.lang.Boolean publicApi;
software.amazon.awscdk.services.ecs.ClusterProps clusterProps;
java.lang.Object containerDefinitionProps;
java.lang.String ecrImageVersion;
java.lang.String ecrRepositoryArn;
java.lang.String eventBusEnvironmentVariableName;
software.amazon.awscdk.services.events.EventBusProps eventBusProps;
software.amazon.awscdk.services.ecs.ContainerDefinition existingContainerDefinitionObject;
software.amazon.awscdk.services.events.IEventBus existingEventBusInterface;
software.amazon.awscdk.services.ecs.FargateService existingFargateServiceObject;
software.amazon.awscdk.services.ec2.IVpc existingVpc;
java.lang.Object fargateServiceProps;
java.lang.Object fargateTaskDefinitionProps;
software.amazon.awscdk.services.ec2.VpcProps vpcProps;
/**
* Sets the value of {@link FargateToEventbridgeProps#getPublicApi}
* @param publicApi Whether the construct is deploying a private or public API. This parameter is required.
* This has implications for the VPC deployed
* by this construct.
* @return {@code this}
*/
public Builder publicApi(java.lang.Boolean publicApi) {
this.publicApi = publicApi;
return this;
}
/**
* Sets the value of {@link FargateToEventbridgeProps#getClusterProps}
* @param clusterProps Optional properties to create a new ECS cluster.
* @return {@code this}
*/
public Builder clusterProps(software.amazon.awscdk.services.ecs.ClusterProps clusterProps) {
this.clusterProps = clusterProps;
return this;
}
/**
* Sets the value of {@link FargateToEventbridgeProps#getContainerDefinitionProps}
* @param containerDefinitionProps the value to be set.
* @return {@code this}
*/
public Builder containerDefinitionProps(java.lang.Object containerDefinitionProps) {
this.containerDefinitionProps = containerDefinitionProps;
return this;
}
/**
* Sets the value of {@link FargateToEventbridgeProps#getEcrImageVersion}
* @param ecrImageVersion The version of the image to use from the repository.
* @return {@code this}
*/
public Builder ecrImageVersion(java.lang.String ecrImageVersion) {
this.ecrImageVersion = ecrImageVersion;
return this;
}
/**
* Sets the value of {@link FargateToEventbridgeProps#getEcrRepositoryArn}
* @param ecrRepositoryArn The arn of an ECR Repository containing the image to use to generate the containers.
* format:
* arn:aws:ecr:[region]:[account number]:repository/[Repository Name]
* @return {@code this}
*/
public Builder ecrRepositoryArn(java.lang.String ecrRepositoryArn) {
this.ecrRepositoryArn = ecrRepositoryArn;
return this;
}
/**
* Sets the value of {@link FargateToEventbridgeProps#getEventBusEnvironmentVariableName}
* @param eventBusEnvironmentVariableName Optional Name for the container environment variable set to the DynamoDB table name.
* @return {@code this}
*/
public Builder eventBusEnvironmentVariableName(java.lang.String eventBusEnvironmentVariableName) {
this.eventBusEnvironmentVariableName = eventBusEnvironmentVariableName;
return this;
}
/**
* Sets the value of {@link FargateToEventbridgeProps#getEventBusProps}
* @param eventBusProps A new custom EventBus is created with provided props.
* @return {@code this}
*/
public Builder eventBusProps(software.amazon.awscdk.services.events.EventBusProps eventBusProps) {
this.eventBusProps = eventBusProps;
return this;
}
/**
* Sets the value of {@link FargateToEventbridgeProps#getExistingContainerDefinitionObject}
* @param existingContainerDefinitionObject the value to be set.
* @return {@code this}
*/
public Builder existingContainerDefinitionObject(software.amazon.awscdk.services.ecs.ContainerDefinition existingContainerDefinitionObject) {
this.existingContainerDefinitionObject = existingContainerDefinitionObject;
return this;
}
/**
* Sets the value of {@link FargateToEventbridgeProps#getExistingEventBusInterface}
* @param existingEventBusInterface Existing instance of a custom EventBus.
* @return {@code this}
*/
public Builder existingEventBusInterface(software.amazon.awscdk.services.events.IEventBus existingEventBusInterface) {
this.existingEventBusInterface = existingEventBusInterface;
return this;
}
/**
* Sets the value of {@link FargateToEventbridgeProps#getExistingFargateServiceObject}
* @param existingFargateServiceObject A Fargate Service already instantiated (probably by another Solutions Construct).
* If
* this is specified, then no props defining a new service can be provided, including:
* existingImageObject, ecrImageVersion, containerDefinitionProps, fargateTaskDefinitionProps,
* ecrRepositoryArn, fargateServiceProps, clusterProps, existingClusterInterface. If this value
* is provided, then existingContainerDefinitionObject must be provided as well.
* @return {@code this}
*/
public Builder existingFargateServiceObject(software.amazon.awscdk.services.ecs.FargateService existingFargateServiceObject) {
this.existingFargateServiceObject = existingFargateServiceObject;
return this;
}
/**
* Sets the value of {@link FargateToEventbridgeProps#getExistingVpc}
* @param existingVpc An existing VPC in which to deploy the construct.
* Providing both this and
* vpcProps is an error. If the client provides an existing Fargate service,
* this value must be the VPC where the service is running. A Step Functions Interface
* endpoint will be added to this VPC.
* @return {@code this}
*/
public Builder existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc) {
this.existingVpc = existingVpc;
return this;
}
/**
* Sets the value of {@link FargateToEventbridgeProps#getFargateServiceProps}
* @param fargateServiceProps Optional values to override default Fargate Task definition properties (fargate-defaults.ts). The construct will default to launching the service is the most isolated subnets available (precedence: Isolated, Private and Public). Override those and other defaults here.
* @return {@code this}
*/
public Builder fargateServiceProps(java.lang.Object fargateServiceProps) {
this.fargateServiceProps = fargateServiceProps;
return this;
}
/**
* Sets the value of {@link FargateToEventbridgeProps#getFargateTaskDefinitionProps}
* @param fargateTaskDefinitionProps the value to be set.
* @return {@code this}
*/
public Builder fargateTaskDefinitionProps(java.lang.Object fargateTaskDefinitionProps) {
this.fargateTaskDefinitionProps = fargateTaskDefinitionProps;
return this;
}
/**
* Sets the value of {@link FargateToEventbridgeProps#getVpcProps}
* @param vpcProps Optional custom properties for a VPC the construct will create.
* This VPC will
* be used by the new Fargate service the construct creates (that's
* why targetGroupProps can't include a VPC). Providing
* both this and existingVpc is an error. A Step Functions Interface
* endpoint will be included in this VPC.
* @return {@code this}
*/
public Builder vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps) {
this.vpcProps = vpcProps;
return this;
}
/**
* Builds the configured instance.
* @return a new instance of {@link FargateToEventbridgeProps}
* @throws NullPointerException if any required attribute was not provided
*/
@Override
public FargateToEventbridgeProps build() {
return new Jsii$Proxy(this);
}
}
/**
* An implementation for {@link FargateToEventbridgeProps}
*/
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FargateToEventbridgeProps {
private final java.lang.Boolean publicApi;
private final software.amazon.awscdk.services.ecs.ClusterProps clusterProps;
private final java.lang.Object containerDefinitionProps;
private final java.lang.String ecrImageVersion;
private final java.lang.String ecrRepositoryArn;
private final java.lang.String eventBusEnvironmentVariableName;
private final software.amazon.awscdk.services.events.EventBusProps eventBusProps;
private final software.amazon.awscdk.services.ecs.ContainerDefinition existingContainerDefinitionObject;
private final software.amazon.awscdk.services.events.IEventBus existingEventBusInterface;
private final software.amazon.awscdk.services.ecs.FargateService existingFargateServiceObject;
private final software.amazon.awscdk.services.ec2.IVpc existingVpc;
private final java.lang.Object fargateServiceProps;
private final java.lang.Object fargateTaskDefinitionProps;
private final software.amazon.awscdk.services.ec2.VpcProps vpcProps;
/**
* Constructor that initializes the object based on values retrieved from the JsiiObject.
* @param objRef Reference to the JSII managed object.
*/
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
this.publicApi = software.amazon.jsii.Kernel.get(this, "publicApi", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.clusterProps = software.amazon.jsii.Kernel.get(this, "clusterProps", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ecs.ClusterProps.class));
this.containerDefinitionProps = software.amazon.jsii.Kernel.get(this, "containerDefinitionProps", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
this.ecrImageVersion = software.amazon.jsii.Kernel.get(this, "ecrImageVersion", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.ecrRepositoryArn = software.amazon.jsii.Kernel.get(this, "ecrRepositoryArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.eventBusEnvironmentVariableName = software.amazon.jsii.Kernel.get(this, "eventBusEnvironmentVariableName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.eventBusProps = software.amazon.jsii.Kernel.get(this, "eventBusProps", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.events.EventBusProps.class));
this.existingContainerDefinitionObject = software.amazon.jsii.Kernel.get(this, "existingContainerDefinitionObject", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ecs.ContainerDefinition.class));
this.existingEventBusInterface = software.amazon.jsii.Kernel.get(this, "existingEventBusInterface", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.events.IEventBus.class));
this.existingFargateServiceObject = software.amazon.jsii.Kernel.get(this, "existingFargateServiceObject", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ecs.FargateService.class));
this.existingVpc = software.amazon.jsii.Kernel.get(this, "existingVpc", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.IVpc.class));
this.fargateServiceProps = software.amazon.jsii.Kernel.get(this, "fargateServiceProps", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
this.fargateTaskDefinitionProps = software.amazon.jsii.Kernel.get(this, "fargateTaskDefinitionProps", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
this.vpcProps = software.amazon.jsii.Kernel.get(this, "vpcProps", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.VpcProps.class));
}
/**
* Constructor that initializes the object based on literal property values passed by the {@link Builder}.
*/
protected Jsii$Proxy(final Builder builder) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
this.publicApi = java.util.Objects.requireNonNull(builder.publicApi, "publicApi is required");
this.clusterProps = builder.clusterProps;
this.containerDefinitionProps = builder.containerDefinitionProps;
this.ecrImageVersion = builder.ecrImageVersion;
this.ecrRepositoryArn = builder.ecrRepositoryArn;
this.eventBusEnvironmentVariableName = builder.eventBusEnvironmentVariableName;
this.eventBusProps = builder.eventBusProps;
this.existingContainerDefinitionObject = builder.existingContainerDefinitionObject;
this.existingEventBusInterface = builder.existingEventBusInterface;
this.existingFargateServiceObject = builder.existingFargateServiceObject;
this.existingVpc = builder.existingVpc;
this.fargateServiceProps = builder.fargateServiceProps;
this.fargateTaskDefinitionProps = builder.fargateTaskDefinitionProps;
this.vpcProps = builder.vpcProps;
}
@Override
public final java.lang.Boolean getPublicApi() {
return this.publicApi;
}
@Override
public final software.amazon.awscdk.services.ecs.ClusterProps getClusterProps() {
return this.clusterProps;
}
@Override
public final java.lang.Object getContainerDefinitionProps() {
return this.containerDefinitionProps;
}
@Override
public final java.lang.String getEcrImageVersion() {
return this.ecrImageVersion;
}
@Override
public final java.lang.String getEcrRepositoryArn() {
return this.ecrRepositoryArn;
}
@Override
public final java.lang.String getEventBusEnvironmentVariableName() {
return this.eventBusEnvironmentVariableName;
}
@Override
public final software.amazon.awscdk.services.events.EventBusProps getEventBusProps() {
return this.eventBusProps;
}
@Override
public final software.amazon.awscdk.services.ecs.ContainerDefinition getExistingContainerDefinitionObject() {
return this.existingContainerDefinitionObject;
}
@Override
public final software.amazon.awscdk.services.events.IEventBus getExistingEventBusInterface() {
return this.existingEventBusInterface;
}
@Override
public final software.amazon.awscdk.services.ecs.FargateService getExistingFargateServiceObject() {
return this.existingFargateServiceObject;
}
@Override
public final software.amazon.awscdk.services.ec2.IVpc getExistingVpc() {
return this.existingVpc;
}
@Override
public final java.lang.Object getFargateServiceProps() {
return this.fargateServiceProps;
}
@Override
public final java.lang.Object getFargateTaskDefinitionProps() {
return this.fargateTaskDefinitionProps;
}
@Override
public final software.amazon.awscdk.services.ec2.VpcProps getVpcProps() {
return this.vpcProps;
}
@Override
@software.amazon.jsii.Internal
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() {
final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE;
final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
data.set("publicApi", om.valueToTree(this.getPublicApi()));
if (this.getClusterProps() != null) {
data.set("clusterProps", om.valueToTree(this.getClusterProps()));
}
if (this.getContainerDefinitionProps() != null) {
data.set("containerDefinitionProps", om.valueToTree(this.getContainerDefinitionProps()));
}
if (this.getEcrImageVersion() != null) {
data.set("ecrImageVersion", om.valueToTree(this.getEcrImageVersion()));
}
if (this.getEcrRepositoryArn() != null) {
data.set("ecrRepositoryArn", om.valueToTree(this.getEcrRepositoryArn()));
}
if (this.getEventBusEnvironmentVariableName() != null) {
data.set("eventBusEnvironmentVariableName", om.valueToTree(this.getEventBusEnvironmentVariableName()));
}
if (this.getEventBusProps() != null) {
data.set("eventBusProps", om.valueToTree(this.getEventBusProps()));
}
if (this.getExistingContainerDefinitionObject() != null) {
data.set("existingContainerDefinitionObject", om.valueToTree(this.getExistingContainerDefinitionObject()));
}
if (this.getExistingEventBusInterface() != null) {
data.set("existingEventBusInterface", om.valueToTree(this.getExistingEventBusInterface()));
}
if (this.getExistingFargateServiceObject() != null) {
data.set("existingFargateServiceObject", om.valueToTree(this.getExistingFargateServiceObject()));
}
if (this.getExistingVpc() != null) {
data.set("existingVpc", om.valueToTree(this.getExistingVpc()));
}
if (this.getFargateServiceProps() != null) {
data.set("fargateServiceProps", om.valueToTree(this.getFargateServiceProps()));
}
if (this.getFargateTaskDefinitionProps() != null) {
data.set("fargateTaskDefinitionProps", om.valueToTree(this.getFargateTaskDefinitionProps()));
}
if (this.getVpcProps() != null) {
data.set("vpcProps", om.valueToTree(this.getVpcProps()));
}
final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
struct.set("fqn", om.valueToTree("@aws-solutions-constructs/aws-fargate-eventbridge.FargateToEventbridgeProps"));
struct.set("data", data);
final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
obj.set("$jsii.struct", struct);
return obj;
}
@Override
public final boolean equals(final Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
FargateToEventbridgeProps.Jsii$Proxy that = (FargateToEventbridgeProps.Jsii$Proxy) o;
if (!publicApi.equals(that.publicApi)) return false;
if (this.clusterProps != null ? !this.clusterProps.equals(that.clusterProps) : that.clusterProps != null) return false;
if (this.containerDefinitionProps != null ? !this.containerDefinitionProps.equals(that.containerDefinitionProps) : that.containerDefinitionProps != null) return false;
if (this.ecrImageVersion != null ? !this.ecrImageVersion.equals(that.ecrImageVersion) : that.ecrImageVersion != null) return false;
if (this.ecrRepositoryArn != null ? !this.ecrRepositoryArn.equals(that.ecrRepositoryArn) : that.ecrRepositoryArn != null) return false;
if (this.eventBusEnvironmentVariableName != null ? !this.eventBusEnvironmentVariableName.equals(that.eventBusEnvironmentVariableName) : that.eventBusEnvironmentVariableName != null) return false;
if (this.eventBusProps != null ? !this.eventBusProps.equals(that.eventBusProps) : that.eventBusProps != null) return false;
if (this.existingContainerDefinitionObject != null ? !this.existingContainerDefinitionObject.equals(that.existingContainerDefinitionObject) : that.existingContainerDefinitionObject != null) return false;
if (this.existingEventBusInterface != null ? !this.existingEventBusInterface.equals(that.existingEventBusInterface) : that.existingEventBusInterface != null) return false;
if (this.existingFargateServiceObject != null ? !this.existingFargateServiceObject.equals(that.existingFargateServiceObject) : that.existingFargateServiceObject != null) return false;
if (this.existingVpc != null ? !this.existingVpc.equals(that.existingVpc) : that.existingVpc != null) return false;
if (this.fargateServiceProps != null ? !this.fargateServiceProps.equals(that.fargateServiceProps) : that.fargateServiceProps != null) return false;
if (this.fargateTaskDefinitionProps != null ? !this.fargateTaskDefinitionProps.equals(that.fargateTaskDefinitionProps) : that.fargateTaskDefinitionProps != null) return false;
return this.vpcProps != null ? this.vpcProps.equals(that.vpcProps) : that.vpcProps == null;
}
@Override
public final int hashCode() {
int result = this.publicApi.hashCode();
result = 31 * result + (this.clusterProps != null ? this.clusterProps.hashCode() : 0);
result = 31 * result + (this.containerDefinitionProps != null ? this.containerDefinitionProps.hashCode() : 0);
result = 31 * result + (this.ecrImageVersion != null ? this.ecrImageVersion.hashCode() : 0);
result = 31 * result + (this.ecrRepositoryArn != null ? this.ecrRepositoryArn.hashCode() : 0);
result = 31 * result + (this.eventBusEnvironmentVariableName != null ? this.eventBusEnvironmentVariableName.hashCode() : 0);
result = 31 * result + (this.eventBusProps != null ? this.eventBusProps.hashCode() : 0);
result = 31 * result + (this.existingContainerDefinitionObject != null ? this.existingContainerDefinitionObject.hashCode() : 0);
result = 31 * result + (this.existingEventBusInterface != null ? this.existingEventBusInterface.hashCode() : 0);
result = 31 * result + (this.existingFargateServiceObject != null ? this.existingFargateServiceObject.hashCode() : 0);
result = 31 * result + (this.existingVpc != null ? this.existingVpc.hashCode() : 0);
result = 31 * result + (this.fargateServiceProps != null ? this.fargateServiceProps.hashCode() : 0);
result = 31 * result + (this.fargateTaskDefinitionProps != null ? this.fargateTaskDefinitionProps.hashCode() : 0);
result = 31 * result + (this.vpcProps != null ? this.vpcProps.hashCode() : 0);
return result;
}
}
}