Class FlociAwsContainer

java.lang.Object
org.testcontainers.containers.GenericContainer<io.floci.testcontainers.FlociContainer>
io.floci.testcontainers.FlociContainer
org.apache.polaris.test.floci.aws.FlociAwsContainer
All Implemented Interfaces:
AutoCloseable, FlociAwsAccess, org.testcontainers.containers.Container<io.floci.testcontainers.FlociContainer>, org.testcontainers.containers.ContainerState, org.testcontainers.containers.traits.LinkableContainer, org.testcontainers.containers.wait.strategy.WaitStrategyTarget, org.testcontainers.lifecycle.Startable

public final class FlociAwsContainer extends io.floci.testcontainers.FlociContainer implements FlociAwsAccess, AutoCloseable
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.testcontainers.containers.Container

    org.testcontainers.containers.Container.ExecResult
  • Field Summary

    Fields inherited from class io.floci.testcontainers.FlociContainer

    PORT

    Fields inherited from class org.testcontainers.containers.GenericContainer

    CONTAINER_RUNNING_TIMEOUT_SEC, dependencies, dockerClient, INTERNAL_HOST_HOSTNAME, waitStrategy

    Fields inherited from interface org.testcontainers.containers.ContainerState

    STATE_HEALTHY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    FlociAwsContainer(String image, String accessKey, String secretKey, String bucket, String region, boolean iamEnforcement)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    void
     
    software.amazon.awssdk.services.cloudwatchlogs.CloudWatchLogsClient
     
    software.amazon.awssdk.auth.credentials.AwsCredentialsProvider
     
     
     
     
    software.amazon.awssdk.services.iam.IamClient
     
     
    software.amazon.awssdk.services.kms.KmsClient
     
     
     
    s3BucketUri(String scheme, String path)
     
    software.amazon.awssdk.services.s3.S3Client
     
     
     
    void
     
    void
     
    software.amazon.awssdk.services.sts.StsClient
     
     
     
     
    withStartupAttempts(int attempts)
     

    Methods inherited from class io.floci.testcontainers.FlociContainer

    disableAllServices, getAccessKey, getAcmConfig, getAmazonMqConfig, getApiGatewayConfig, getApiGatewayV2Config, getAppConfigConfig, getAppConfigDataConfig, getAppSyncConfig, getAthenaConfig, getBackupConfig, getBatchConfig, getBcmDataExportsConfig, getBedrockRuntimeConfig, getCloudControlConfig, getCloudFormationConfig, getCloudFrontConfig, getCloudMapConfig, getCloudTrailConfig, getCloudWatchLogsConfig, getCloudWatchMetricsConfig, getCodeBuildConfig, getCodeDeployConfig, getCodePipelineConfig, getCognitoConfig, getConfigServiceConfig, getCostExplorerConfig, getCurConfig, getDedicatedNetworkName, getDefaultAccountId, getDefaultAvailabilityZone, getDocumentDbConfig, getDuckDbConfig, getDynamoDbConfig, getEc2Config, getEcrConfig, getEcsConfig, getEksConfig, getElastiCacheConfig, getElasticBeanstalkConfig, getElbV2Config, getEmrConfig, getEndpoint, getEventBridgeConfig, getFirehoseConfig, getGlueConfig, getIamConfig, getIotConfig, getIotDataConfig, getKinesisConfig, getKmsConfig, getLambdaConfig, getLightsailConfig, getLogLevel, getMemoryDbConfig, getMskConfig, getNeptuneConfig, getOpenSearchConfig, getPipesConfig, getPricingConfig, getProtocolsConfig, getRdsConfig, getRdsDataConfig, getRegion, getResourceGroupsTaggingConfig, getRoute53Config, getS3Config, getS3VectorsConfig, getSchedulerConfig, getSecretKey, getSecretsManagerConfig, getSecurityConfig, getSesConfig, getSnsConfig, getSqsConfig, getSsmConfig, getStepFunctionsConfig, getStorageConfig, getTextractConfig, getTlsConfig, getTransferFamilyConfig, getWafV2Config, withAcmConfig, withAmazonMqConfig, withApiGatewayConfig, withApiGatewayV2Config, withAppConfigConfig, withAppConfigDataConfig, withAppSyncConfig, withAthenaConfig, withBackupConfig, withBatchConfig, withBcmDataExportsConfig, withBedrockRuntimeConfig, withCloudControlConfig, withCloudFormationConfig, withCloudFrontConfig, withCloudMapConfig, withCloudTrailConfig, withCloudWatchLogsConfig, withCloudWatchMetricsConfig, withCodeBuildConfig, withCodeDeployConfig, withCodePipelineConfig, withCognitoConfig, withConfigServiceConfig, withCostExplorerConfig, withCurConfig, withDedicatedNetwork, withDefaultAvailabilityZone, withDocumentDbConfig, withDuckDbConfig, withDynamoDbConfig, withEc2Config, withEcrConfig, withEcsConfig, withEksConfig, withElastiCacheConfig, withElasticBeanstalkConfig, withElbV2Config, withEmrConfig, withEventBridgeConfig, withFirehoseConfig, withGlueConfig, withIamConfig, withIotConfig, withIotDataConfig, withKinesisConfig, withKmsConfig, withLambdaConfig, withLightsailConfig, withLogLevel, withMemoryDbConfig, withMskConfig, withNeptuneConfig, withOpenSearchConfig, withPipesConfig, withPricingConfig, withProtocolsConfig, withRdsConfig, withRdsDataConfig, withResourceGroupsTaggingConfig, withRoute53Config, withS3Config, withS3VectorsConfig, withSchedulerConfig, withSecretsManagerConfig, withSecurityConfig, withSesConfig, withSnsConfig, withSqsConfig, withSsmConfig, withStepFunctionsConfig, withStorageConfig, withTextractConfig, withTlsConfig, withTransferFamilyConfig, withWafV2Config

    Methods inherited from class org.testcontainers.containers.GenericContainer

    addEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addFixedExposedPort, addLink, canBeReused, configure, containerIsCreated, containerIsStarted, containerIsStarted, containerIsStarting, containerIsStarting, containerIsStopped, containerIsStopping, copyFileFromContainer, createVolumeDirectory, dependsOn, dependsOn, dependsOn, doStart, equals, getBinds, getCommandParts, getContainerId, getContainerInfo, getContainerName, getCopyToFileContainerPathMap, getCreateContainerCmdModifiers, getDependencies, getDockerClient, getDockerImageName, getEnv, getEnvMap, getExposedPorts, getExtraHosts, getImage, getIpAddress, getLabels, getLinkedContainers, getLivenessCheckPort, getLivenessCheckPortNumbers, getLivenessCheckPorts, getLogConsumers, getNetwork, getNetworkAliases, getNetworkMode, getPortBindings, getShmSize, getStartupAttempts, getStartupCheckStrategy, getTestHostIpAddress, getTmpFsMapping, getVolumesFroms, getWaitStrategy, getWorkingDirectory, hashCode, isHostAccessible, isPrivilegedMode, isShouldBeReused, logger, setBinds, setCommand, setCommand, setCommandParts, setContainerDef, setCopyToFileContainerPathMap, setDockerImageName, setEnv, setExposedPorts, setExtraHosts, setHostAccessible, setImage, setLabels, setLinkedContainers, setLogConsumers, setNetwork, setNetworkAliases, setNetworkMode, setPortBindings, setPrivilegedMode, setShmSize, setStartupAttempts, setStartupCheckStrategy, setTmpFsMapping, setVolumesFroms, setWaitStrategy, setWorkingDirectory, toString, waitingFor, waitUntilContainerStarted, withAccessToHost, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCopyFileToContainer, withCopyToContainer, withCreateContainerCmdModifier, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withImagePullPolicy, withLabel, withLabels, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withReuse, withSharedMemorySize, withStartupCheckStrategy, withStartupTimeout, withTmpFs, withVolumesFrom, withWorkingDirectory

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.testcontainers.containers.Container

    addFileSystemBind, followOutput, followOutput, self, withEnv, withFileSystemBind

    Methods inherited from interface org.testcontainers.containers.ContainerState

    copyFileFromContainer, copyFileToContainer, copyFileToContainer, execInContainer, execInContainer, execInContainer, execInContainer, execInContainerWithUser, execInContainerWithUser, getBoundPortNumbers, getContainerIpAddress, getCurrentContainerInfo, getFirstMappedPort, getHost, getLogs, getLogs, getMappedPort, isCreated, isHealthy, isRunning

    Methods inherited from interface org.apache.polaris.test.floci.aws.FlociAwsAccess

    cloudWatchLogsEndpoint, iamEndpoint, kmsEndpoint, s3put, stsEndpoint
  • Constructor Details

    • FlociAwsContainer

      public FlociAwsContainer()
    • FlociAwsContainer

      public FlociAwsContainer(String image, String accessKey, String secretKey, String bucket, String region, boolean iamEnforcement)
  • Method Details