//go:build !no_runtime_type_checking package awscdkbatchalpha import ( "fmt" _jsii_ "github.com/aws/jsii-runtime-go/runtime" "github.com/aws/constructs-go/constructs/v10" ) func (e *jsiiProxy_EcsFargateContainerDefinition) validateAddVolumeParameters(volume EcsVolume) error { if volume == nil { return fmt.Errorf("parameter volume is required, but nil was provided") } return nil } func validateEcsFargateContainerDefinition_IsConstructParameters(x interface{}) error { if x == nil { return fmt.Errorf("parameter x is required, but nil was provided") } return nil } func validateNewEcsFargateContainerDefinitionParameters(scope constructs.Construct, id *string, props *EcsFargateContainerDefinitionProps) error { if scope == nil { return fmt.Errorf("parameter scope is required, but nil was provided") } if id == nil { return fmt.Errorf("parameter id is required, but nil was provided") } if props == nil { return fmt.Errorf("parameter props is required, but nil was provided") } if err := _jsii_.ValidateStruct(props, func() string { return "parameter props" }); err != nil { return err } return nil }