diff --git a/.ci-mgmt.yaml b/.ci-mgmt.yaml index cd348941f18..27110db0fd5 100644 --- a/.ci-mgmt.yaml +++ b/.ci-mgmt.yaml @@ -86,6 +86,33 @@ extraTests: env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + upstream_lint: + name: Run upstream provider-lint + runs-on: ubuntu-latest + timeout-minutes: 60 + steps: + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + swap-storage: false + tool-cache: false + - name: Checkout Repo + uses: actions/checkout@v4 + with: + ref: ${{ env.PR_COMMIT_SHA }} + submodules: true + - name: Install Go + uses: actions/setup-go@v5 + with: + go-version: "1.22.x" + cache: false + - name: Make upstream + run: make upstream + - name: upstream lint + run: | + cd upstream + make provider-lint + test_oidc: name: test_oidc needs: build_sdk diff --git a/.github/actions/download-bin/action.yml b/.github/actions/download-bin/action.yml new file mode 100644 index 00000000000..68f0db20837 --- /dev/null +++ b/.github/actions/download-bin/action.yml @@ -0,0 +1,16 @@ +name: Download binary assets +description: Downloads the provider and tfgen binaries to `bin/`. + +runs: + using: "composite" + steps: + - name: Download provider + tfgen binaries + uses: actions/download-artifact@v4 + with: + name: aws-provider.tar.gz + path: ${{ github.workspace }}/bin + - name: Untar provider binaries + shell: bash + run: | + tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace}}/bin + find ${{ github.workspace }} -name "pulumi-*-aws" -print -exec chmod +x {} \; diff --git a/.github/actions/download-sdk/action.yml b/.github/actions/download-sdk/action.yml new file mode 100644 index 00000000000..1fd54841b40 --- /dev/null +++ b/.github/actions/download-sdk/action.yml @@ -0,0 +1,19 @@ +name: Download SDK asset +description: Restores the SDK asset for a language. + +inputs: + language: + required: true + description: One of nodejs, python, dotnet, go, java + +runs: + using: "composite" + steps: + - name: Download ${{ inputs.language }} SDK + uses: actions/download-artifact@v4 + with: + name: ${{ inputs.language }}-sdk.tar.gz + path: ${{ github.workspace}}/sdk/ + - name: Uncompress SDK folder + shell: bash + run: tar -zxf ${{ github.workspace }}/sdk/${{ inputs.language }}.tar.gz -C ${{ github.workspace }}/sdk/${{ inputs.language }} diff --git a/.github/actions/setup-tools/action.yml b/.github/actions/setup-tools/action.yml index a3f170c839b..ec2dddec60f 100644 --- a/.github/actions/setup-tools/action.yml +++ b/.github/actions/setup-tools/action.yml @@ -26,6 +26,7 @@ runs: cache-dependency-path: | provider/*.sum upstream/*.sum + sdk/*.sum - name: Install pulumictl if: inputs.tools == 'all' || contains(inputs.tools, 'pulumictl') diff --git a/.github/actions/upload-bin/action.yml b/.github/actions/upload-bin/action.yml new file mode 100644 index 00000000000..89b8a7363f3 --- /dev/null +++ b/.github/actions/upload-bin/action.yml @@ -0,0 +1,15 @@ +name: Upload bin assets +description: Uploads the provider and tfgen binaries to `bin/`. + +runs: + using: "composite" + steps: + - name: Tar provider binaries + shell: bash + run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace }}/bin/ pulumi-resource-aws pulumi-tfgen-aws + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: aws-provider.tar.gz + path: ${{ github.workspace }}/bin/provider.tar.gz + retention-days: 30 diff --git a/.github/actions/upload-sdk/action.yml b/.github/actions/upload-sdk/action.yml new file mode 100644 index 00000000000..77d4849426b --- /dev/null +++ b/.github/actions/upload-sdk/action.yml @@ -0,0 +1,20 @@ +name: Upload SDK asset +description: Upload the SDK for a specific language as an asset for the workflow. + +inputs: + language: + required: true + description: One of nodejs, python, dotnet, go, java + +runs: + using: "composite" + steps: + - name: Compress SDK folder + shell: bash + run: tar -zcf sdk/${{ inputs.language }}.tar.gz -C sdk/${{ inputs.language }} . + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: ${{ inputs.language }}-sdk.tar.gz + path: ${{ github.workspace}}/sdk/${{ inputs.language }}.tar.gz + retention-days: 30 diff --git a/.github/workflows/build_sdk.yml b/.github/workflows/build_sdk.yml index 1c7f099082b..5e209851e11 100644 --- a/.github/workflows/build_sdk.yml +++ b/.github/workflows/build_sdk.yml @@ -26,7 +26,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi PROVIDER_VERSION: ${{ inputs.version }} @@ -58,17 +57,8 @@ jobs: uses: ./.github/actions/setup-tools with: tools: pulumictl, pulumicli, go, node, dotnet, python, java - - name: Download provider + tfgen binaries - uses: actions/download-artifact@v4 - with: - name: aws-provider.tar.gz - path: ${{ github.workspace }}/bin - - name: Untar provider binaries - run: >- - tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ - github.workspace}}/bin - - find ${{ github.workspace }} -name "pulumi-*-aws" -print -exec chmod +x {} \; + - name: Download bin + uses: ./.github/actions/download-bin - name: Install plugins run: make install_plugins - name: Update path @@ -84,11 +74,7 @@ jobs: sdk/go/**/pulumiUtilities.go sdk/nodejs/package.json sdk/python/pyproject.toml - - name: Compress SDK folder - run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} . - - name: Upload artifacts - uses: actions/upload-artifact@v4 + - name: Upload SDK + uses: ./.github/actions/upload-sdk with: - name: ${{ matrix.language }}-sdk.tar.gz - path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz - retention-days: 30 + language: ${{ matrix.language }} diff --git a/.github/workflows/check-upstream-upgrade.yml b/.github/workflows/check-upstream-upgrade.yml index f2de64f81af..d79f5127e2f 100644 --- a/.github/workflows/check-upstream-upgrade.yml +++ b/.github/workflows/check-upstream-upgrade.yml @@ -8,16 +8,14 @@ jobs: name: Check for upstream provider upgrades runs-on: ubuntu-latest steps: - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - name: Checkout Repo uses: actions/checkout@v4 with: submodules: true + - name: Setup tools + uses: ./.github/actions/setup-tools + with: + tools: go - name: Install upgrade-provider run: go install github.com/pulumi/upgrade-provider@main shell: bash @@ -34,17 +32,6 @@ jobs: env: REPO: ${{ github.repository }} shell: bash - - name: Send Check Version Failure To Slack - if: failure() - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_CHANNEL: provider-upgrade-publish-status - SLACK_COLOR: "#FF0000" - SLACK_ICON_EMOJI: ":owl:" - SLACK_MESSAGE: " Failed to check upstream for a new version " - SLACK_TITLE: ${{ github.event.repository.name }} upstream version check - SLACK_USERNAME: provider-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} name: Check upstream upgrade on: workflow_dispatch: {} #so we can run this manually if necessary. diff --git a/.github/workflows/command-dispatch.yml b/.github/workflows/command-dispatch.yml index a43b28af672..91906bf0d61 100644 --- a/.github/workflows/command-dispatch.yml +++ b/.github/workflows/command-dispatch.yml @@ -19,7 +19,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: command-dispatch-for-testing: diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index e721c81f262..b146f85e5a1 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -26,7 +26,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: @@ -38,12 +37,10 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ env.PR_COMMIT_SHA }} - - name: Install Go - uses: actions/setup-go@v5 + - name: Setup tools + uses: ./.github/actions/setup-tools with: - cache-dependency-path: | - sdk/go.sum - go-version: "1.21.x" + tools: go - run: make upstream - uses: pulumi/license-check-action@main with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 533013658a6..f8edde6f8cf 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,7 +25,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 58becf5eed8..8d082f4782a 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -19,7 +19,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: prerequisites: @@ -61,26 +60,10 @@ jobs: aws-access-key-id: ${{ secrets.AWS_CORP_S3_UPLOAD_ACCESS_KEY_ID }} aws-region: us-west-2 aws-secret-access-key: ${{ secrets.AWS_CORP_S3_UPLOAD_SECRET_ACCESS_KEY }} - - name: Install Go - uses: actions/setup-go@v5 + - name: Setup tools + uses: ./.github/actions/setup-tools with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 - with: - pulumi-version: "dev" - - if: github.event_name == 'pull_request' - name: Install Schema Tools - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - repo: pulumi/schema-tools + tools: pulumictl, pulumicli, go, schema-tools - name: Echo Coverage Output Dir run: 'echo "Coverage output directory: ${{ env.COVERAGE_OUTPUT_DIR }}"' - name: Generate Coverage Data @@ -108,85 +91,17 @@ jobs: - go_test_shim - provider_test - test_oidc - runs-on: ubuntu-latest - steps: - - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@v1.3.1 - with: - # this might remove tools that are actually needed, - # if set to "true" but frees about 6 GB - tool-cache: false - swap-storage: false - - name: Checkout Repo - uses: actions/checkout@v4 - with: - submodules: true - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 - with: - pulumi-version: "dev" - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v4 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-region: us-east-2 - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - role-duration-seconds: 7200 - role-external-id: upload-pulumi-release - role-session-name: aws@githubActions - role-to-assume: ${{ secrets.AWS_UPLOAD_ROLE_ARN }} - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 - env: - GORELEASER_CURRENT_TAG: v${{ needs.prerequisites.outputs.version }} - PROVIDER_VERSION: ${{ needs.prerequisites.outputs.version }} - with: - args: -p 1 -f .goreleaser.prerelease.yml --rm-dist --skip-validate --timeout - 150m0s - version: latest - - publish_sdk: - name: publish_sdk - needs: - - prerequisites - - publish - runs-on: ubuntu-latest - steps: - - name: Publish SDKs - uses: pulumi/pulumi-package-publisher@v0.0.18 - with: - sdk: all - version: ${{ needs.prerequisites.outputs.version }} - dotnet-version: "6.0.x" - java-version: "11" - node-version: "20.x" - python-version: "3.11.8" - - env: - SLACK_CHANNEL: provider-upgrade-publish-status - SLACK_COLOR: "#FF0000" - SLACK_ICON_EMOJI: ":taco:" - SLACK_MESSAGE: "Publish failed :x:" - SLACK_TITLE: ${{ github.event.repository.name }} upgrade result - SLACK_USERNAME: provider-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} - if: failure() - name: Send Publish Failure To Slack - uses: rtCamp/action-slack-notify@v2 + - upstream_lint + uses: ./.github/workflows/publish.yml + secrets: inherit + with: + version: ${{ needs.prerequisites.outputs.version }} + isPrerelease: true + skipGoSdk: true tag_release_if_labeled_needs_release: name: Tag release if labeled as needs-release - needs: publish_sdk + needs: publish runs-on: ubuntu-latest steps: - name: check if this commit needs release @@ -223,64 +138,17 @@ jobs: uses: actions/checkout@v4 with: submodules: true - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 - with: - pulumi-version: "dev" - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "20.x" - registry-url: https://registry.npmjs.org - - name: Setup DotNet - uses: actions/setup-dotnet@v4 - with: - dotnet-version: "6.0.x" - - name: Setup Python - uses: actions/setup-python@v5 + - name: Setup tools + uses: ./.github/actions/setup-tools with: - python-version: "3.11.8" - - name: Setup Java - uses: actions/setup-java@v4 - with: - cache: gradle - distribution: temurin - java-version: "11" - - name: Setup Gradle - uses: gradle/gradle-build-action@v3 - with: - gradle-version: "7.6" - - name: Download provider + tfgen binaries - uses: actions/download-artifact@v4 - with: - name: aws-provider.tar.gz - path: ${{ github.workspace }}/bin - - name: Untar provider binaries - run: >- - tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ - github.workspace}}/bin - - find ${{ github.workspace }} -name "pulumi-*-aws" -print -exec chmod +x {} \; + tools: pulumictl, pulumicli, go, node, dotnet, python, java + - name: Download bin + uses: ./.github/actions/download-bin - run: dotnet nuget add source ${{ github.workspace }}/nuget - name: Download SDK - uses: actions/download-artifact@v4 + uses: ./.github/actions/download-sdk with: - name: ${{ matrix.language }}-sdk.tar.gz - path: ${{ github.workspace}}/sdk/ - - name: Uncompress SDK folder - run: tar -zxf ${{ github.workspace }}/sdk/${{ matrix.language }}.tar.gz -C ${{ - github.workspace }}/sdk/${{ matrix.language }} + language: ${{ matrix.language }} - name: Update path run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH" - name: Install Python deps @@ -508,9 +376,36 @@ jobs: matrix: language: - nodejs + upstream_lint: + name: Run upstream provider-lint + runs-on: ubuntu-latest + steps: + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + swap-storage: false + tool-cache: false + - name: Checkout Repo + uses: actions/checkout@v4 + with: + ref: ${{ env.PR_COMMIT_SHA }} + submodules: true + - name: Install Go + uses: actions/setup-go@v5 + with: + cache: false + go-version: 1.22.x + - name: Make upstream + run: make upstream + - name: upstream lint + run: | + cd upstream + make provider-lint + timeout-minutes: 60 name: master on: + workflow_dispatch: {} push: branches: - master diff --git a/.github/workflows/nightly-test.yml b/.github/workflows/nightly-test.yml index 7f5ec756c08..ef2323bebda 100644 --- a/.github/workflows/nightly-test.yml +++ b/.github/workflows/nightly-test.yml @@ -19,7 +19,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: prerequisites: @@ -60,64 +59,17 @@ jobs: uses: actions/checkout@v4 with: submodules: true - - name: Install Go - uses: actions/setup-go@v5 + - name: Setup tools + uses: ./.github/actions/setup-tools with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 - with: - pulumi-version: "dev" - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "20.x" - registry-url: https://registry.npmjs.org - - name: Setup DotNet - uses: actions/setup-dotnet@v4 - with: - dotnet-version: "6.0.x" - - name: Setup Python - uses: actions/setup-python@v5 - with: - python-version: "3.11.8" - - name: Setup Java - uses: actions/setup-java@v4 - with: - cache: gradle - distribution: temurin - java-version: "11" - - name: Setup Gradle - uses: gradle/gradle-build-action@v3 - with: - gradle-version: "7.6" - - name: Download provider + tfgen binaries - uses: actions/download-artifact@v4 - with: - name: aws-provider.tar.gz - path: ${{ github.workspace }}/bin - - name: Untar provider binaries - run: >- - tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ - github.workspace}}/bin - - find ${{ github.workspace }} -name "pulumi-*-aws" -print -exec chmod +x {} \; + tools: pulumictl, pulumicli, go, node, dotnet, python, java + - name: Download bin + uses: ./.github/actions/download-bin - run: dotnet nuget add source ${{ github.workspace }}/nuget - name: Download SDK - uses: actions/download-artifact@v4 + uses: ./.github/actions/download-sdk with: - name: ${{ matrix.language }}-sdk.tar.gz - path: ${{ github.workspace}}/sdk/ - - name: Uncompress SDK folder - run: tar -zxf ${{ github.workspace }}/sdk/${{ matrix.language }}.tar.gz -C ${{ - github.workspace }}/sdk/${{ matrix.language }} + language: ${{ matrix.language }} - name: Update path run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH" - name: Install Python deps diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 0653c571300..a0379e8b99c 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -20,7 +20,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: prerequisites: @@ -53,118 +52,13 @@ jobs: - go_test_shim - provider_test - test_oidc - runs-on: ubuntu-latest - steps: - - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@v1.3.1 - with: - # this might remove tools that are actually needed, - # if set to "true" but frees about 6 GB - tool-cache: false - swap-storage: false - - name: Checkout Repo - uses: actions/checkout@v4 - with: - submodules: true - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 - with: - pulumi-version: "dev" - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v4 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-region: us-east-2 - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - role-duration-seconds: 7200 - role-external-id: upload-pulumi-release - role-session-name: aws@githubActions - role-to-assume: ${{ secrets.AWS_UPLOAD_ROLE_ARN }} - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 - env: - GORELEASER_CURRENT_TAG: v${{ needs.prerequisites.outputs.version }} - PROVIDER_VERSION: ${{ needs.prerequisites.outputs.version }} - with: - args: -p 1 -f .goreleaser.prerelease.yml --rm-dist --skip-validate --timeout - 150m0s - version: latest - publish_sdk: - name: publish_sdk - needs: - - prerequisites - - publish - runs-on: ubuntu-latest - steps: - - name: Publish SDKs - uses: pulumi/pulumi-package-publisher@v0.0.18 - with: - sdk: all - version: ${{ needs.prerequisites.outputs.version }} - dotnet-version: "6.0.x" - java-version: "11" - node-version: "20.x" - python-version: "3.11.8" - - env: - SLACK_CHANNEL: provider-upgrade-publish-status - SLACK_COLOR: "#FF0000" - SLACK_ICON_EMOJI: ":taco:" - SLACK_MESSAGE: "Publish failed :x:" - SLACK_TITLE: ${{ github.event.repository.name }} upgrade result - SLACK_USERNAME: provider-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} - if: failure() - name: Send Publish Failure To Slack - uses: rtCamp/action-slack-notify@v2 - publish_go_sdk: - name: publish_go_sdk - needs: - - prerequisites - - publish_sdk - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v4 - with: - submodules: true - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Download Go SDK - uses: actions/download-artifact@v4 - with: - name: go-sdk.tar.gz - path: ${{ github.workspace }}/sdk/ - - name: Uncompress Go SDK - run: tar -zxf ${{ github.workspace }}/sdk/go.tar.gz -C - ${{ github.workspace }}/sdk/go - shell: bash - - uses: pulumi/publish-go-sdk-action@v1 - with: - repository: ${{ github.repository }} - base-ref: ${{ github.sha }} - source: sdk - path: sdk - version: ${{ needs.prerequisites.outputs.version }} - additive: false - # Avoid including other language SDKs & artifacts in the commit - files: | - go.* - go/** - !*.tar.gz + - upstream_lint + uses: ./.github/workflows/publish.yml + secrets: inherit + with: + version: ${{ needs.prerequisites.outputs.version }} + isPrerelease: true + test: name: test needs: @@ -187,64 +81,17 @@ jobs: uses: actions/checkout@v4 with: submodules: true - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 - with: - pulumi-version: "dev" - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "20.x" - registry-url: https://registry.npmjs.org - - name: Setup DotNet - uses: actions/setup-dotnet@v4 - with: - dotnet-version: "6.0.x" - - name: Setup Python - uses: actions/setup-python@v5 + - name: Setup tools + uses: ./.github/actions/setup-tools with: - python-version: "3.11.8" - - name: Setup Java - uses: actions/setup-java@v4 - with: - cache: gradle - distribution: temurin - java-version: "11" - - name: Setup Gradle - uses: gradle/gradle-build-action@v3 - with: - gradle-version: "7.6" - - name: Download provider + tfgen binaries - uses: actions/download-artifact@v4 - with: - name: aws-provider.tar.gz - path: ${{ github.workspace }}/bin - - name: Untar provider binaries - run: >- - tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ - github.workspace}}/bin - - find ${{ github.workspace }} -name "pulumi-*-aws" -print -exec chmod +x {} \; + tools: pulumictl, pulumicli, go, node, dotnet, python, java + - name: Download bin + uses: ./.github/actions/download-bin - run: dotnet nuget add source ${{ github.workspace }}/nuget - name: Download SDK - uses: actions/download-artifact@v4 + uses: ./.github/actions/download-sdk with: - name: ${{ matrix.language }}-sdk.tar.gz - path: ${{ github.workspace}}/sdk/ - - name: Uncompress SDK folder - run: tar -zxf ${{ github.workspace }}/sdk/${{ matrix.language }}.tar.gz -C ${{ - github.workspace }}/sdk/${{ matrix.language }} + language: ${{ matrix.language }} - name: Update path run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH" - name: Install Python deps @@ -472,20 +319,33 @@ jobs: matrix: language: - nodejs + upstream_lint: + name: Run upstream provider-lint + runs-on: ubuntu-latest + steps: + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + swap-storage: false + tool-cache: false + - name: Checkout Repo + uses: actions/checkout@v4 + with: + ref: ${{ env.PR_COMMIT_SHA }} + submodules: true + - name: Install Go + uses: actions/setup-go@v5 + with: + cache: false + go-version: 1.22.x + - name: Make upstream + run: make upstream + - name: upstream lint + run: | + cd upstream + make provider-lint + timeout-minutes: 60 - verify-release: - name: verify-release - needs: - - prerequisites - - publish - - publish_sdk - - publish_go_sdk - uses: ./.github/workflows/verify-release.yml - secrets: inherit - with: - providerVersion: ${{ needs.prerequisites.outputs.version }} - # Prelease is run often but we only have 5 concurrent macos runners, so we only test after the stable release. - enableMacosRunner: false name: prerelease on: diff --git a/.github/workflows/prerequisites.yml b/.github/workflows/prerequisites.yml index 1769bf0c68e..7190133a88f 100644 --- a/.github/workflows/prerequisites.yml +++ b/.github/workflows/prerequisites.yml @@ -36,7 +36,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: @@ -103,13 +102,5 @@ jobs: Maintainer note: consult the [runbook](https://github.com/pulumi/platform-providers-team/blob/main/playbooks/tf-provider-updating.md) for dealing with any breaking changes. - - name: Tar provider binaries - run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ - github.workspace }}/bin/ pulumi-resource-aws - pulumi-tfgen-aws - - name: Upload artifacts - uses: actions/upload-artifact@v4 - with: - name: aws-provider.tar.gz - path: ${{ github.workspace }}/bin/provider.tar.gz - retention-days: 30 + - name: Upload bin + uses: ./.github/actions/upload-bin diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 00000000000..4cbebe2f3a8 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,180 @@ +# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt +name: Publish + +on: + workflow_call: + inputs: + version: + required: true + type: string + isPrerelease: + required: true + type: boolean + skipGoSdk: + default: false + type: boolean + description: Skip publishing & verifying the Go SDK + +env: + IS_PRERELEASE: ${{ inputs.isPrerelease }} + AWS_REGION: us-west-2 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }} + OIDC_ROLE_ARN: ${{ secrets.OIDC_ROLE_ARN }} + PUBLISH_REPO_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} + PUBLISH_REPO_USERNAME: ${{ secrets.OSSRH_USERNAME }} + PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} + PULUMI_API: https://api.pulumi-staging.io + PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/.. + PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget + PULUMI_MISSING_DOCS_ERROR: true + PYPI_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} + PYPI_USERNAME: __token__ + SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} + SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} + SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} + TF_APPEND_USER_AGENT: pulumi + +jobs: + publish: + name: publish + runs-on: ubuntu-latest + steps: + - name: Validate prerelease + if: inputs.isPrerelease == false && (contains(inputs.version, '-') || contains(inputs.version, '+')) + run: echo "Can't publish a prerelease version as a stable release. This is likely a bug in the calling workflow." && exit 1 + - name: Validate skipGoSdk + if: inputs.skipGoSdk && inputs.isPrerelease == false + run: echo "Can't skip Go SDK for stable releases. This is likely a bug in the calling workflow." && exit 1 + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@v1.3.1 + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tool-cache: false + swap-storage: false + - name: Checkout Repo + uses: actions/checkout@v4 + with: + submodules: true + - name: Setup tools + uses: ./.github/actions/setup-tools + with: + tools: pulumictl, pulumicli, go + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v4 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-region: us-east-2 + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + role-duration-seconds: 7200 + role-external-id: upload-pulumi-release + role-session-name: aws@githubActions + role-to-assume: ${{ secrets.AWS_UPLOAD_ROLE_ARN }} + - name: Run GoReleaser + if: inputs.isPrerelease == false + uses: goreleaser/goreleaser-action@v5 + env: + GORELEASER_CURRENT_TAG: v${{ inputs.version }} + PROVIDER_VERSION: ${{ inputs.version }} + with: + args: -p 1 release --rm-dist --timeout 150m0s + version: latest + - name: Run GoReleaser (prerelease) + if: inputs.isPrerelease == true + uses: goreleaser/goreleaser-action@v5 + env: + GORELEASER_CURRENT_TAG: v${{ inputs.version }} + PROVIDER_VERSION: ${{ inputs.version }} + with: + args: -p 1 -f .goreleaser.prerelease.yml --rm-dist --skip-validate --timeout + 150m0s + version: latest + + publish_sdk: + name: publish_sdk + needs: publish + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + with: + submodules: true + - name: Setup tools + uses: ./.github/actions/setup-tools + with: + tools: pulumictl, pulumicli, go, node, dotnet, python, java + - name: Publish SDKs + uses: pulumi/pulumi-package-publisher@v0.0.19 + with: + sdk: all + version: ${{ inputs.version }} + - name: Download Go SDK + uses: ./.github/actions/download-sdk + with: + language: go + - uses: pulumi/publish-go-sdk-action@v1 + if: inputs.skipGoSdk == false + with: + repository: ${{ github.repository }} + base-ref: ${{ github.sha }} + source: sdk + path: sdk + version: ${{ inputs.version }} + additive: false + # Avoid including other language SDKs & artifacts in the commit + files: | + go.* + go/** + !*.tar.gz + create_docs_build: + name: create_docs_build + needs: publish_sdk + # Only run for non-prerelease, if the publish_go_sdk job was successful or skipped + if: inputs.isPrerelease == false + runs-on: ubuntu-latest + steps: + - name: Dispatch Metadata build + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.PULUMI_BOT_TOKEN }} + repository: pulumi/registry + event-type: resource-provider + client-payload: |- + { + "project": "${{ github.repository }}", + "project-shortname": "aws", + "ref": "${{ github.ref_name }}" + } + + clean_up_release_labels: + name: Clean up release labels + # Only run for non-prerelease, if the publish_go_sdk job was successful or skipped + if: inputs.isPrerelease == false + needs: create_docs_build + + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + - name: Clean up release labels + uses: pulumi/action-release-by-pr-label@main + with: + command: "clean-up-release-labels" + repo: ${{ github.repository }} + commit: ${{ github.sha }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + verify_release: + name: verify_release + needs: publish_sdk + uses: ./.github/workflows/verify-release.yml + secrets: inherit + with: + providerVersion: ${{ inputs.version }} + # Prelease is run often but we only have 5 concurrent macos runners, so we only test after the stable release. + enableMacosRunner: ${{ inputs.isPrerelease == false }} + skipGoSdk: ${{ inputs.skipGoSdk }} diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index b54bb47717f..5b20f8ee261 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -19,7 +19,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: comment-on-pr: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75d9a0e3333..aa19c8df880 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: prerequisites: @@ -38,23 +37,6 @@ jobs: with: version: ${{ needs.prerequisites.outputs.version }} - create_docs_build: - name: create_docs_build - needs: publish_go_sdk - runs-on: ubuntu-latest - steps: - - name: Dispatch Metadata build - uses: peter-evans/repository-dispatch@v3 - with: - token: ${{ secrets.PULUMI_BOT_TOKEN }} - repository: pulumi/registry - event-type: resource-provider - client-payload: |- - { - "project": "${{ github.repository }}", - "project-shortname": "aws", - "ref": "${{ github.ref_name }}" - } license_check: name: License Check uses: ./.github/workflows/license.yml @@ -69,134 +51,12 @@ jobs: - go_test_shim - provider_test - test_oidc - runs-on: ubuntu-latest - steps: - - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@v1.3.1 - with: - # this might remove tools that are actually needed, - # if set to "true" but frees about 6 GB - tool-cache: false - swap-storage: false - - name: Checkout Repo - uses: actions/checkout@v4 - with: - submodules: true - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 - with: - pulumi-version: "dev" - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v4 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-region: us-east-2 - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - role-duration-seconds: 7200 - role-external-id: upload-pulumi-release - role-session-name: aws@githubActions - role-to-assume: ${{ secrets.AWS_UPLOAD_ROLE_ARN }} - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 - env: - GORELEASER_CURRENT_TAG: v${{ needs.prerequisites.outputs.version }} - PROVIDER_VERSION: ${{ needs.prerequisites.outputs.version }} - with: - args: -p 1 release --rm-dist --timeout 150m0s - version: latest - publish_sdk: - name: publish_sdk - needs: - - prerequisites - - publish - runs-on: ubuntu-latest - steps: - - name: Publish SDKs - uses: pulumi/pulumi-package-publisher@v0.0.18 - with: - sdk: all - version: ${{ needs.prerequisites.outputs.version }} - dotnet-version: "6.0.x" - java-version: "11" - node-version: "20.x" - python-version: "3.11.8" - - env: - SLACK_CHANNEL: provider-upgrade-publish-status - SLACK_COLOR: "#FF0000" - SLACK_ICON_EMOJI: ":taco:" - SLACK_MESSAGE: "Publish failed :x:" - SLACK_TITLE: ${{ github.event.repository.name }} upgrade result - SLACK_USERNAME: provider-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} - if: failure() - name: Send Publish Failure To Slack - uses: rtCamp/action-slack-notify@v2 - publish_go_sdk: - name: publish_go_sdk - needs: - - prerequisites - - publish_sdk - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v4 - with: - submodules: true - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Download Go SDK - uses: actions/download-artifact@v4 - with: - name: go-sdk.tar.gz - path: ${{ github.workspace }}/sdk/ - - name: Uncompress Go SDK - run: tar -zxf ${{ github.workspace }}/sdk/go.tar.gz -C - ${{ github.workspace }}/sdk/go - shell: bash - - uses: pulumi/publish-go-sdk-action@v1 - with: - repository: ${{ github.repository }} - base-ref: ${{ github.sha }} - source: sdk - path: sdk - version: ${{ needs.prerequisites.outputs.version }} - additive: false - # Avoid including other language SDKs & artifacts in the commit - files: | - go.* - go/** - !*.tar.gz - - clean_up_release_labels: - name: Clean up release labels - needs: create_docs_build - - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v4 - - name: Clean up release labels - uses: pulumi/action-release-by-pr-label@main - with: - command: "clean-up-release-labels" - repo: ${{ github.repository }} - commit: ${{ github.sha }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - upstream_lint + uses: ./.github/workflows/publish.yml + secrets: inherit + with: + version: ${{ needs.prerequisites.outputs.version }} + isPrerelease: false test: name: test @@ -220,64 +80,17 @@ jobs: uses: actions/checkout@v4 with: submodules: true - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 + - name: Setup tools + uses: ./.github/actions/setup-tools with: - pulumi-version: "dev" - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "20.x" - registry-url: https://registry.npmjs.org - - name: Setup DotNet - uses: actions/setup-dotnet@v4 - with: - dotnet-version: "6.0.x" - - name: Setup Python - uses: actions/setup-python@v5 - with: - python-version: "3.11.8" - - name: Setup Java - uses: actions/setup-java@v4 - with: - cache: gradle - distribution: temurin - java-version: "11" - - name: Setup Gradle - uses: gradle/gradle-build-action@v3 - with: - gradle-version: "7.6" - - name: Download provider + tfgen binaries - uses: actions/download-artifact@v4 - with: - name: aws-provider.tar.gz - path: ${{ github.workspace }}/bin - - name: Untar provider binaries - run: >- - tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ - github.workspace}}/bin - - find ${{ github.workspace }} -name "pulumi-*-aws" -print -exec chmod +x {} \; + tools: pulumictl, pulumicli, go, node, dotnet, python, java + - name: Download bin + uses: ./.github/actions/download-bin - run: dotnet nuget add source ${{ github.workspace }}/nuget - name: Download SDK - uses: actions/download-artifact@v4 + uses: ./.github/actions/download-sdk with: - name: ${{ matrix.language }}-sdk.tar.gz - path: ${{ github.workspace}}/sdk/ - - name: Uncompress SDK folder - run: tar -zxf ${{ github.workspace }}/sdk/${{ matrix.language }}.tar.gz -C ${{ - github.workspace }}/sdk/${{ matrix.language }} + language: ${{ matrix.language }} - name: Update path run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH" - name: Install Python deps @@ -505,19 +318,33 @@ jobs: matrix: language: - nodejs + upstream_lint: + name: Run upstream provider-lint + runs-on: ubuntu-latest + steps: + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + swap-storage: false + tool-cache: false + - name: Checkout Repo + uses: actions/checkout@v4 + with: + ref: ${{ env.PR_COMMIT_SHA }} + submodules: true + - name: Install Go + uses: actions/setup-go@v5 + with: + cache: false + go-version: 1.22.x + - name: Make upstream + run: make upstream + - name: upstream lint + run: | + cd upstream + make provider-lint + timeout-minutes: 60 - verify-release: - name: verify-release - needs: - - prerequisites - - publish - - publish_sdk - - publish_go_sdk - uses: ./.github/workflows/verify-release.yml - secrets: inherit - with: - providerVersion: ${{ needs.prerequisites.outputs.version }} - enableMacosRunner: true name: release on: diff --git a/.github/workflows/resync-build.yml b/.github/workflows/resync-build.yml index e463a7fbdbb..21cd27e98a4 100644 --- a/.github/workflows/resync-build.yml +++ b/.github/workflows/resync-build.yml @@ -21,7 +21,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: resync_build: @@ -40,34 +39,10 @@ jobs: - id: run-url name: Create URL to the run output run: echo "run-url=https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" >> "$GITHUB_OUTPUT" - - name: Install Go - uses: actions/setup-go@v5 + - name: Setup tools + uses: ./.github/actions/setup-tools with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 - with: - pulumi-version: "dev" - - name: Setup DotNet - uses: actions/setup-dotnet@v4 - with: - dotnet-version: "6.0.x" - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "20.x" - registry-url: https://registry.npmjs.org - - name: Setup Python - uses: actions/setup-python@v5 - with: - python-version: "3.11.8" + tools: pulumictl, pulumicli, go, node, dotnet, python - name: Sync with ci-mgmt run: cp -r "ci-mgmt/provider-ci/providers/$PROVIDER/repo/." . - name: Remove ci-mgmt directory diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index 9d0be6d6895..4e78ade105a 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -20,7 +20,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi # This should cancel any previous runs of the same workflow on the same branch which are still running. @@ -73,6 +72,7 @@ jobs: - go_test_shim - provider_test - test_oidc + - upstream_lint runs-on: ubuntu-latest steps: - uses: guibranco/github-status-action-v2@0849440ec82c5fa69b2377725b9b7852a3977e76 @@ -122,26 +122,13 @@ jobs: uses: ./.github/actions/setup-tools with: tools: pulumictl, pulumicli, go, node, dotnet, python, java - - name: Download provider + tfgen binaries - uses: actions/download-artifact@v4 - with: - name: aws-provider.tar.gz - path: ${{ github.workspace }}/bin - - name: Untar provider binaries - run: >- - tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ - github.workspace}}/bin - - find ${{ github.workspace }} -name "pulumi-*-aws" -print -exec chmod +x {} \; + - name: Download bin + uses: ./.github/actions/download-bin - run: dotnet nuget add source ${{ github.workspace }}/nuget - name: Download SDK - uses: actions/download-artifact@v4 + uses: ./.github/actions/download-sdk with: - name: ${{ matrix.language }}-sdk.tar.gz - path: ${{ github.workspace}}/sdk/ - - name: Uncompress SDK folder - run: tar -zxf ${{ github.workspace }}/sdk/${{ matrix.language }}.tar.gz -C ${{ - github.workspace }}/sdk/${{ matrix.language }} + language: ${{ matrix.language }} - name: Update path run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH" - name: Install Python deps @@ -379,6 +366,32 @@ jobs: matrix: language: - nodejs + upstream_lint: + name: Run upstream provider-lint + runs-on: ubuntu-latest + steps: + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + swap-storage: false + tool-cache: false + - name: Checkout Repo + uses: actions/checkout@v4 + with: + ref: ${{ env.PR_COMMIT_SHA }} + submodules: true + - name: Install Go + uses: actions/setup-go@v5 + with: + cache: false + go-version: 1.22.x + - name: Make upstream + run: make upstream + - name: upstream lint + run: | + cd upstream + make provider-lint + timeout-minutes: 60 name: run-acceptance-tests on: diff --git a/.github/workflows/upgrade-bridge.yml b/.github/workflows/upgrade-bridge.yml index 3a840722873..69c476ffbca 100644 --- a/.github/workflows/upgrade-bridge.yml +++ b/.github/workflows/upgrade-bridge.yml @@ -83,27 +83,3 @@ jobs: pr-reviewers: ${{ github.event.client_payload.pr-reviewers }} pr-description: ${{ github.event.client_payload.pr-description }} pr-title-prefix: ${{ github.event.client_payload.pr-title-prefix }} - - env: - SLACK_CHANNEL: provider-upgrade-publish-status - SLACK_COLOR: "#7CFC00" - SLACK_ICON_EMOJI: ":taco:" - SLACK_MESSAGE: >- - Upgrade succeeded :heart_decoration: - - PR opened at github.com/pulumi/${{ github.event.repository.name }}/pulls - SLACK_TITLE: ${{ github.event.repository.name }} upgrade result - SLACK_USERNAME: provider-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} - name: Send Upgrade Success To Slack - uses: rtCamp/action-slack-notify@v2 - - env: - SLACK_CHANNEL: provider-upgrade-publish-status - SLACK_COLOR: "#FF0000" - SLACK_ICON_EMOJI: ":taco:" - SLACK_MESSAGE: " Upgrade failed :x:" - SLACK_TITLE: ${{ github.event.repository.name }} upgrade result - SLACK_USERNAME: provider-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} - if: failure() - name: Send Upgrade Failure To Slack - uses: rtCamp/action-slack-notify@v2 diff --git a/.github/workflows/upgrade-provider.yml b/.github/workflows/upgrade-provider.yml index 04f7d6aba1e..02437beb9dc 100644 --- a/.github/workflows/upgrade-provider.yml +++ b/.github/workflows/upgrade-provider.yml @@ -15,30 +15,6 @@ jobs: kind: all email: bot@pulumi.com username: pulumi-bot - - env: - SLACK_CHANNEL: provider-upgrade-publish-status - SLACK_COLOR: "#7CFC00" - SLACK_ICON_EMOJI: ":taco:" - SLACK_MESSAGE: >- - Upgrade succeeded :heart_decoration: - - PR opened at github.com/pulumi/${{ github.event.repository.name }}/pulls - SLACK_TITLE: ${{ github.event.repository.name }} upgrade result - SLACK_USERNAME: provider-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} - name: Send Upgrade Success To Slack - uses: rtCamp/action-slack-notify@v2 - - env: - SLACK_CHANNEL: provider-upgrade-publish-status - SLACK_COLOR: "#FF0000" - SLACK_ICON_EMOJI: ":taco:" - SLACK_MESSAGE: " Upgrade failed :x:" - SLACK_TITLE: ${{ github.event.repository.name }} upgrade result - SLACK_USERNAME: provider-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} - if: failure() - name: Send Upgrade Failure To Slack - uses: rtCamp/action-slack-notify@v2 name: Upgrade provider on: issues: diff --git a/.github/workflows/verify-release.yml b/.github/workflows/verify-release.yml index 9ebd3f6b764..c9c7dbe8055 100644 --- a/.github/workflows/verify-release.yml +++ b/.github/workflows/verify-release.yml @@ -22,6 +22,11 @@ on: required: false type: boolean default: false + skipGoSdk: + description: "Skip the Go SDK verification. Defaults to 'false'. This is used when we're not publishing a Go SDK on the default branch build." + required: false + type: boolean + default: false env: AWS_REGION: us-west-2 @@ -42,7 +47,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: @@ -66,3 +70,5 @@ jobs: uses: actions/checkout@v4 - name: Setup tools uses: ./.github/actions/setup-tools + with: + tools: pulumicli, go, node, dotnet, python, java diff --git a/.upgrade-config.yml b/.upgrade-config.yml index 749c6fa2eeb..1c2df133e15 100644 --- a/.upgrade-config.yml +++ b/.upgrade-config.yml @@ -4,4 +4,3 @@ upstream-provider-name: terraform-provider-aws pulumi-infer-version: true remove-plugins: true -pr-reviewers: iwahbe # Team: pulumi/Providers diff --git a/examples/go.mod b/examples/go.mod index 3459dcd5e49..6b153fe3fae 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -1,6 +1,6 @@ module github.com/pulumi/pulumi-aws/examples/v6 -go 1.22.4 +go 1.22.5 require ( github.com/aws/aws-sdk-go v1.54.8 @@ -8,7 +8,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/iam v1.33.1 github.com/pulumi/providertest v0.0.11 github.com/pulumi/pulumi-aws/provider/v6 v6.0.0-00010101000000-000000000000 - github.com/pulumi/pulumi-terraform-bridge/pf v0.38.0 + github.com/pulumi/pulumi-terraform-bridge/pf v0.39.0 github.com/pulumi/pulumi-terraform-bridge/testing v0.0.2-0.20230927165309-e3fd9503f2d3 github.com/pulumi/pulumi/pkg/v3 v3.121.0 github.com/stretchr/testify v1.9.0 @@ -376,7 +376,7 @@ require ( github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.9.1 // indirect github.com/pulumi/inflector v0.1.1 // indirect - github.com/pulumi/pulumi-terraform-bridge/v3 v3.85.0 // indirect + github.com/pulumi/pulumi-terraform-bridge/v3 v3.86.0 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 // indirect github.com/pulumi/pulumi/sdk/v3 v3.121.0 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect diff --git a/examples/go.sum b/examples/go.sum index 5637f160cba..709b2363998 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -1992,8 +1992,8 @@ github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBM github.com/hashicorp/go-cty v1.4.1-0.20200723130312-85980079f637 h1:Ud/6/AdmJ1R7ibdS0Wo5MWPj0T1R0fkpaD087bBaW8I= github.com/hashicorp/go-cty v1.4.1-0.20200723130312-85980079f637/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= github.com/hashicorp/go-getter v1.4.0/go.mod h1:7qxyCd8rBfcShwsvxgIguu4KbS3l8bUCwg2Umn7RjeY= -github.com/hashicorp/go-getter v1.7.1 h1:SWiSWN/42qdpR0MdhaOc/bLR48PLuP1ZQtYLRlM69uY= -github.com/hashicorp/go-getter v1.7.1/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= +github.com/hashicorp/go-getter v1.7.5 h1:dT58k9hQ/vbxNMwoI5+xFYAJuv6152UNvdHokfI5wE4= +github.com/hashicorp/go-getter v1.7.5/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod h1:9bjs9uLqI8l75knNv3lV1kA55veR+WUPSiKIWcQHudI= github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= github.com/hashicorp/go-hclog v0.14.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= @@ -2321,12 +2321,12 @@ github.com/pulumi/inflector v0.1.1 h1:dvlxlWtXwOJTUUtcYDvwnl6Mpg33prhK+7mzeF+Sob github.com/pulumi/inflector v0.1.1/go.mod h1:HUFCjcPTz96YtTuUlwG3i3EZG4WlniBvR9bd+iJxCUY= github.com/pulumi/providertest v0.0.11 h1:mg8MQ7Cq7+9XlHIkBD+aCqQO4mwAJEISngZgVdnQUe8= github.com/pulumi/providertest v0.0.11/go.mod h1:HsxjVsytcMIuNj19w1lT2W0QXY0oReXl1+h6eD2JXP8= -github.com/pulumi/pulumi-terraform-bridge/pf v0.38.0 h1:0+A+ZkoZWy5EOd4zcnM7tjoQ4V1jV/koR8YvWJ8TK/E= -github.com/pulumi/pulumi-terraform-bridge/pf v0.38.0/go.mod h1:JGOlvwSWY+jEt1V9sI/L8HAP9DBr74aXD10oi5nUJaI= +github.com/pulumi/pulumi-terraform-bridge/pf v0.39.0 h1:yV5LHLTF878wKMQcHVTqKRShaeJTX7ee36pL3cVvCLs= +github.com/pulumi/pulumi-terraform-bridge/pf v0.39.0/go.mod h1:teMSjww/2MdNvGTbtLNrjMDkGXteRJso/1iViv8AnCI= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.2-0.20230927165309-e3fd9503f2d3 h1:bBWWeAtSPPYpKYlPZr2h0BiYgWQpHRIk0HO/MQmB+jc= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.2-0.20230927165309-e3fd9503f2d3/go.mod h1:vAQ7DeddebQ7FHdRaSG6ijuS28FS9PC4j8Y9wUuue0c= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.85.0 h1:Zv6OPQdkGERufe2Mq9D92xbTm5mg3uhllh0ryrcrrds= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.85.0/go.mod h1:a7t2qe4smtB7HlbHlelQxjJQn8DFNB3Gbe5Ot2W7GZU= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.86.0 h1:55ydBXwbNpL+eAPExJSfL1pSDUuPNSGCU08EamVh3qg= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.86.0/go.mod h1:jyywJUc4gFP5vWOar8qSQWzSrpwht7XDrYQtVvneza4= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= github.com/pulumi/pulumi/pkg/v3 v3.121.0 h1:cLUQJYGJKfgCY0ubJo8dVwmsIm2WcgTprb9Orc/yiFg= diff --git a/patches/0009-Add-ECR-credentials_data_source.patch b/patches/0009-Add-ECR-credentials_data_source.patch index fec572dc4f7..eb9d9144c68 100644 --- a/patches/0009-Add-ECR-credentials_data_source.patch +++ b/patches/0009-Add-ECR-credentials_data_source.patch @@ -31,10 +31,10 @@ index 650a8e25fb..81babf4a9c 100644 }, diff --git a/internal/service/ecr/credentials_data_source.go b/internal/service/ecr/credentials_data_source.go new file mode 100644 -index 0000000000..572754846f +index 0000000000..b6e19a7283 --- /dev/null +++ b/internal/service/ecr/credentials_data_source.go -@@ -0,0 +1,69 @@ +@@ -0,0 +1,68 @@ +package ecr + +import ( @@ -57,7 +57,6 @@ index 0000000000..572754846f + "registry_id": { + Type: schema.TypeString, + Required: true, -+ ForceNew: true, + }, + "authorization_token": { + Type: schema.TypeString, diff --git a/patches/0023-Provide-context-to-conns.patch b/patches/0023-Provide-context-to-conns.patch index baa5e0aa6cc..f1e7cafb996 100644 --- a/patches/0023-Provide-context-to-conns.patch +++ b/patches/0023-Provide-context-to-conns.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Provide context to conns diff --git a/internal/service/ecr/credentials_data_source.go b/internal/service/ecr/credentials_data_source.go -index 572754846f..9dd9fd0e8c 100644 +index b6e19a7283..9176fa0a16 100644 --- a/internal/service/ecr/credentials_data_source.go +++ b/internal/service/ecr/credentials_data_source.go @@ -1,6 +1,7 @@ @@ -16,7 +16,7 @@ index 572754846f..9dd9fd0e8c 100644 "log" "time" -@@ -39,7 +40,8 @@ func DataSourceCredentials() *schema.Resource { +@@ -38,7 +39,8 @@ func DataSourceCredentials() *schema.Resource { } func dataSourceAwsEcrCredentialsRead(d *schema.ResourceData, meta interface{}) error { diff --git a/patches/0030-Optimize-startup-performance.patch b/patches/0030-Optimize-startup-performance.patch index 1b199abebf6..92523030f4a 100644 --- a/patches/0030-Optimize-startup-performance.patch +++ b/patches/0030-Optimize-startup-performance.patch @@ -28,10 +28,10 @@ index 92763850ac..ef67582664 100644 // Ensure that the schema look OK. diff --git a/internal/provider/provider_tagcheck.go b/internal/provider/provider_tagcheck.go new file mode 100644 -index 0000000000..35202ebd58 +index 0000000000..8cea6059ba --- /dev/null +++ b/internal/provider/provider_tagcheck.go -@@ -0,0 +1,28 @@ +@@ -0,0 +1,37 @@ +package provider + +import ( @@ -52,9 +52,18 @@ index 0000000000..35202ebd58 + switch flag := flag.(type) { + case bool: + if flag { ++ //lintignore:S013 + return map[string]*schema.Schema{ -+ names.AttrTags: &schema.Schema{Computed: tagsComputed}, -+ names.AttrTagsAll: &schema.Schema{Computed: true}, ++ names.AttrTags: { ++ Type: schema.TypeMap, ++ Computed: tagsComputed, ++ Elem: &schema.Schema{Type: schema.TypeString}, ++ }, ++ names.AttrTagsAll: { ++ Type: schema.TypeMap, ++ Computed: true, ++ Elem: &schema.Schema{Type: schema.TypeString}, ++ }, + } + } + } diff --git a/patches/0034-Fail-fast-when-PF-resources-are-dropped.patch b/patches/0034-Fail-fast-when-PF-resources-are-dropped.patch index 3d18e814a65..649566006d0 100644 --- a/patches/0034-Fail-fast-when-PF-resources-are-dropped.patch +++ b/patches/0034-Fail-fast-when-PF-resources-are-dropped.patch @@ -5,16 +5,17 @@ Subject: [PATCH] Fail fast when PF resources are dropped diff --git a/internal/provider/fwprovider/provider.go b/internal/provider/fwprovider/provider.go -index 257f831fbb..2d28d90310 100644 +index 257f831fbb..d9930aee64 100644 --- a/internal/provider/fwprovider/provider.go +++ b/internal/provider/fwprovider/provider.go -@@ -448,9 +448,7 @@ func (p *fwprovider) Resources(ctx context.Context) []func() resource.Resource { +@@ -448,9 +448,8 @@ func (p *fwprovider) Resources(ctx context.Context) []func() resource.Resource { } if err := errors.Join(errs...); err != nil { - tflog.Warn(ctx, "registering resources", map[string]interface{}{ - "error": err.Error(), - }) ++ //lintignore:R009 + panic(err) } diff --git a/patches/0050-Normalize-retentionDays-in-aws_controltower_landing_.patch b/patches/0050-Normalize-retentionDays-in-aws_controltower_landing_.patch index 23e2d54d6aa..6e89198d09e 100644 --- a/patches/0050-Normalize-retentionDays-in-aws_controltower_landing_.patch +++ b/patches/0050-Normalize-retentionDays-in-aws_controltower_landing_.patch @@ -134,7 +134,7 @@ index c2f2830b9c..299e7653c1 100644 +} diff --git a/internal/service/controltower/landing_zone_internals_test.go b/internal/service/controltower/landing_zone_internals_test.go new file mode 100644 -index 0000000000..a8bb57939e +index 0000000000..7c97e09ce2 --- /dev/null +++ b/internal/service/controltower/landing_zone_internals_test.go @@ -0,0 +1,50 @@ @@ -151,7 +151,7 @@ index 0000000000..a8bb57939e + actual, err := resourceLandingZoneNormalizeManifest(` + { + "governedRegions": [ -+ "ap-southeast-2" ++ "REGION" + ], + "organizationStructure": { + "security": { @@ -164,7 +164,7 @@ index 0000000000..a8bb57939e + "accessLoggingBucket": { + "retentionDays": "3650" + }, -+ "kmsKeyArn": "arn:aws:kms:ap-southeast-2:89XXXXXXXX25:key/10e27ec4-5555-4444-b408-777777777777", ++ "kmsKeyArn": "arn:PARTITION:kms:REGION:89XXXXXXXX25:key/10e27ec4-5555-4444-b408-777777777777", + "loggingBucket": { + "retentionDays": "365" + } @@ -181,7 +181,7 @@ index 0000000000..a8bb57939e + if err != nil { + t.Error(err) + } -+ expected := `{"accessManagement":{"enabled":true},"centralizedLogging":{"accountId":"89XXXXXXXX39","configurations":{"accessLoggingBucket":{"retentionDays":3650},"kmsKeyArn":"arn:aws:kms:ap-southeast-2:89XXXXXXXX25:key/10e27ec4-5555-4444-b408-777777777777","loggingBucket":{"retentionDays":365}},"enabled":true},"governedRegions":["ap-southeast-2"],"organizationStructure":{"security":{"name":"Security"}},"securityRoles":{"accountId":"89XXXXXXXX42"}}` ++ expected := `{"accessManagement":{"enabled":true},"centralizedLogging":{"accountId":"89XXXXXXXX39","configurations":{"accessLoggingBucket":{"retentionDays":3650},"kmsKeyArn":"arn:PARTITION:kms:REGION:89XXXXXXXX25:key/10e27ec4-5555-4444-b408-777777777777","loggingBucket":{"retentionDays":365}},"enabled":true},"governedRegions":["REGION"],"organizationStructure":{"security":{"name":"Security"}},"securityRoles":{"accountId":"89XXXXXXXX42"}}` + if expected != actual { + t.Logf("Expected: %s", expected) + t.Logf("Actual: %s", actual) diff --git a/provider/cmd/pulumi-resource-aws/bridge-metadata.json b/provider/cmd/pulumi-resource-aws/bridge-metadata.json index c4e4c8c35e1..e15cf3e2fc8 100644 --- a/provider/cmd/pulumi-resource-aws/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-aws/bridge-metadata.json @@ -4011,7 +4011,21 @@ "elem": { "fields": { "prompt_configurations": { - "maxItemsOne": false + "maxItemsOne": false, + "elem": { + "fields": { + "inference_configuration": { + "maxItemsOne": false, + "elem": { + "fields": { + "stop_sequences": { + "maxItemsOne": false + } + } + } + } + } + } } } } @@ -221408,7 +221422,55 @@ "elem": { "fields": { "pod_properties": { - "maxItemsOne": false + "maxItemsOne": false, + "elem": { + "fields": { + "containers": { + "maxItemsOne": false, + "elem": { + "fields": { + "args": { + "maxItemsOne": false + }, + "command": { + "maxItemsOne": false + }, + "env": { + "maxItemsOne": false + }, + "resources": { + "maxItemsOne": false + }, + "security_context": { + "maxItemsOne": false + }, + "volume_mounts": { + "maxItemsOne": false + } + } + } + }, + "metadata": { + "maxItemsOne": false + }, + "volumes": { + "maxItemsOne": false, + "elem": { + "fields": { + "empty_dir": { + "maxItemsOne": false + }, + "host_path": { + "maxItemsOne": false + }, + "secret": { + "maxItemsOne": false + } + } + } + } + } + } } } } @@ -221418,7 +221480,105 @@ "elem": { "fields": { "node_range_properties": { - "maxItemsOne": false + "maxItemsOne": false, + "elem": { + "fields": { + "container": { + "maxItemsOne": false, + "elem": { + "fields": { + "command": { + "maxItemsOne": false + }, + "environment": { + "maxItemsOne": false + }, + "ephemeral_storage": { + "maxItemsOne": false + }, + "fargate_platform_configuration": { + "maxItemsOne": false + }, + "linux_parameters": { + "maxItemsOne": false, + "elem": { + "fields": { + "devices": { + "maxItemsOne": false, + "elem": { + "fields": { + "permissions": { + "maxItemsOne": false + } + } + } + }, + "tmpfs": { + "maxItemsOne": false, + "elem": { + "fields": { + "mount_options": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "log_configuration": { + "maxItemsOne": false, + "elem": { + "fields": { + "secret_options": { + "maxItemsOne": false + } + } + } + }, + "mount_points": { + "maxItemsOne": false + }, + "network_configuration": { + "maxItemsOne": false + }, + "resource_requirements": { + "maxItemsOne": false + }, + "runtime_platform": { + "maxItemsOne": false + }, + "secrets": { + "maxItemsOne": false + }, + "ulimits": { + "maxItemsOne": false + }, + "volumes": { + "maxItemsOne": false, + "elem": { + "fields": { + "efs_volume_configuration": { + "maxItemsOne": false, + "elem": { + "fields": { + "authorization_config": { + "maxItemsOne": false + } + } + } + }, + "host": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + } } } } @@ -230106,13 +230266,44 @@ "maxItemsOne": false }, "monthly_settings": { - "maxItemsOne": false + "maxItemsOne": false, + "elem": { + "fields": { + "hand_off_time": { + "maxItemsOne": false + } + } + } }, "shift_coverages": { - "maxItemsOne": false + "maxItemsOne": false, + "elem": { + "fields": { + "coverage_times": { + "maxItemsOne": false, + "elem": { + "fields": { + "end": { + "maxItemsOne": false + }, + "start": { + "maxItemsOne": false + } + } + } + } + } + } }, "weekly_settings": { - "maxItemsOne": false + "maxItemsOne": false, + "elem": { + "fields": { + "hand_off_time": { + "maxItemsOne": false + } + } + } } } } diff --git a/provider/cmd/pulumi-resource-aws/schema.json b/provider/cmd/pulumi-resource-aws/schema.json index 05be7c5c942..b4e3bf40598 100644 --- a/provider/cmd/pulumi-resource-aws/schema.json +++ b/provider/cmd/pulumi-resource-aws/schema.json @@ -19359,7 +19359,7 @@ "podProperties": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "$ref": "#/types/aws:batch/getJobDefinitionEksPropertyPodProperty:getJobDefinitionEksPropertyPodProperty" }, "description": "The properties for the Kubernetes pod resources of a job.\n" } @@ -19374,6 +19374,367 @@ } } }, + "aws:batch/getJobDefinitionEksPropertyPodProperty:getJobDefinitionEksPropertyPodProperty": { + "properties": { + "containers": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionEksPropertyPodPropertyContainer:getJobDefinitionEksPropertyPodPropertyContainer" + }, + "description": "The properties of the container that's used on the Amazon EKS pod. Array of EksContainer objects.\n" + }, + "dnsPolicy": { + "type": "string", + "description": "The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node.\n" + }, + "hostNetwork": { + "type": "boolean", + "description": "Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections.\n" + }, + "metadatas": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionEksPropertyPodPropertyMetadata:getJobDefinitionEksPropertyPodPropertyMetadata" + }, + "description": "Metadata about the Kubernetes pod.\n" + }, + "serviceAccountName": { + "type": "boolean", + "description": "The name of the service account that's used to run the pod.\n" + }, + "volumes": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionEksPropertyPodPropertyVolume:getJobDefinitionEksPropertyPodPropertyVolume" + }, + "description": "A list of data volumes used in a job.\n" + } + }, + "type": "object", + "required": [ + "containers", + "dnsPolicy", + "hostNetwork", + "metadatas", + "serviceAccountName", + "volumes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionEksPropertyPodPropertyContainer:getJobDefinitionEksPropertyPodPropertyContainer": { + "properties": { + "args": { + "type": "array", + "items": { + "type": "string" + }, + "description": "An array of arguments to the entrypoint\n" + }, + "commands": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The command that's passed to the container.\n" + }, + "envs": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionEksPropertyPodPropertyContainerEnv:getJobDefinitionEksPropertyPodPropertyContainerEnv" + }, + "description": "The environment variables to pass to a container. Array of EksContainerEnvironmentVariable objects.\n" + }, + "image": { + "type": "string", + "description": "The image used to start a container.\n" + }, + "imagePullPolicy": { + "type": "string", + "description": "The image pull policy for the container.\n" + }, + "name": { + "type": "string", + "description": "The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).\n" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionEksPropertyPodPropertyContainerResource:getJobDefinitionEksPropertyPodPropertyContainerResource" + }, + "description": "The type and amount of resources to assign to a container.\n" + }, + "securityContexts": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionEksPropertyPodPropertyContainerSecurityContext:getJobDefinitionEksPropertyPodPropertyContainerSecurityContext" + }, + "description": "The security context for a job.\n" + }, + "volumeMounts": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionEksPropertyPodPropertyContainerVolumeMount:getJobDefinitionEksPropertyPodPropertyContainerVolumeMount" + }, + "description": "The volume mounts for the container.\n" + } + }, + "type": "object", + "required": [ + "args", + "commands", + "envs", + "image", + "imagePullPolicy", + "name", + "resources", + "securityContexts", + "volumeMounts" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionEksPropertyPodPropertyContainerEnv:getJobDefinitionEksPropertyPodPropertyContainerEnv": { + "properties": { + "name": { + "type": "string", + "description": "The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).\n" + }, + "value": { + "type": "string", + "description": "The quantity of the specified resource to reserve for the container.\n" + } + }, + "type": "object", + "required": [ + "name", + "value" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionEksPropertyPodPropertyContainerResource:getJobDefinitionEksPropertyPodPropertyContainerResource": { + "properties": { + "limits": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "The type and quantity of the resources to reserve for the container.\n" + }, + "requests": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "The type and quantity of the resources to request for the container.\n" + } + }, + "type": "object", + "required": [ + "limits", + "requests" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionEksPropertyPodPropertyContainerSecurityContext:getJobDefinitionEksPropertyPodPropertyContainerSecurityContext": { + "properties": { + "privileged": { + "type": "boolean", + "description": "When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).\n" + }, + "readOnlyRootFileSystem": { + "type": "boolean" + }, + "runAsGroup": { + "type": "integer", + "description": "When this parameter is specified, the container is run as the specified group ID (gid). If this parameter isn't specified, the default is the group that's specified in the image metadata.\n" + }, + "runAsNonRoot": { + "type": "boolean", + "description": "When this parameter is specified, the container is run as a user with a uid other than 0. If this parameter isn't specified, so such rule is enforced.\n" + }, + "runAsUser": { + "type": "integer", + "description": "When this parameter is specified, the container is run as the specified user ID (uid). If this parameter isn't specified, the default is the user that's specified in the image metadata.\n" + } + }, + "type": "object", + "required": [ + "privileged", + "readOnlyRootFileSystem", + "runAsGroup", + "runAsNonRoot", + "runAsUser" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionEksPropertyPodPropertyContainerVolumeMount:getJobDefinitionEksPropertyPodPropertyContainerVolumeMount": { + "properties": { + "mountPath": { + "type": "string", + "description": "The path on the container where the volume is mounted.\n" + }, + "name": { + "type": "string", + "description": "The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).\n" + }, + "readOnly": { + "type": "boolean", + "description": "If this value is true, the container has read-only access to the volume.\n" + } + }, + "type": "object", + "required": [ + "mountPath", + "name", + "readOnly" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionEksPropertyPodPropertyMetadata:getJobDefinitionEksPropertyPodPropertyMetadata": { + "properties": { + "labels": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Key-value pairs used to identify, sort, and organize cube resources.\n" + } + }, + "type": "object", + "required": [ + "labels" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionEksPropertyPodPropertyVolume:getJobDefinitionEksPropertyPodPropertyVolume": { + "properties": { + "emptyDirs": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionEksPropertyPodPropertyVolumeEmptyDir:getJobDefinitionEksPropertyPodPropertyVolumeEmptyDir" + }, + "description": "Specifies the configuration of a Kubernetes emptyDir volume.\n" + }, + "hostPaths": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionEksPropertyPodPropertyVolumeHostPath:getJobDefinitionEksPropertyPodPropertyVolumeHostPath" + }, + "description": "The path for the device on the host container instance.\n" + }, + "name": { + "type": "string", + "description": "The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).\n" + }, + "secrets": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionEksPropertyPodPropertyVolumeSecret:getJobDefinitionEksPropertyPodPropertyVolumeSecret" + }, + "description": "Specifies the configuration of a Kubernetes secret volume.\n" + } + }, + "type": "object", + "required": [ + "emptyDirs", + "hostPaths", + "name", + "secrets" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionEksPropertyPodPropertyVolumeEmptyDir:getJobDefinitionEksPropertyPodPropertyVolumeEmptyDir": { + "properties": { + "medium": { + "type": "string", + "description": "The medium to store the volume.\n" + }, + "sizeLimit": { + "type": "string", + "description": "The maximum size of the volume. By default, there's no maximum size defined.\n" + } + }, + "type": "object", + "required": [ + "medium", + "sizeLimit" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionEksPropertyPodPropertyVolumeHostPath:getJobDefinitionEksPropertyPodPropertyVolumeHostPath": { + "properties": { + "path": { + "type": "string", + "description": "The path of the file or directory on the host to mount into containers on the pod.\n" + } + }, + "type": "object", + "required": [ + "path" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionEksPropertyPodPropertyVolumeSecret:getJobDefinitionEksPropertyPodPropertyVolumeSecret": { + "properties": { + "optional": { + "type": "boolean", + "description": "Specifies whether the secret or the secret's keys must be defined.\n" + }, + "secretName": { + "type": "string", + "description": "The name of the secret. The name must be allowed as a DNS subdomain name\n" + } + }, + "type": "object", + "required": [ + "optional", + "secretName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "aws:batch/getJobDefinitionNodeProperty:getJobDefinitionNodeProperty": { "properties": { "mainNode": { @@ -19383,7 +19744,7 @@ "nodeRangeProperties": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangeProperty:getJobDefinitionNodePropertyNodeRangeProperty" }, "description": "A list of node ranges and their properties that are associated with a multi-node parallel job.\n" }, @@ -19404,6 +19765,649 @@ } } }, + "aws:batch/getJobDefinitionNodePropertyNodeRangeProperty:getJobDefinitionNodePropertyNodeRangeProperty": { + "properties": { + "containers": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainer:getJobDefinitionNodePropertyNodeRangePropertyContainer" + }, + "description": "The container details for the node range.\n" + }, + "targetNodes": { + "type": "string", + "description": "The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. I\n" + } + }, + "type": "object", + "required": [ + "containers", + "targetNodes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainer:getJobDefinitionNodePropertyNodeRangePropertyContainer": { + "properties": { + "commands": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The command that's passed to the container.\n" + }, + "environments": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment:getJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment" + }, + "description": "The environment variables to pass to a container.\n" + }, + "ephemeralStorages": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage:getJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage" + }, + "description": "The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate.\n" + }, + "executionRoleArn": { + "type": "string", + "description": "The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role.\n" + }, + "fargatePlatformConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration:getJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration" + }, + "description": "The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter.\n" + }, + "image": { + "type": "string", + "description": "The image used to start a container.\n" + }, + "instanceType": { + "type": "string", + "description": "The instance type to use for a multi-node parallel job.\n" + }, + "jobRoleArn": { + "type": "string", + "description": "The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.\n" + }, + "linuxParameters": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter:getJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter" + }, + "description": "Linux-specific modifications that are applied to the container.\n" + }, + "logConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration:getJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration" + }, + "description": "The log configuration specification for the container.\n" + }, + "mountPoints": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint:getJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint" + }, + "description": "The mount points for data volumes in your container.\n" + }, + "networkConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration:getJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration" + }, + "description": "The network configuration for jobs that are running on Fargate resources.\n" + }, + "privileged": { + "type": "boolean", + "description": "When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user).\n" + }, + "readonlyRootFilesystem": { + "type": "boolean", + "description": "When this parameter is true, the container is given read-only access to its root file system.\n" + }, + "resourceRequirements": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement:getJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement" + }, + "description": "The type and amount of resources to assign to a container.\n" + }, + "runtimePlatforms": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform:getJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform" + }, + "description": "An object that represents the compute environment architecture for AWS Batch jobs on Fargate.\n" + }, + "secrets": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerSecret:getJobDefinitionNodePropertyNodeRangePropertyContainerSecret" + }, + "description": "The secrets for the container.\n" + }, + "ulimits": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerUlimit:getJobDefinitionNodePropertyNodeRangePropertyContainerUlimit" + }, + "description": "A list of ulimits to set in the container.\n" + }, + "user": { + "type": "string", + "description": "The user name to use inside the container.\n" + }, + "volumes": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerVolume:getJobDefinitionNodePropertyNodeRangePropertyContainerVolume" + }, + "description": "A list of data volumes used in a job.\n" + } + }, + "type": "object", + "required": [ + "commands", + "environments", + "ephemeralStorages", + "executionRoleArn", + "fargatePlatformConfigurations", + "image", + "instanceType", + "jobRoleArn", + "linuxParameters", + "logConfigurations", + "mountPoints", + "networkConfigurations", + "privileged", + "readonlyRootFilesystem", + "resourceRequirements", + "runtimePlatforms", + "secrets", + "ulimits", + "user", + "volumes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment:getJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment": { + "properties": { + "name": { + "type": "string", + "description": "The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).\n" + }, + "value": { + "type": "string", + "description": "The quantity of the specified resource to reserve for the container.\n" + } + }, + "type": "object", + "required": [ + "name", + "value" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage:getJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage": { + "properties": { + "sizeInGib": { + "type": "integer" + } + }, + "type": "object", + "required": [ + "sizeInGib" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration:getJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration": { + "properties": { + "platformVersion": { + "type": "string", + "description": "The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources.\n" + } + }, + "type": "object", + "required": [ + "platformVersion" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter:getJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter": { + "properties": { + "devices": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice:getJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice" + }, + "description": "Any of the host devices to expose to the container.\n" + }, + "initProcessEnabled": { + "type": "boolean", + "description": "If true, run an init process inside the container that forwards signals and reaps processes.\n" + }, + "maxSwap": { + "type": "integer", + "description": "The total amount of swap memory (in MiB) a container can use.\n" + }, + "sharedMemorySize": { + "type": "integer", + "description": "The value for the size (in MiB) of the `/dev/shm` volume.\n" + }, + "swappiness": { + "type": "integer", + "description": "You can use this parameter to tune a container's memory swappiness behavior.\n" + }, + "tmpfs": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf:getJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf" + }, + "description": "The container path, mount options, and size (in MiB) of the tmpfs mount.\n" + } + }, + "type": "object", + "required": [ + "devices", + "initProcessEnabled", + "maxSwap", + "sharedMemorySize", + "swappiness", + "tmpfs" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice:getJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice": { + "properties": { + "containerPath": { + "type": "string", + "description": "The absolute file path in the container where the tmpfs volume is mounted.\n" + }, + "hostPath": { + "type": "string", + "description": "The path for the device on the host container instance.\n" + }, + "permissions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The explicit permissions to provide to the container for the device.\n" + } + }, + "type": "object", + "required": [ + "containerPath", + "hostPath", + "permissions" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf:getJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf": { + "properties": { + "containerPath": { + "type": "string", + "description": "The absolute file path in the container where the tmpfs volume is mounted.\n" + }, + "mountOptions": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of tmpfs volume mount options.\n" + }, + "size": { + "type": "integer", + "description": "The size (in MiB) of the tmpfs volume.\n" + } + }, + "type": "object", + "required": [ + "containerPath", + "mountOptions", + "size" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration:getJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration": { + "properties": { + "logDriver": { + "type": "string", + "description": "The log driver to use for the container.\n" + }, + "options": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "The configuration options to send to the log driver.\n" + }, + "secretOptions": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption:getJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption" + }, + "description": "The secrets to pass to the log configuration.\n" + } + }, + "type": "object", + "required": [ + "logDriver", + "options", + "secretOptions" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption:getJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption": { + "properties": { + "name": { + "type": "string", + "description": "The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).\n" + }, + "valueFrom": { + "type": "string", + "description": "The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.\n" + } + }, + "type": "object", + "required": [ + "name", + "valueFrom" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint:getJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint": { + "properties": { + "containerPath": { + "type": "string", + "description": "The absolute file path in the container where the tmpfs volume is mounted.\n" + }, + "readOnly": { + "type": "boolean", + "description": "If this value is true, the container has read-only access to the volume.\n" + }, + "sourceVolume": { + "type": "string", + "description": "The name of the volume to mount.\n" + } + }, + "type": "object", + "required": [ + "containerPath", + "readOnly", + "sourceVolume" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration:getJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration": { + "properties": { + "assignPublicIp": { + "type": "boolean", + "description": "Indicates whether the job has a public IP address.\n" + } + }, + "type": "object", + "required": [ + "assignPublicIp" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement:getJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement": { + "properties": { + "type": { + "type": "string", + "description": "The type of resource to assign to a container. The supported resources include `GPU`, `MEMORY`, and `VCPU`.\n" + }, + "value": { + "type": "string", + "description": "The quantity of the specified resource to reserve for the container.\n" + } + }, + "type": "object", + "required": [ + "type", + "value" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform:getJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform": { + "properties": { + "cpuArchitecture": { + "type": "string", + "description": "The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64.\n" + }, + "operatingSystemFamily": { + "type": "string", + "description": "The operating system for the compute environment. V\n" + } + }, + "type": "object", + "required": [ + "cpuArchitecture", + "operatingSystemFamily" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerSecret:getJobDefinitionNodePropertyNodeRangePropertyContainerSecret": { + "properties": { + "name": { + "type": "string", + "description": "The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).\n" + }, + "valueFrom": { + "type": "string", + "description": "The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store.\n" + } + }, + "type": "object", + "required": [ + "name", + "valueFrom" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerUlimit:getJobDefinitionNodePropertyNodeRangePropertyContainerUlimit": { + "properties": { + "hardLimit": { + "type": "integer", + "description": "The hard limit for the ulimit type.\n" + }, + "name": { + "type": "string", + "description": "The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).\n" + }, + "softLimit": { + "type": "integer", + "description": "The soft limit for the ulimit type.\n" + } + }, + "type": "object", + "required": [ + "hardLimit", + "name", + "softLimit" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerVolume:getJobDefinitionNodePropertyNodeRangePropertyContainerVolume": { + "properties": { + "efsVolumeConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration:getJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration" + }, + "description": "This parameter is specified when you're using an Amazon Elastic File System file system for job storage.\n" + }, + "hosts": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost:getJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost" + }, + "description": "The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored.\n" + }, + "name": { + "type": "string", + "description": "The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).\n" + } + }, + "type": "object", + "required": [ + "efsVolumeConfigurations", + "hosts", + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration:getJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration": { + "properties": { + "authorizationConfigs": { + "type": "array", + "items": { + "$ref": "#/types/aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig:getJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig" + }, + "description": "The authorization configuration details for the Amazon EFS file system.\n" + }, + "fileSystemId": { + "type": "string", + "description": "The Amazon EFS file system ID to use.\n" + }, + "rootDirectory": { + "type": "string", + "description": "The directory within the Amazon EFS file system to mount as the root directory inside the host.\n" + }, + "transitEncryption": { + "type": "string", + "description": "Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server\n" + }, + "transitEncryptionPort": { + "type": "integer", + "description": "The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server.\n" + } + }, + "type": "object", + "required": [ + "authorizationConfigs", + "fileSystemId", + "rootDirectory", + "transitEncryption", + "transitEncryptionPort" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig:getJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig": { + "properties": { + "accessPointId": { + "type": "string", + "description": "The Amazon EFS access point ID to use.\n" + }, + "iam": { + "type": "string", + "description": "Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system.\n" + } + }, + "type": "object", + "required": [ + "accessPointId", + "iam" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:batch/getJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost:getJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost": { + "properties": { + "sourcePath": { + "type": "string", + "description": "The path on the host container instance that's presented to the container.\n" + } + }, + "type": "object", + "required": [ + "sourcePath" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "aws:batch/getJobDefinitionRetryStrategy:getJobDefinitionRetryStrategy": { "properties": { "attempts": { @@ -19413,7 +20417,7 @@ "evaluateOnExits": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "$ref": "#/types/aws:batch/getJobDefinitionRetryStrategyEvaluateOnExit:getJobDefinitionRetryStrategyEvaluateOnExit" }, "description": "Array of up to 5 objects that specify the conditions where jobs are retried or failed.\n" } @@ -19429,6 +20433,38 @@ } } }, + "aws:batch/getJobDefinitionRetryStrategyEvaluateOnExit:getJobDefinitionRetryStrategyEvaluateOnExit": { + "properties": { + "action": { + "type": "string", + "description": "Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive.\n" + }, + "onExitCode": { + "type": "string", + "description": "Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job.\n" + }, + "onReason": { + "type": "string", + "description": "Contains a glob pattern to match against the Reason returned for a job.\n" + }, + "onStatusReason": { + "type": "string", + "description": "Contains a glob pattern to match against the StatusReason returned for a job.\n" + } + }, + "type": "object", + "required": [ + "action", + "onExitCode", + "onReason", + "onStatusReason" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "aws:batch/getJobDefinitionTimeout:getJobDefinitionTimeout": { "properties": { "attemptDurationSeconds": { @@ -19754,7 +20790,7 @@ "promptConfigurations": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "$ref": "#/types/aws:bedrock/AgentAgentPromptOverrideConfigurationPromptConfiguration:AgentAgentPromptOverrideConfigurationPromptConfiguration" }, "description": "Configurations to override a prompt template in one part of an agent sequence. See `prompt_configurations` block for details.\n" } @@ -19765,6 +20801,81 @@ "promptConfigurations" ] }, + "aws:bedrock/AgentAgentPromptOverrideConfigurationPromptConfiguration:AgentAgentPromptOverrideConfigurationPromptConfiguration": { + "properties": { + "basePromptTemplate": { + "type": "string", + "description": "prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html).\n" + }, + "inferenceConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/aws:bedrock/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration:AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration" + }, + "description": "Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `prompt_type`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inference_configuration` block for details.\n" + }, + "parserMode": { + "type": "string", + "description": "Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `prompt_type`. If you set the argument as `OVERRIDDEN`, the `override_lambda` argument in the `prompt_override_configuration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`.\n" + }, + "promptCreationMode": { + "type": "string", + "description": "Whether to override the default prompt template for this `prompt_type`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `base_prompt_template`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`.\n" + }, + "promptState": { + "type": "string", + "description": "Whether to allow the agent to carry out the step specified in the `prompt_type`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`.\n" + }, + "promptType": { + "type": "string", + "description": "Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`.\n" + } + }, + "type": "object", + "required": [ + "basePromptTemplate", + "inferenceConfigurations", + "parserMode", + "promptCreationMode", + "promptState", + "promptType" + ] + }, + "aws:bedrock/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration:AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration": { + "properties": { + "maxLength": { + "type": "integer", + "description": "Maximum number of tokens to allow in the generated response.\n" + }, + "stopSequences": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response.\n" + }, + "temperature": { + "type": "number", + "description": "Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options.\n" + }, + "topK": { + "type": "integer", + "description": "Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence.\n" + }, + "topP": { + "type": "number", + "description": "Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence.\n" + } + }, + "type": "object", + "required": [ + "maxLength", + "stopSequences", + "temperature", + "topK", + "topP" + ] + }, "aws:bedrock/AgentAgentTimeouts:AgentAgentTimeouts": { "properties": { "create": { @@ -20305,7 +21416,7 @@ "validators": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "$ref": "#/types/aws:bedrock/getCustomModelValidationDataConfigValidator:getCustomModelValidationDataConfigValidator" }, "description": "Information about the validators.\n" } @@ -20320,6 +21431,23 @@ } } }, + "aws:bedrock/getCustomModelValidationDataConfigValidator:getCustomModelValidationDataConfigValidator": { + "properties": { + "s3Uri": { + "type": "string", + "description": "The S3 URI where the validation data is stored..\n" + } + }, + "type": "object", + "required": [ + "s3Uri" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "aws:bedrock/getCustomModelValidationMetric:getCustomModelValidationMetric": { "properties": { "validationLoss": { @@ -20369,21 +21497,21 @@ "customizationsSupporteds": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "type": "string" }, "description": "Customizations that the model supports.\n" }, "inferenceTypesSupporteds": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "type": "string" }, "description": "Inference types that the model supports.\n" }, "inputModalities": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "type": "string" }, "description": "Input modalities that the model supports.\n" }, @@ -20402,7 +21530,7 @@ "outputModalities": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "type": "string" }, "description": "Output modalities that the model supports.\n" }, @@ -27133,7 +28261,7 @@ "latestAggregatedProfiles": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "$ref": "#/types/aws:codeguruprofiler/getProfilingGroupProfilingStatusLatestAggregatedProfile:getProfilingGroupProfilingStatusLatestAggregatedProfile" } } }, @@ -27149,6 +28277,26 @@ } } }, + "aws:codeguruprofiler/getProfilingGroupProfilingStatusLatestAggregatedProfile:getProfilingGroupProfilingStatusLatestAggregatedProfile": { + "properties": { + "period": { + "type": "string" + }, + "start": { + "type": "string" + } + }, + "type": "object", + "required": [ + "period", + "start" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "aws:codegurureviewer/RepositoryAssociationKmsKeyDetails:RepositoryAssociationKmsKeyDetails": { "properties": { "encryptionOption": { @@ -67725,7 +68873,7 @@ "taggings": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "$ref": "#/types/aws:guardduty/MalwareProtectionPlanActionTagging:MalwareProtectionPlanActionTagging" }, "description": "Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below.\n" } @@ -67735,6 +68883,18 @@ "taggings" ] }, + "aws:guardduty/MalwareProtectionPlanActionTagging:MalwareProtectionPlanActionTagging": { + "properties": { + "status": { + "type": "string", + "description": "Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED`\n" + } + }, + "type": "object", + "required": [ + "status" + ] + }, "aws:guardduty/MalwareProtectionPlanProtectedResource:MalwareProtectionPlanProtectedResource": { "properties": { "s3Bucket": { @@ -73413,7 +74573,7 @@ "externalIds": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "$ref": "#/types/aws:identitystore/getGroupsGroupExternalId:getGroupsGroupExternalId" }, "description": "List of identifiers issued to this resource by an external identity provider.\n" }, @@ -73440,6 +74600,28 @@ } } }, + "aws:identitystore/getGroupsGroupExternalId:getGroupsGroupExternalId": { + "properties": { + "id": { + "type": "string", + "description": "Identifier issued to this resource by an external identity provider.\n" + }, + "issuer": { + "type": "string", + "description": "Issuer for an external identifier.\n" + } + }, + "type": "object", + "required": [ + "id", + "issuer" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "aws:identitystore/getUserAddress:getUserAddress": { "properties": { "country": { @@ -103820,7 +105002,7 @@ "subSlots": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "$ref": "#/types/aws:lex/V2modelsSlotTypeCompositeSlotTypeSettingSubSlot:V2modelsSlotTypeCompositeSlotTypeSettingSubSlot" }, "description": "Subslots in the composite slot. Contains filtered or unexported fields. See [`sub_slot_type_composition` argument reference] below.\n" } @@ -103830,6 +105012,22 @@ "subSlots" ] }, + "aws:lex/V2modelsSlotTypeCompositeSlotTypeSettingSubSlot:V2modelsSlotTypeCompositeSlotTypeSettingSubSlot": { + "properties": { + "name": { + "type": "string", + "description": "Name of the slot type\n\nThe following arguments are optional:\n" + }, + "subSlotId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "name", + "subSlotId" + ] + }, "aws:lex/V2modelsSlotTypeExternalSourceSetting:V2modelsSlotTypeExternalSourceSetting": { "properties": { "grammarSlotTypeSetting": { @@ -103872,7 +105070,7 @@ "slotTypeValues": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "$ref": "#/types/aws:lex/V2modelsSlotTypeSlotTypeValuesSlotTypeValue:V2modelsSlotTypeSlotTypeValuesSlotTypeValue" }, "description": "List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slot_type_values` argument reference below.\n" }, @@ -103889,6 +105087,17 @@ "slotTypeValues" ] }, + "aws:lex/V2modelsSlotTypeSlotTypeValuesSlotTypeValue:V2modelsSlotTypeSlotTypeValuesSlotTypeValue": { + "properties": { + "value": { + "type": "string" + } + }, + "type": "object", + "required": [ + "value" + ] + }, "aws:lex/V2modelsSlotTypeSlotTypeValuesSynonym:V2modelsSlotTypeSlotTypeValuesSynonym": { "properties": { "value": { @@ -111042,7 +112251,7 @@ "vpcs": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "$ref": "#/types/aws:medialive/getInputDestinationVpc:getInputDestinationVpc" } } }, @@ -111059,6 +112268,26 @@ } } }, + "aws:medialive/getInputDestinationVpc:getInputDestinationVpc": { + "properties": { + "availabilityZone": { + "type": "string" + }, + "networkInterfaceId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "availabilityZone", + "networkInterfaceId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "aws:medialive/getInputInputDevice:getInputInputDevice": { "properties": { "id": { @@ -126236,7 +127465,7 @@ "properties": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "$ref": "#/types/aws:resourceexplorer/SearchResourceProperty:SearchResourceProperty" }, "description": "Structure with additional type-specific details about the resource. See `properties` below.\n" }, @@ -126291,6 +127520,33 @@ } } }, + "aws:resourceexplorer/SearchResourceProperty:SearchResourceProperty": { + "properties": { + "data": { + "type": "string", + "description": "Details about this property. The content of this field is a JSON object that varies based on the resource type.\n" + }, + "lastReportedAt": { + "type": "string", + "description": "The date and time that the information about this resource property was last updated.\n" + }, + "name": { + "type": "string", + "description": "Name of this property of the resource.\n" + } + }, + "type": "object", + "required": [ + "data", + "lastReportedAt", + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "aws:resourceexplorer/ViewFilters:ViewFilters": { "properties": { "filterString": { @@ -141733,13 +142989,13 @@ "dailySettings": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "$ref": "#/types/aws:ssm/getContactsRotationRecurrenceDailySetting:getContactsRotationRecurrenceDailySetting" } }, "monthlySettings": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "$ref": "#/types/aws:ssm/getContactsRotationRecurrenceMonthlySetting:getContactsRotationRecurrenceMonthlySetting" } }, "numberOfOnCalls": { @@ -141751,13 +143007,13 @@ "shiftCoverages": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "$ref": "#/types/aws:ssm/getContactsRotationRecurrenceShiftCoverage:getContactsRotationRecurrenceShiftCoverage" } }, "weeklySettings": { "type": "array", "items": { - "$ref": "pulumi.json#/Any" + "$ref": "#/types/aws:ssm/getContactsRotationRecurrenceWeeklySetting:getContactsRotationRecurrenceWeeklySetting" } } }, @@ -141776,6 +143032,201 @@ } } }, + "aws:ssm/getContactsRotationRecurrenceDailySetting:getContactsRotationRecurrenceDailySetting": { + "properties": { + "hourOfDay": { + "type": "integer" + }, + "minuteOfHour": { + "type": "integer" + } + }, + "type": "object", + "required": [ + "hourOfDay", + "minuteOfHour" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:ssm/getContactsRotationRecurrenceMonthlySetting:getContactsRotationRecurrenceMonthlySetting": { + "properties": { + "dayOfMonth": { + "type": "integer" + }, + "handOffTimes": { + "type": "array", + "items": { + "$ref": "#/types/aws:ssm/getContactsRotationRecurrenceMonthlySettingHandOffTime:getContactsRotationRecurrenceMonthlySettingHandOffTime" + } + } + }, + "type": "object", + "required": [ + "dayOfMonth", + "handOffTimes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:ssm/getContactsRotationRecurrenceMonthlySettingHandOffTime:getContactsRotationRecurrenceMonthlySettingHandOffTime": { + "properties": { + "hourOfDay": { + "type": "integer" + }, + "minuteOfHour": { + "type": "integer" + } + }, + "type": "object", + "required": [ + "hourOfDay", + "minuteOfHour" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:ssm/getContactsRotationRecurrenceShiftCoverage:getContactsRotationRecurrenceShiftCoverage": { + "properties": { + "coverageTimes": { + "type": "array", + "items": { + "$ref": "#/types/aws:ssm/getContactsRotationRecurrenceShiftCoverageCoverageTime:getContactsRotationRecurrenceShiftCoverageCoverageTime" + } + }, + "mapBlockKey": { + "type": "string" + } + }, + "type": "object", + "required": [ + "coverageTimes", + "mapBlockKey" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:ssm/getContactsRotationRecurrenceShiftCoverageCoverageTime:getContactsRotationRecurrenceShiftCoverageCoverageTime": { + "properties": { + "ends": { + "type": "array", + "items": { + "$ref": "#/types/aws:ssm/getContactsRotationRecurrenceShiftCoverageCoverageTimeEnd:getContactsRotationRecurrenceShiftCoverageCoverageTimeEnd" + } + }, + "starts": { + "type": "array", + "items": { + "$ref": "#/types/aws:ssm/getContactsRotationRecurrenceShiftCoverageCoverageTimeStart:getContactsRotationRecurrenceShiftCoverageCoverageTimeStart" + } + } + }, + "type": "object", + "required": [ + "ends", + "starts" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:ssm/getContactsRotationRecurrenceShiftCoverageCoverageTimeEnd:getContactsRotationRecurrenceShiftCoverageCoverageTimeEnd": { + "properties": { + "hourOfDay": { + "type": "integer" + }, + "minuteOfHour": { + "type": "integer" + } + }, + "type": "object", + "required": [ + "hourOfDay", + "minuteOfHour" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:ssm/getContactsRotationRecurrenceShiftCoverageCoverageTimeStart:getContactsRotationRecurrenceShiftCoverageCoverageTimeStart": { + "properties": { + "hourOfDay": { + "type": "integer" + }, + "minuteOfHour": { + "type": "integer" + } + }, + "type": "object", + "required": [ + "hourOfDay", + "minuteOfHour" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:ssm/getContactsRotationRecurrenceWeeklySetting:getContactsRotationRecurrenceWeeklySetting": { + "properties": { + "dayOfWeek": { + "type": "string" + }, + "handOffTimes": { + "type": "array", + "items": { + "$ref": "#/types/aws:ssm/getContactsRotationRecurrenceWeeklySettingHandOffTime:getContactsRotationRecurrenceWeeklySettingHandOffTime" + } + } + }, + "type": "object", + "required": [ + "dayOfWeek", + "handOffTimes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "aws:ssm/getContactsRotationRecurrenceWeeklySettingHandOffTime:getContactsRotationRecurrenceWeeklySettingHandOffTime": { + "properties": { + "hourOfDay": { + "type": "integer" + }, + "minuteOfHour": { + "type": "integer" + } + }, + "type": "object", + "required": [ + "hourOfDay", + "minuteOfHour" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "aws:ssm/getInstancesFilter:getInstancesFilter": { "properties": { "name": { @@ -377588,8 +379039,7 @@ "description": "A collection of arguments for invoking getCredentials.\n", "properties": { "registryId": { - "type": "string", - "willReplaceOnChanges": true + "type": "string" } }, "type": "object", diff --git a/provider/go.mod b/provider/go.mod index d2662d70963..84a5ccd401d 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -1,6 +1,6 @@ module github.com/pulumi/pulumi-aws/provider/v6 -go 1.22.4 +go 1.22.5 require ( github.com/aws/aws-sdk-go-v2/config v1.27.21 @@ -12,8 +12,8 @@ require ( github.com/hashicorp/terraform-provider-aws v1.60.1-0.20220923175450-ca71523cdc36 github.com/mitchellh/go-homedir v1.1.0 github.com/pulumi/providertest v0.0.11 - github.com/pulumi/pulumi-terraform-bridge/pf v0.38.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.85.0 + github.com/pulumi/pulumi-terraform-bridge/pf v0.39.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.86.0 github.com/pulumi/pulumi/pkg/v3 v3.121.0 github.com/pulumi/pulumi/sdk/v3 v3.121.0 github.com/stretchr/testify v1.9.0 @@ -44,7 +44,7 @@ require ( cloud.google.com/go/storage v1.39.1 // indirect dario.cat/mergo v1.0.0 // indirect github.com/Azure/azure-sdk-for-go/sdk/azcore v1.11.1 // indirect - github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.6.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0 // indirect github.com/Azure/azure-sdk-for-go/sdk/internal v1.8.0 // indirect github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys v0.10.0 // indirect github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1 // indirect @@ -65,12 +65,12 @@ require ( github.com/armon/go-radix v1.0.0 // indirect github.com/atotto/clipboard v0.1.4 // indirect github.com/aws/aws-sdk-go v1.54.8 // indirect - github.com/aws/aws-sdk-go-v2 v1.30.0 // indirect + github.com/aws/aws-sdk-go-v2 v1.30.1 // indirect github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 // indirect github.com/aws/aws-sdk-go-v2/credentials v1.17.21 // indirect github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.1 // indirect - github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.12 // indirect - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.12 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.13 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.13 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 // indirect github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.12 // indirect github.com/aws/aws-sdk-go-v2/service/accessanalyzer v1.31.1 // indirect @@ -81,7 +81,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/amplify v1.22.1 // indirect github.com/aws/aws-sdk-go-v2/service/apigateway v1.24.1 // indirect github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.21.1 // indirect - github.com/aws/aws-sdk-go-v2/service/appconfig v1.30.1 // indirect + github.com/aws/aws-sdk-go-v2/service/appconfig v1.31.1 // indirect github.com/aws/aws-sdk-go-v2/service/appfabric v1.8.1 // indirect github.com/aws/aws-sdk-go-v2/service/appflow v1.42.1 // indirect github.com/aws/aws-sdk-go-v2/service/appintegrations v1.26.1 // indirect @@ -263,7 +263,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/workspaces v1.40.1 // indirect github.com/aws/aws-sdk-go-v2/service/workspacesweb v1.20.0 // indirect github.com/aws/aws-sdk-go-v2/service/xray v1.26.1 // indirect - github.com/aws/smithy-go v1.20.2 // indirect + github.com/aws/smithy-go v1.20.3 // indirect github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect github.com/beevik/etree v1.4.0 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect @@ -318,7 +318,7 @@ require ( github.com/hashicorp/go-checkpoint v0.5.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-cty v1.4.1-0.20200723130312-85980079f637 // indirect - github.com/hashicorp/go-getter v1.7.1 // indirect + github.com/hashicorp/go-getter v1.7.5 // indirect github.com/hashicorp/go-hclog v1.6.3 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/hashicorp/go-plugin v1.6.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index db6b102d2fa..23b70b4eba6 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1154,8 +1154,8 @@ gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zum git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.11.1 h1:E+OJmp2tPvt1W+amx48v1eqbjDYsgN+RzP4q16yV5eM= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.11.1/go.mod h1:a6xsAQUZg+VsS3TJ05SRp524Hs4pZ/AeFSr5ENf0Yjo= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.6.0 h1:U2rTu3Ef+7w9FHKIAXM6ZyqF3UOWJZ12zIm8zECAFfg= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.6.0/go.mod h1:9kIvujWAA58nmPmWB1m23fyWic1kYZMxD9CxaWn4Qpg= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0 h1:tfLQ34V6F7tVSwoTf/4lH5sE0o6eCJuNDTmH09nDpbc= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0/go.mod h1:9kIvujWAA58nmPmWB1m23fyWic1kYZMxD9CxaWn4Qpg= github.com/Azure/azure-sdk-for-go/sdk/internal v1.8.0 h1:jBQA3cKT4L2rWMpgE7Yt3Hwh2aUj8KXjIGLxjHeYNNo= github.com/Azure/azure-sdk-for-go/sdk/internal v1.8.0/go.mod h1:4OG6tQ9EOP/MT0NMjDlRzWoVFxfu9rN9B2X+tlSVktg= github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys v0.10.0 h1:m/sWOGCREuSBqg2htVQTBY8nOZpyajYztF0vUvSZTuM= @@ -1238,6 +1238,8 @@ github.com/aws/aws-sdk-go v1.54.8 h1:+soIjaRsuXfEJ9ts9poJD2fIIzSSRwfx+T69DrTtL2M github.com/aws/aws-sdk-go v1.54.8/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU= github.com/aws/aws-sdk-go-v2 v1.30.0 h1:6qAwtzlfcTtcL8NHtbDQAqgM5s6NDipQTkPxyH/6kAA= github.com/aws/aws-sdk-go-v2 v1.30.0/go.mod h1:ffIFB97e2yNsv4aTSGkqtHnppsIJzw7G7BReUZ3jCXM= +github.com/aws/aws-sdk-go-v2 v1.30.1 h1:4y/5Dvfrhd1MxRDD77SrfsDaj8kUkkljU7XE83NPV+o= +github.com/aws/aws-sdk-go-v2 v1.30.1/go.mod h1:nIQjQVp5sfpQcTc9mPSr1B0PaWK5ByX9MOoDadSN4lc= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 h1:x6xsQXGSmW6frevwDA+vi/wqhp1ct18mVXYN08/93to= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2/go.mod h1:lPprDr1e6cJdyYeGXnRaJoP4Md+cDBvi2eOj00BlGmg= github.com/aws/aws-sdk-go-v2/config v1.27.21 h1:yPX3pjGCe2hJsetlmGNB4Mngu7UPmvWPzzWCv1+boeM= @@ -1250,8 +1252,12 @@ github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.1 h1:D9VqWMuw7lJAX6d5eINfR github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.1/go.mod h1:ckvBx7codI4wzc5inOfDp5ZbK7TjMFa7eXwmLvXQrRk= github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.12 h1:SJ04WXGTwnHlWIODtC5kJzKbeuHt+OUNOgKg7nfnUGw= github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.12/go.mod h1:FkpvXhA92gb3GE9LD6Og0pHHycTxW7xGpnEh5E7Opwo= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.13 h1:5SAoZ4jYpGH4721ZNoS1znQrhOfZinOhc4XuTXx/nVc= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.13/go.mod h1:+rdA6ZLpaSeM7tSg/B0IEDinCIBJGmW8rKDFkYpP04g= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.12 h1:hb5KgeYfObi5MHkSSZMEudnIvX30iB+E21evI4r6BnQ= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.12/go.mod h1:CroKe/eWJdyfy9Vx4rljP5wTUjNJfb+fPz1uMYUhEGM= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.13 h1:WIijqeaAO7TYFLbhsZmi2rgLEAtWOC1LhxCAVTJlSKw= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.13/go.mod h1:i+kbfa76PQbWw/ULoWnp51EYVWH4ENln76fLQE3lXT8= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 h1:hT8rVHwugYE2lEfdFE0QWVo81lF7jMrYJVDWI+f+VxU= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0/go.mod h1:8tu/lYfQfFe6IGnaOdrpVgEL2IrrDOf6/m9RQum4NkY= github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.12 h1:DXFWyt7ymx/l1ygdyTTS0X923e+Q2wXIxConJzrgwc0= @@ -1274,6 +1280,8 @@ github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.21.1 h1:qbbxz47vQdGzvLeHS8x github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.21.1/go.mod h1:3tgssMs7RA6rZoI6K9w6Nc6gCmhadTFAOU+OXh4tPkQ= github.com/aws/aws-sdk-go-v2/service/appconfig v1.30.1 h1:h2JzyyqbvuXD2I0HombM5CsbmFbB3jcVeF/WhX8AjCk= github.com/aws/aws-sdk-go-v2/service/appconfig v1.30.1/go.mod h1:rOJ1yTzhpIWjgop8XniA+nanxF4jpyUnLcX1s0gaShg= +github.com/aws/aws-sdk-go-v2/service/appconfig v1.31.1 h1:7nXZS7lmKza7FI8vz1ZAywf8AcGt+CxGY1E9tvb7/po= +github.com/aws/aws-sdk-go-v2/service/appconfig v1.31.1/go.mod h1:FUfSBXhPn3pV5m69Rkn3jwOIdA2UppNgkILeR3e42Jg= github.com/aws/aws-sdk-go-v2/service/appfabric v1.8.1 h1:TbZ4cm8Mvw+auu0xQk7m6iFg9p+uFC97cUzYKZObt/s= github.com/aws/aws-sdk-go-v2/service/appfabric v1.8.1/go.mod h1:9QTxY84kkzjBDUHp8mErDspSgpA6e8A/1AvU2AvYJ7I= github.com/aws/aws-sdk-go-v2/service/appflow v1.42.1 h1:zxPjTkoh8wIgVg/R7NCG9t5X7UhZjAf+RrL49J9uv3g= @@ -1642,6 +1650,8 @@ github.com/aws/aws-sdk-go-v2/service/xray v1.26.1 h1:HYDnKTBHT0bDROhdSvrBOWO/hR3 github.com/aws/aws-sdk-go-v2/service/xray v1.26.1/go.mod h1:hzagwUFkLbUYjoG391sGdiWWfZacwrwp5GZQQLz1sxg= github.com/aws/smithy-go v1.20.2 h1:tbp628ireGtzcHDDmLT/6ADHidqnwgF57XOXZe6tp4Q= github.com/aws/smithy-go v1.20.2/go.mod h1:krry+ya/rV9RDcV/Q16kpu6ypI4K2czasz0NC3qS14E= +github.com/aws/smithy-go v1.20.3 h1:ryHwveWzPV5BIof6fyDvor6V3iUL7nTfiTKXHiW05nE= +github.com/aws/smithy-go v1.20.3/go.mod h1:krry+ya/rV9RDcV/Q16kpu6ypI4K2czasz0NC3qS14E= github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= github.com/beevik/etree v1.4.0 h1:oz1UedHRepuY3p4N5OjE0nK1WLCqtzHf25bxplKOHLs= @@ -1999,8 +2009,8 @@ github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBM github.com/hashicorp/go-cty v1.4.1-0.20200723130312-85980079f637 h1:Ud/6/AdmJ1R7ibdS0Wo5MWPj0T1R0fkpaD087bBaW8I= github.com/hashicorp/go-cty v1.4.1-0.20200723130312-85980079f637/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= github.com/hashicorp/go-getter v1.4.0/go.mod h1:7qxyCd8rBfcShwsvxgIguu4KbS3l8bUCwg2Umn7RjeY= -github.com/hashicorp/go-getter v1.7.1 h1:SWiSWN/42qdpR0MdhaOc/bLR48PLuP1ZQtYLRlM69uY= -github.com/hashicorp/go-getter v1.7.1/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= +github.com/hashicorp/go-getter v1.7.5 h1:dT58k9hQ/vbxNMwoI5+xFYAJuv6152UNvdHokfI5wE4= +github.com/hashicorp/go-getter v1.7.5/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod h1:9bjs9uLqI8l75knNv3lV1kA55veR+WUPSiKIWcQHudI= github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= github.com/hashicorp/go-hclog v0.14.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= @@ -2337,10 +2347,10 @@ github.com/pulumi/providertest v0.0.11 h1:mg8MQ7Cq7+9XlHIkBD+aCqQO4mwAJEISngZgVd github.com/pulumi/providertest v0.0.11/go.mod h1:HsxjVsytcMIuNj19w1lT2W0QXY0oReXl1+h6eD2JXP8= github.com/pulumi/pulumi-java/pkg v0.11.0 h1:Jw9gBvyfmfOMq/EkYDm9+zGPxsDAA8jfeMpHmtZ+1oA= github.com/pulumi/pulumi-java/pkg v0.11.0/go.mod h1:sXAk25P47AQVQL6ilAbFmRNgZykC7og/+87ihnqzFTc= -github.com/pulumi/pulumi-terraform-bridge/pf v0.38.0 h1:0+A+ZkoZWy5EOd4zcnM7tjoQ4V1jV/koR8YvWJ8TK/E= -github.com/pulumi/pulumi-terraform-bridge/pf v0.38.0/go.mod h1:JGOlvwSWY+jEt1V9sI/L8HAP9DBr74aXD10oi5nUJaI= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.85.0 h1:Zv6OPQdkGERufe2Mq9D92xbTm5mg3uhllh0ryrcrrds= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.85.0/go.mod h1:a7t2qe4smtB7HlbHlelQxjJQn8DFNB3Gbe5Ot2W7GZU= +github.com/pulumi/pulumi-terraform-bridge/pf v0.39.0 h1:yV5LHLTF878wKMQcHVTqKRShaeJTX7ee36pL3cVvCLs= +github.com/pulumi/pulumi-terraform-bridge/pf v0.39.0/go.mod h1:teMSjww/2MdNvGTbtLNrjMDkGXteRJso/1iViv8AnCI= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.86.0 h1:55ydBXwbNpL+eAPExJSfL1pSDUuPNSGCU08EamVh3qg= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.86.0/go.mod h1:jyywJUc4gFP5vWOar8qSQWzSrpwht7XDrYQtVvneza4= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= github.com/pulumi/pulumi-yaml v1.8.0 h1:bhmidiCMMuzsJao5FE0UR69iF3WVKPCFrRkzjotFNn4= diff --git a/provider/provider_python_test.go b/provider/provider_python_test.go index 353c7acff4e..7c59091820e 100644 --- a/provider/provider_python_test.go +++ b/provider/provider_python_test.go @@ -6,16 +6,12 @@ package provider import ( - "bytes" - "context" - "fmt" "path/filepath" "strings" "testing" "time" "github.com/pulumi/pulumi/pkg/v3/testing/integration" - "github.com/stretchr/testify/require" ) func TestRegress3196(t *testing.T) { @@ -61,7 +57,6 @@ func TestRegress3887(t *testing.T) { // Make sure that importing an AWS targetGroup succeeds. func TestRegress2534(t *testing.T) { - ctx := context.Background() ptest := pulumiTest(t, filepath.Join("test-programs", "regress-2534")) upResult := ptest.Up() targetGroupArn := upResult.Outputs["targetGroupArn"].Value.(string) @@ -71,24 +66,8 @@ func TestRegress2534(t *testing.T) { workdir := workspace.WorkDir() t.Logf("workdir = %s", workdir) - exec := func(args ...string) { - var env []string - for k, v := range workspace.GetEnvVars() { - env = append(env, fmt.Sprintf("%s=%s", k, v)) - } - stdin := bytes.NewReader([]byte{}) - var arguments []string - arguments = append(arguments, args...) - arguments = append(arguments, "-s", ptest.CurrentStack().Name()) - s1, s2, code, err := workspace.PulumiCommand().Run(ctx, workdir, stdin, nil, nil, env, arguments...) - t.Logf("import stdout: %s", s1) - t.Logf("import stderr: %s", s2) - t.Logf("code=%v", code) - require.NoError(t, err) - } - - exec("import", "aws:lb/targetGroup:TargetGroup", "newtg", targetGroupArn, "--yes") - exec("state", "unprotect", strings.ReplaceAll(targetGroupUrn, "::test", "::newtg"), "--yes") + execPulumi(t, ptest, workdir, "import", "aws:lb/targetGroup:TargetGroup", "newtg", targetGroupArn, "--yes") + execPulumi(t, ptest, workdir, "state", "unprotect", strings.ReplaceAll(targetGroupUrn, "::test", "::newtg"), "--yes") } func getPythonBaseOptions(t *testing.T) integration.ProgramTestOptions { diff --git a/provider/provider_test.go b/provider/provider_test.go index e7885ab2980..8d33202ff7f 100644 --- a/provider/provider_test.go +++ b/provider/provider_test.go @@ -2,6 +2,8 @@ package provider import ( + "bytes" + "context" "encoding/json" "fmt" "os" @@ -34,6 +36,24 @@ func getEnvRegion(t *testing.T) string { return envRegion } +func execPulumi(t *testing.T, ptest *pulumitest.PulumiTest, workdir string, args ...string) { + ctx := context.Background() + var env []string + workspace := ptest.CurrentStack().Workspace() + for k, v := range workspace.GetEnvVars() { + env = append(env, fmt.Sprintf("%s=%s", k, v)) + } + stdin := bytes.NewReader([]byte{}) + var arguments []string + arguments = append(arguments, args...) + arguments = append(arguments, "-s", ptest.CurrentStack().Name()) + s1, s2, code, err := workspace.PulumiCommand().Run(ctx, workdir, stdin, nil, nil, env, arguments...) + t.Logf("import stdout: %s", s1) + t.Logf("import stderr: %s", s2) + t.Logf("code=%v", code) + require.NoError(t, err) +} + type testProviderUpgradeOptions struct { baselineVersion string linkNodeSDK bool diff --git a/provider/provider_yaml_test.go b/provider/provider_yaml_test.go index 571fec4aa22..bcadb5f1330 100644 --- a/provider/provider_yaml_test.go +++ b/provider/provider_yaml_test.go @@ -14,16 +14,25 @@ import ( "os/exec" "path/filepath" "runtime" + "sort" "strings" "testing" + "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/config" + appconfigsdk "github.com/aws/aws-sdk-go-v2/service/appconfig" s3sdk "github.com/aws/aws-sdk-go-v2/service/s3" + "github.com/aws/aws-sdk-go-v2/service/s3/types" "github.com/pulumi/providertest/pulumitest" "github.com/pulumi/providertest/pulumitest/assertpreview" "github.com/pulumi/providertest/pulumitest/opttest" + "github.com/pulumi/pulumi/sdk/v3/go/auto" + "github.com/pulumi/pulumi/sdk/v3/go/auto/optpreview" + "github.com/pulumi/pulumi/sdk/v3/go/auto/optrefresh" + "github.com/pulumi/pulumi/sdk/v3/go/auto/optup" "github.com/pulumi/pulumi/sdk/v3/go/common/apitype" "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) @@ -459,7 +468,431 @@ func TestS3BucketObjectDeprecation(t *testing.T) { require.NotContains(t, result.StdOut+result.StdErr, "aws_s3_object") } -func configureS3() *s3sdk.Client { +type tagsTestStep struct { + // The name of the Pulumi program + name string + + // The type token of the resource, i.e. aws:s3:Bucket + token string + + // The pulumi type of the resource, i.e. aws:s3/bucket:Bucket + typ string + + // Constant properties for the primary resource under test. + // + // This cannot include the tags property, which will be adjusted by the test. + properties map[string]interface{} + + // List of tags to add to the resource + tags map[string]interface{} + + // List of default tags to add to the provider + defaultTags map[string]interface{} + + // List of tag keys to add to the provider `ignoreTags.Keys` property + ignoreTagKeys []string + + // Function to run prior to _any_ import step + preImportHook func(t *testing.T, outputs auto.OutputMap) + + // Function to run after running the first up. This can be used to + // run extra validation + postUpHook func(t *testing.T, outputs auto.OutputMap) + + // Other is a string that is inserted into the test program. It is intended to be + // used to provision supporting resources in tests. + other string + + // If skip is non-empty, the test will be skipped with `skip` as the given reason. + skip string +} + +// TestAccDefaultTags tries to test all the scenarios that might affect provider defaultTags / resource tags +// i.e. up, refresh, preview, import, etc +func TestAccDefaultTags(t *testing.T) { + t.Parallel() + if testing.Short() { + t.Skipf("Skipping in testing.Short() mode, assuming this is a CI run without credentials") + } + + isNil := func(val interface{}) bool { + if val == nil { + return true + } + v, ok := val.(map[string]interface{}) + return ok && len(v) == 0 + } + validateOutputTags := func(outputs auto.OutputMap, expectedTags map[string]interface{}) { + stackOutputTags := outputs["actual"] + if !isNil(expectedTags) || !isNil(stackOutputTags) { + assert.Equal(t, expectedTags, stackOutputTags.Value) + } + } + + steps := []tagsTestStep{ + // Pulumi maintains it's own version of aws:s3:Bucket in + // `s3legacy/bucket_legacy.go`. Because we don't have any + // terraform-provider-aws maintainers to ensure our tagging works the same + // way as other resource's tagging, we give our own bucket special testing + // to make sure that tags work. + { + name: "legacy", token: "aws:s3:Bucket", typ: "aws:s3/bucket:Bucket", + tags: map[string]interface{}{ + "LocalTag": "foo", + }, + defaultTags: map[string]interface{}{ + "GlobalTag": "bar", + }, + postUpHook: func(t *testing.T, outputs auto.OutputMap) { + validateOutputTags(outputs, map[string]interface{}{ + "LocalTag": "foo", + "GlobalTag": "bar", + }) + bucketName := outputs["id"].Value.(string) + tags := getBucketTagging(context.Background(), bucketName) + assert.Subset(t, tags, []types.Tag{ + { + Key: pulumi.StringRef("LocalTag"), + Value: pulumi.StringRef("foo"), + }, + { + Key: pulumi.StringRef("GlobalTag"), + Value: pulumi.StringRef("bar"), + }, + }) + }, + }, + { + name: "legacy_ignore_tags", token: "aws:s3:Bucket", typ: "aws:s3/bucket:Bucket", + tags: map[string]interface{}{ + "LocalTag": "foo", + }, + ignoreTagKeys: []string{"IgnoreKey"}, + preImportHook: func(t *testing.T, outputs auto.OutputMap) { + t.Helper() + resArn := outputs["id"].Value.(string) + addBucketTags(context.Background(), resArn, map[string]string{ + "IgnoreKey": "foo", + }) + }, + defaultTags: map[string]interface{}{ + "GlobalTag": "bar", + }, + postUpHook: func(t *testing.T, outputs auto.OutputMap) { + validateOutputTags(outputs, map[string]interface{}{ + "LocalTag": "foo", + "GlobalTag": "bar", + }) + }, + }, + + // Both aws:cognito:UserPool and aws:s3:BucketV2 are full SDKv2 resources managed + // by Terraform, but they have different requirements for successful tag + // interactions. That is why we have tests for both resources. + { + name: "bucket", token: "aws:s3:BucketV2", typ: "aws:s3/bucketV2:BucketV2", + tags: map[string]interface{}{ + "LocalTag": "foo", + }, + postUpHook: func(t *testing.T, outputs auto.OutputMap) { + validateOutputTags(outputs, map[string]interface{}{ + "LocalTag": "foo", + "GlobalTag": "bar", + }) + }, + defaultTags: map[string]interface{}{ + "GlobalTag": "bar", + }, + }, + { + name: "bucket_ignore_tags", token: "aws:s3:BucketV2", typ: "aws:s3/bucketV2:BucketV2", + tags: map[string]interface{}{ + "LocalTag": "foo", + }, + postUpHook: func(t *testing.T, outputs auto.OutputMap) { + validateOutputTags(outputs, map[string]interface{}{ + "LocalTag": "foo", + "GlobalTag": "bar", + }) + }, + defaultTags: map[string]interface{}{ + "GlobalTag": "bar", + }, + ignoreTagKeys: []string{"IgnoreKey"}, + preImportHook: func(t *testing.T, outputs auto.OutputMap) { + t.Helper() + resArn := outputs["id"].Value.(string) + addBucketTags(context.Background(), resArn, map[string]string{ + "IgnoreKey": "foo", + }) + }, + }, + { + name: "sdkv2", token: "aws:cognito:UserPool", typ: "aws:cognito/userPool:UserPool", + tags: map[string]interface{}{ + "LocalTag": "foo", + }, + defaultTags: map[string]interface{}{ + "GlobalTag": "bar", + }, + postUpHook: func(t *testing.T, outputs auto.OutputMap) { + validateOutputTags(outputs, map[string]interface{}{ + "LocalTag": "foo", + "GlobalTag": "bar", + }) + }, + properties: map[string]interface{}{ + // aliasAttributes is necessary because otherwise we don't + // see a clean initial refresh + "aliasAttributes": []interface{}{"email"}, + }, + }, + + // A PF resource (appconfig:Environment) + // PF resources deal with tags differently + { + name: "pf", token: "aws:appconfig:Environment", typ: "aws:appconfig/environment:Environment", + tags: map[string]interface{}{ + "LocalTag": "foo", + }, + defaultTags: map[string]interface{}{ + "GlobalTag": "bar", + }, + postUpHook: func(t *testing.T, outputs auto.OutputMap) { + validateOutputTags(outputs, map[string]interface{}{ + "LocalTag": "foo", + "GlobalTag": "bar", + }) + }, + other: ` + app: + type: aws:appconfig:Application`, + properties: map[string]interface{}{ + "applicationId": "${app.id}", + }, + }, + { + name: "pf_ignore_tags", token: "aws:appconfig:Environment", typ: "aws:appconfig/environment:Environment", + tags: map[string]interface{}{ + "LocalTag": "foo", + }, + ignoreTagKeys: []string{"IgnoreKey"}, + preImportHook: func(t *testing.T, outputs auto.OutputMap) { + t.Helper() + resArn := outputs["resArn"].Value.(string) + addAppconfigEnvironmentTags(context.Background(), resArn, map[string]string{ + "IgnoreKey": "foo", + }) + }, + defaultTags: map[string]interface{}{ + "GlobalTag": "bar", + }, + postUpHook: func(t *testing.T, outputs auto.OutputMap) { + validateOutputTags(outputs, map[string]interface{}{ + "LocalTag": "foo", + "GlobalTag": "bar", + }) + }, + other: ` + app: + type: aws:appconfig:Application`, + properties: map[string]interface{}{ + "applicationId": "${app.id}", + }, + }, + } + + for _, step := range steps { + step := step + t.Run(step.name, func(t *testing.T) { + t.Parallel() + if reason := step.skip; reason != "" { + t.Skipf(reason) + } + testTagsPulumiLifecycle(t, step) + }) + } +} + +// testTagsPulumiLifecycle tests the complete lifecycle of a pulumi program +// Scenarios that this tests: +// 1. `Up` with both provider `defaultTags`/`ignoreTags` and resource level `tags` +// 1a. Run validations on result +// 2. `Refresh` with no changes +// 3. `Import` using the resource option. Ensures resource can be successfully imported +// 3a. Allows for a hook to be run prior to import being run. e.g. Add tags remotely +// 4. `Import` using the CLI. Ensures resources can be successfully imported +// 4a. Allows for a hook to be run prior to import being run. e.g. Add tags remotely +// 5. `Refresh` with no changes +func testTagsPulumiLifecycle(t *testing.T, step tagsTestStep) { + t.Helper() + ctx := context.Background() + + stepDir, err := os.MkdirTemp(os.TempDir(), step.name) + assert.NoError(t, err) + fpath := filepath.Join(stepDir, "Pulumi.yaml") + + generateTagsTest(t, step, fpath, "") + ptest := pulumiTest(t, stepDir, opttest.TestInPlace()) + stack := ptest.CurrentStack() + + t.Log("Initial deployment...") + upRes, err := stack.Up(ctx) + assert.NoError(t, err) + outputs := upRes.Outputs + urn := outputs["urn"].Value.(string) + id := outputs["id"].Value.(string) + providerUrn := outputs["providerUrn"].Value.(string) + if step.postUpHook != nil { + step.postUpHook(t, outputs) + } + + t.Log("refresh...") + _, err = stack.Refresh(ctx, optrefresh.ExpectNoChanges()) + assert.NoError(t, err) + + t.Log("delete state...") + execPulumi(t, ptest, stepDir, "state", "delete", urn) + + // import using the import resource option + t.Log("up with import...") + if step.preImportHook != nil { + step.preImportHook(t, outputs) + } + generateTagsTest(t, step, fpath, id) + upRes, err = stack.Up(ctx, optup.Diff()) + assert.NoError(t, err) + changes := *upRes.Summary.ResourceChanges + assert.Equal(t, 1, changes["import"]) + + t.Log("delete state...") + execPulumi(t, ptest, stepDir, "state", "delete", urn) + + t.Log("import from cli...") + if step.preImportHook != nil { + step.preImportHook(t, outputs) + } + generateTagsTest(t, step, fpath, "") + execPulumi(t, ptest, stepDir, "import", step.typ, "res", id, "--provider", fmt.Sprintf("aws-provider=%s", providerUrn), "--yes") + execPulumi(t, ptest, stepDir, "state", "unprotect", urn, "--yes") + + // need to run an up to fix the state. It should be a no-op + // re https://github.com/pulumi/pulumi-aws/issues/4204 + upRes, err = stack.Up(ctx) + assert.NoError(t, err) + for k := range *upRes.Summary.ResourceChanges { + if k != "same" { + t.Fatal("expected no changes") + } + } + + t.Log("preview with refresh...") + _, err = stack.Preview(ctx, optpreview.Refresh(), optpreview.ExpectNoChanges()) + assert.NoError(t, err) +} + +// generateTagsTest generates a pulumi program for the given test step +// and writes it to the test directory +func generateTagsTest(t *testing.T, step tagsTestStep, testPath string, importId string) { + template := `name: test-aws-%s +runtime: yaml +resources: + aws-provider: + type: pulumi:providers:aws%s%s + res: + type: %s%s%s +outputs: + actual: ${res.tags} + urn: ${res.urn} + id: ${res.id} + resArn: ${res.arn} + providerUrn: ${aws-provider.urn}` + + options := map[string]interface{}{ + "provider": "${aws-provider}", + } + + if importId != "" { + options["import"] = importId + } + + var expandMap func(level int, v interface{}) string + expandMap = func(level int, v interface{}) string { + indent := "\n" + strings.Repeat(" ", level) + + var body string + switch v := v.(type) { + case nil: + return "" + case string: + body = v + case []string: + for _, v := range v { + body += indent + "- " + strings.TrimSpace(expandMap(level+1, v)) + } + case []interface{}: + for _, v := range v { + body += indent + "- " + strings.TrimSpace(expandMap(level+1, v)) + } + case map[string]interface{}: + sortedKeys := make([]string, len(v)) + for k := range v { + sortedKeys = append(sortedKeys, k) + } + sort.Strings(sortedKeys) + for _, k := range sortedKeys { + v := v[k] + + val := expandMap(level+1, v) + if val == "" { + continue + } + body += indent + k + ": " + val + } + default: + t.Logf("Unknown value type %T", v) + t.FailNow() + } + + return body + } + + expandProps := func(key string, props ...map[string]interface{}) string { + a := map[string]interface{}{} + for _, arg := range props { + for k, v := range arg { + a[k] = v + } + } + + return expandMap(2, map[string]interface{}{ + key: a, + }) + } + + providerProps := map[string]interface{}{ + "defaultTags": map[string]interface{}{ + "tags": step.defaultTags, + }, + } + if step.ignoreTagKeys != nil { + providerProps["ignoreTags"] = map[string]interface{}{ + "keys": step.ignoreTagKeys, + } + } + + body := fmt.Sprintf(template, step.name, + expandProps("properties", providerProps), step.other, step.token, + expandProps("options", options), + expandProps("properties", map[string]interface{}{ + "tags": step.tags, + }, step.properties)) + + t.Logf("template for %s: \n%s", step.name, body) + require.NoError(t, os.WriteFile(testPath, []byte(body), 0600)) +} + +func loadAwsDefaultConfig() aws.Config { loadOpts := []func(*config.LoadOptions) error{} if p, ok := os.LookupEnv("AWS_PROFILE"); ok { loadOpts = append(loadOpts, config.WithSharedConfigProfile(p)) @@ -469,9 +902,77 @@ func configureS3() *s3sdk.Client { } cfg, err := config.LoadDefaultConfig(context.TODO(), loadOpts...) contract.AssertNoErrorf(err, "failed to load AWS config") + + return cfg +} + +func configureS3() *s3sdk.Client { + cfg := loadAwsDefaultConfig() return s3sdk.NewFromConfig(cfg) } +func configureAppconfig() *appconfigsdk.Client { + cfg := loadAwsDefaultConfig() + return appconfigsdk.NewFromConfig(cfg) +} + +func addAppconfigEnvironmentTags(ctx context.Context, envArn string, tags map[string]string) { + appconfig := configureAppconfig() + existingTags, err := appconfig.ListTagsForResource(ctx, &appconfigsdk.ListTagsForResourceInput{ + ResourceArn: &envArn, + }) + contract.AssertNoErrorf(err, "failed to list tags for appconfig env") + + for k, v := range existingTags.Tags { + if _, exists := tags[k]; !exists { + tags[k] = v + } + } + + _, err = appconfig.TagResource(ctx, &appconfigsdk.TagResourceInput{ + ResourceArn: &envArn, + Tags: tags, + }) + contract.AssertNoErrorf(err, "error tagging appconfig env") +} + +func getBucketTagging(ctx context.Context, awsBucket string) []types.Tag { + s3 := configureS3() + tagging, err := s3.GetBucketTagging(ctx, &s3sdk.GetBucketTaggingInput{ + Bucket: &awsBucket, + }) + contract.AssertNoErrorf(err, "failed to get bucket tagging") + return tagging.TagSet +} + +func addBucketTags(ctx context.Context, bucketName string, tags map[string]string) { + s3 := configureS3() + existingTags := getBucketTagging(ctx, bucketName) + + newTags := []types.Tag{} + + for k, v := range tags { + newTags = append(newTags, types.Tag{ + Key: &k, + Value: &v, + }) + } + + for _, v := range existingTags { + if _, exists := tags[*v.Key]; !exists { + newTags = append(newTags, v) + } + } + + _, err := s3.PutBucketTagging(ctx, &s3sdk.PutBucketTaggingInput{ + Bucket: &bucketName, + Tagging: &types.Tagging{ + TagSet: newTags, + }, + }) + contract.AssertNoErrorf(err, "error putting bucket tags") +} + func deleteBucketTagging(ctx context.Context, awsBucket string) { s3 := configureS3() _, err := s3.DeleteBucketTagging(ctx, &s3sdk.DeleteBucketTaggingInput{ @@ -479,3 +980,12 @@ func deleteBucketTagging(ctx context.Context, awsBucket string) { }) contract.AssertNoErrorf(err, "failed to delete bucket tagging") } + +func getCwd(t *testing.T) string { + cwd, err := os.Getwd() + if err != nil { + t.FailNow() + } + + return cwd +} diff --git a/provider/resources.go b/provider/resources.go index 16662a73317..22a59cc154b 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -5945,6 +5945,19 @@ compatibility shim in favor of the new "name" field.`) prov.Resources[key].PreCheckCallback = applyTags } + // also override read so that it works during import + if transform := prov.Resources[key].TransformOutputs; transform != nil { + prov.Resources[key].TransformOutputs = func(ctx context.Context, pm resource.PropertyMap) (resource.PropertyMap, error) { + config, err := transform(ctx, pm) + if err != nil { + return nil, err + } + return applyTagsOutputs(ctx, config) + } + } else { + prov.Resources[key].TransformOutputs = applyTagsOutputs + } + if prov.Resources[key].GetFields() == nil { prov.Resources[key].Fields = map[string]*tfbridge.SchemaInfo{} } diff --git a/provider/tags.go b/provider/tags.go index 40b1ef8307a..9925af8807e 100644 --- a/provider/tags.go +++ b/provider/tags.go @@ -57,6 +57,40 @@ func applyTags( } if allTags.IsNull() { delete(ret, "tags") + delete(ret, "tagsAll") + return ret, nil + } + ret["tags"] = allTags + ret["tagsAll"] = allTags + + return ret, nil +} + +// similar to applyTags, but applied to the `TransformOutputs` method that is run +// during Read +func applyTagsOutputs( + ctx context.Context, config resource.PropertyMap, +) (resource.PropertyMap, error) { + ret := config.Copy() + configTags := resource.NewObjectProperty(resource.PropertyMap{}) + if t, ok := config["tags"]; ok { + configTags = t + } + + meta := resource.PropertyMap{} + if at, ok := config["tagsAll"]; ok { + meta["defaultTags"] = resource.NewObjectProperty(resource.PropertyMap{ + "tags": at, + }) + } + + allTags, err := mergeTags(ctx, configTags, meta) + if err != nil { + return nil, err + } + if allTags.IsNull() { + delete(ret, "tags") + delete(ret, "tagsAll") return ret, nil } ret["tags"] = allTags diff --git a/provider/tags_test.go b/provider/tags_test.go index 6612883ba1f..8912740f8b8 100644 --- a/provider/tags_test.go +++ b/provider/tags_test.go @@ -220,6 +220,187 @@ func TestApplyTags(t *testing.T) { } } +func TestApplyTagsOutputs(t *testing.T) { + ctx := context.Background() + + type gen = *rapid.Generator[resource.PropertyValue] + type pk = resource.PropertyKey + type pv = resource.PropertyValue + type pm = resource.PropertyMap + + maybeNullOrUnknown := func(x gen) gen { + return rapid.OneOf( + rapid.Just(resource.NewNullProperty()), + x, + rapid.Map(x, resource.MakeComputed), + ) + } + + str := maybeNullOrUnknown(rapid.OneOf( + rapid.Just(resource.NewStringProperty("")), + rapid.Just(resource.NewStringProperty("foo")), + rapid.Just(resource.NewStringProperty("bar")), + )) + + keys := rapid.Map(rapid.OneOf[string]( + rapid.Just(""), + rapid.Just("a"), + rapid.Just("b"), + ), func(s string) pk { + return resource.PropertyKey(s) + }) + + makeObj := func(m map[pk]resource.PropertyValue) resource.PropertyValue { + return resource.NewObjectProperty(resource.PropertyMap(m)) + } + + keyValueTags := maybeNullOrUnknown( + rapid.Map(rapid.MapOfN[pk, pv](keys, str, 0, 3), makeObj)) + + config := rapid.Map(keyValueTags, func(tags pv) pm { + return resource.PropertyMap{ + "tags": tags, + } + }) + + defaultConfig := maybeNullOrUnknown(rapid.Map(config, + resource.NewObjectProperty)) + + ignoreConfig := rapid.Custom[pv](func(t *rapid.T) pv { + keys := keyValueTags.Draw(t, "keys") + keyPrefixes := keyValueTags.Draw(t, "keyPrefixes") + m := resource.PropertyMap{} + if !keys.IsNull() { + m["keys"] = keys + } + if !keyPrefixes.IsNull() { + m["keyPrefixes"] = keyPrefixes + } + return resource.NewObjectProperty(m) + }) + + meta := rapid.Custom[pm](func(t *rapid.T) pm { + i := ignoreConfig.Draw(t, "ignoreConfig") + d := defaultConfig.Draw(t, "defaultConfig") + m := resource.PropertyMap{} + if !i.IsNull() { + m["ignoreConfig"] = i + } + if !d.IsNull() { + m["defaultConfig"] = d + } + return m + }) + + type args struct { + meta resource.PropertyMap + config resource.PropertyMap + } + + argsGen := rapid.Custom[args](func(t *rapid.T) args { + m := meta.Draw(t, "meta") + c := config.Draw(t, "config") + return args{meta: m, config: c} + }) + + t.Run("no panics", func(t *testing.T) { + rapid.Check(t, func(t *rapid.T) { + args := argsGen.Draw(t, "args") + _, err := applyTags(ctx, args.config, args.meta) + require.NoError(t, err) + }) + }) + + type testCase struct { + name string + config resource.PropertyMap + expect resource.PropertyMap + } + + testCases := []testCase{ + { + name: "resource tags propagate", + config: resource.PropertyMap{ + "tags": resource.NewObjectProperty(resource.PropertyMap{ + "tag1": resource.NewStringProperty("tag1v"), + }), + }, + expect: resource.PropertyMap{ + "tags": resource.NewObjectProperty(resource.PropertyMap{ + "tag1": resource.NewStringProperty("tag1v"), + }), + }, + }, + { + name: "provier sets a tag", + config: resource.PropertyMap{ + "tagsAll": resource.NewObjectProperty(resource.PropertyMap{ + "tag2": resource.NewStringProperty("tag2v"), + }), + }, + expect: resource.PropertyMap{ + "tags": resource.NewObjectProperty(resource.PropertyMap{ + "tag2": resource.NewStringProperty("tag2v"), + }), + }, + }, + { + name: "provider adds a tag to resource tags", + config: resource.PropertyMap{ + "tags": resource.NewObjectProperty(resource.PropertyMap{ + "tag1": resource.NewStringProperty("tag1v"), + }), + "tagsAll": resource.NewObjectProperty(resource.PropertyMap{ + "tag2": resource.NewStringProperty("tag2v"), + }), + }, + expect: resource.PropertyMap{ + "tags": resource.NewObjectProperty(resource.PropertyMap{ + "tag1": resource.NewStringProperty("tag1v"), + "tag2": resource.NewStringProperty("tag2v"), + }), + }, + }, + { + name: "provider cannot change a resource tag", + config: resource.PropertyMap{ + "tags": resource.NewObjectProperty(resource.PropertyMap{ + "tag1": resource.NewStringProperty("tag1v"), + }), + "tagsAll": resource.NewObjectProperty(resource.PropertyMap{ + "tag1": resource.NewStringProperty("tag2v"), + }), + }, + expect: resource.PropertyMap{ + "tags": resource.NewObjectProperty(resource.PropertyMap{ + "tag1": resource.NewStringProperty("tag1v"), + }), + }, + }, + { + name: "unknowns mark the entire computation unknown", + config: resource.PropertyMap{ + "tags": resource.NewObjectProperty(resource.PropertyMap{ + "tag1": resource.MakeComputed(resource.PropertyValue{}), + }), + }, + expect: resource.PropertyMap{ + "tags": resource.NewOutputProperty(resource.Output{Known: false}), + }, + }, + } + + for _, tc := range testCases { + t.Run(tc.name, func(t *testing.T) { + r, err := applyTagsOutputs(ctx, tc.config) + require.NoError(t, err) + // Expect tagsAll to be copied from tags. + tc.expect["tagsAll"] = tc.expect["tags"] + require.Equal(t, tc.expect, r) + }) + } +} + func TestAddingEmptyTagProducesChangeDiff(t *testing.T) { replayEvent := ` [ diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyContainerEnvResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyContainerEnvResult.cs new file mode 100644 index 00000000000..d1df58e0c43 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyContainerEnvResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionEksPropertyPodPropertyContainerEnvResult + { + /// + /// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + /// + public readonly string Name; + /// + /// The quantity of the specified resource to reserve for the container. + /// + public readonly string Value; + + [OutputConstructor] + private GetJobDefinitionEksPropertyPodPropertyContainerEnvResult( + string name, + + string value) + { + Name = name; + Value = value; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyContainerResourceResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyContainerResourceResult.cs new file mode 100644 index 00000000000..6d80565c519 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyContainerResourceResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionEksPropertyPodPropertyContainerResourceResult + { + /// + /// The type and quantity of the resources to reserve for the container. + /// + public readonly ImmutableDictionary Limits; + /// + /// The type and quantity of the resources to request for the container. + /// + public readonly ImmutableDictionary Requests; + + [OutputConstructor] + private GetJobDefinitionEksPropertyPodPropertyContainerResourceResult( + ImmutableDictionary limits, + + ImmutableDictionary requests) + { + Limits = limits; + Requests = requests; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyContainerResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyContainerResult.cs new file mode 100644 index 00000000000..5d5f95c59c4 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyContainerResult.cs @@ -0,0 +1,84 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionEksPropertyPodPropertyContainerResult + { + /// + /// An array of arguments to the entrypoint + /// + public readonly ImmutableArray Args; + /// + /// The command that's passed to the container. + /// + public readonly ImmutableArray Commands; + /// + /// The environment variables to pass to a container. Array of EksContainerEnvironmentVariable objects. + /// + public readonly ImmutableArray Envs; + /// + /// The image used to start a container. + /// + public readonly string Image; + /// + /// The image pull policy for the container. + /// + public readonly string ImagePullPolicy; + /// + /// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + /// + public readonly string Name; + /// + /// The type and amount of resources to assign to a container. + /// + public readonly ImmutableArray Resources; + /// + /// The security context for a job. + /// + public readonly ImmutableArray SecurityContexts; + /// + /// The volume mounts for the container. + /// + public readonly ImmutableArray VolumeMounts; + + [OutputConstructor] + private GetJobDefinitionEksPropertyPodPropertyContainerResult( + ImmutableArray args, + + ImmutableArray commands, + + ImmutableArray envs, + + string image, + + string imagePullPolicy, + + string name, + + ImmutableArray resources, + + ImmutableArray securityContexts, + + ImmutableArray volumeMounts) + { + Args = args; + Commands = commands; + Envs = envs; + Image = image; + ImagePullPolicy = imagePullPolicy; + Name = name; + Resources = resources; + SecurityContexts = securityContexts; + VolumeMounts = volumeMounts; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextResult.cs new file mode 100644 index 00000000000..1e148f12950 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextResult.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextResult + { + /// + /// When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). + /// + public readonly bool Privileged; + public readonly bool ReadOnlyRootFileSystem; + /// + /// When this parameter is specified, the container is run as the specified group ID (gid). If this parameter isn't specified, the default is the group that's specified in the image metadata. + /// + public readonly int RunAsGroup; + /// + /// When this parameter is specified, the container is run as a user with a uid other than 0. If this parameter isn't specified, so such rule is enforced. + /// + public readonly bool RunAsNonRoot; + /// + /// When this parameter is specified, the container is run as the specified user ID (uid). If this parameter isn't specified, the default is the user that's specified in the image metadata. + /// + public readonly int RunAsUser; + + [OutputConstructor] + private GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextResult( + bool privileged, + + bool readOnlyRootFileSystem, + + int runAsGroup, + + bool runAsNonRoot, + + int runAsUser) + { + Privileged = privileged; + ReadOnlyRootFileSystem = readOnlyRootFileSystem; + RunAsGroup = runAsGroup; + RunAsNonRoot = runAsNonRoot; + RunAsUser = runAsUser; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountResult.cs new file mode 100644 index 00000000000..ffa32599f29 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountResult + { + /// + /// The path on the container where the volume is mounted. + /// + public readonly string MountPath; + /// + /// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + /// + public readonly string Name; + /// + /// If this value is true, the container has read-only access to the volume. + /// + public readonly bool ReadOnly; + + [OutputConstructor] + private GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountResult( + string mountPath, + + string name, + + bool readOnly) + { + MountPath = mountPath; + Name = name; + ReadOnly = readOnly; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyMetadataResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyMetadataResult.cs new file mode 100644 index 00000000000..86ff7d39b67 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyMetadataResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionEksPropertyPodPropertyMetadataResult + { + /// + /// Key-value pairs used to identify, sort, and organize cube resources. + /// + public readonly ImmutableDictionary Labels; + + [OutputConstructor] + private GetJobDefinitionEksPropertyPodPropertyMetadataResult(ImmutableDictionary labels) + { + Labels = labels; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyResult.cs new file mode 100644 index 00000000000..5647bb74294 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyResult.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionEksPropertyPodPropertyResult + { + /// + /// The properties of the container that's used on the Amazon EKS pod. Array of EksContainer objects. + /// + public readonly ImmutableArray Containers; + /// + /// The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. + /// + public readonly string DnsPolicy; + /// + /// Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. + /// + public readonly bool HostNetwork; + /// + /// Metadata about the Kubernetes pod. + /// + public readonly ImmutableArray Metadatas; + /// + /// The name of the service account that's used to run the pod. + /// + public readonly bool ServiceAccountName; + /// + /// A list of data volumes used in a job. + /// + public readonly ImmutableArray Volumes; + + [OutputConstructor] + private GetJobDefinitionEksPropertyPodPropertyResult( + ImmutableArray containers, + + string dnsPolicy, + + bool hostNetwork, + + ImmutableArray metadatas, + + bool serviceAccountName, + + ImmutableArray volumes) + { + Containers = containers; + DnsPolicy = dnsPolicy; + HostNetwork = hostNetwork; + Metadatas = metadatas; + ServiceAccountName = serviceAccountName; + Volumes = volumes; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirResult.cs new file mode 100644 index 00000000000..891109b3d74 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirResult + { + /// + /// The medium to store the volume. + /// + public readonly string Medium; + /// + /// The maximum size of the volume. By default, there's no maximum size defined. + /// + public readonly string SizeLimit; + + [OutputConstructor] + private GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirResult( + string medium, + + string sizeLimit) + { + Medium = medium; + SizeLimit = sizeLimit; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyVolumeHostPathResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyVolumeHostPathResult.cs new file mode 100644 index 00000000000..cdd79363487 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyVolumeHostPathResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionEksPropertyPodPropertyVolumeHostPathResult + { + /// + /// The path of the file or directory on the host to mount into containers on the pod. + /// + public readonly string Path; + + [OutputConstructor] + private GetJobDefinitionEksPropertyPodPropertyVolumeHostPathResult(string path) + { + Path = path; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyVolumeResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyVolumeResult.cs new file mode 100644 index 00000000000..87c23c937a2 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyVolumeResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionEksPropertyPodPropertyVolumeResult + { + /// + /// Specifies the configuration of a Kubernetes emptyDir volume. + /// + public readonly ImmutableArray EmptyDirs; + /// + /// The path for the device on the host container instance. + /// + public readonly ImmutableArray HostPaths; + /// + /// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + /// + public readonly string Name; + /// + /// Specifies the configuration of a Kubernetes secret volume. + /// + public readonly ImmutableArray Secrets; + + [OutputConstructor] + private GetJobDefinitionEksPropertyPodPropertyVolumeResult( + ImmutableArray emptyDirs, + + ImmutableArray hostPaths, + + string name, + + ImmutableArray secrets) + { + EmptyDirs = emptyDirs; + HostPaths = hostPaths; + Name = name; + Secrets = secrets; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyVolumeSecretResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyVolumeSecretResult.cs new file mode 100644 index 00000000000..523c39ae66c --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyPodPropertyVolumeSecretResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionEksPropertyPodPropertyVolumeSecretResult + { + /// + /// Specifies whether the secret or the secret's keys must be defined. + /// + public readonly bool Optional; + /// + /// The name of the secret. The name must be allowed as a DNS subdomain name + /// + public readonly string SecretName; + + [OutputConstructor] + private GetJobDefinitionEksPropertyPodPropertyVolumeSecretResult( + bool optional, + + string secretName) + { + Optional = optional; + SecretName = secretName; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyResult.cs index 8f7260ebade..8d4290bd44b 100644 --- a/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyResult.cs +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionEksPropertyResult.cs @@ -16,10 +16,10 @@ public sealed class GetJobDefinitionEksPropertyResult /// /// The properties for the Kubernetes pod resources of a job. /// - public readonly ImmutableArray PodProperties; + public readonly ImmutableArray PodProperties; [OutputConstructor] - private GetJobDefinitionEksPropertyResult(ImmutableArray podProperties) + private GetJobDefinitionEksPropertyResult(ImmutableArray podProperties) { PodProperties = podProperties; } diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentResult.cs new file mode 100644 index 00000000000..b6f5c7ea37e --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentResult + { + /// + /// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + /// + public readonly string Name; + /// + /// The quantity of the specified resource to reserve for the container. + /// + public readonly string Value; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentResult( + string name, + + string value) + { + Name = name; + Value = value; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageResult.cs new file mode 100644 index 00000000000..7138c760854 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageResult.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageResult + { + public readonly int SizeInGib; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageResult(int sizeInGib) + { + SizeInGib = sizeInGib; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationResult.cs new file mode 100644 index 00000000000..518e4d8185b --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationResult + { + /// + /// The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. + /// + public readonly string PlatformVersion; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationResult(string platformVersion) + { + PlatformVersion = platformVersion; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceResult.cs new file mode 100644 index 00000000000..a06751373a6 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceResult + { + /// + /// The absolute file path in the container where the tmpfs volume is mounted. + /// + public readonly string ContainerPath; + /// + /// The path for the device on the host container instance. + /// + public readonly string HostPath; + /// + /// The explicit permissions to provide to the container for the device. + /// + public readonly ImmutableArray Permissions; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceResult( + string containerPath, + + string hostPath, + + ImmutableArray permissions) + { + ContainerPath = containerPath; + HostPath = hostPath; + Permissions = permissions; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterResult.cs new file mode 100644 index 00000000000..280b7a8660d --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterResult.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterResult + { + /// + /// Any of the host devices to expose to the container. + /// + public readonly ImmutableArray Devices; + /// + /// If true, run an init process inside the container that forwards signals and reaps processes. + /// + public readonly bool InitProcessEnabled; + /// + /// The total amount of swap memory (in MiB) a container can use. + /// + public readonly int MaxSwap; + /// + /// The value for the size (in MiB) of the `/dev/shm` volume. + /// + public readonly int SharedMemorySize; + /// + /// You can use this parameter to tune a container's memory swappiness behavior. + /// + public readonly int Swappiness; + /// + /// The container path, mount options, and size (in MiB) of the tmpfs mount. + /// + public readonly ImmutableArray Tmpfs; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterResult( + ImmutableArray devices, + + bool initProcessEnabled, + + int maxSwap, + + int sharedMemorySize, + + int swappiness, + + ImmutableArray tmpfs) + { + Devices = devices; + InitProcessEnabled = initProcessEnabled; + MaxSwap = maxSwap; + SharedMemorySize = sharedMemorySize; + Swappiness = swappiness; + Tmpfs = tmpfs; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfResult.cs new file mode 100644 index 00000000000..ad9e0164f69 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfResult + { + /// + /// The absolute file path in the container where the tmpfs volume is mounted. + /// + public readonly string ContainerPath; + /// + /// The list of tmpfs volume mount options. + /// + public readonly ImmutableArray MountOptions; + /// + /// The size (in MiB) of the tmpfs volume. + /// + public readonly int Size; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfResult( + string containerPath, + + ImmutableArray mountOptions, + + int size) + { + ContainerPath = containerPath; + MountOptions = mountOptions; + Size = size; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationResult.cs new file mode 100644 index 00000000000..f3568da45b7 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationResult + { + /// + /// The log driver to use for the container. + /// + public readonly string LogDriver; + /// + /// The configuration options to send to the log driver. + /// + public readonly ImmutableDictionary Options; + /// + /// The secrets to pass to the log configuration. + /// + public readonly ImmutableArray SecretOptions; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationResult( + string logDriver, + + ImmutableDictionary options, + + ImmutableArray secretOptions) + { + LogDriver = logDriver; + Options = options; + SecretOptions = secretOptions; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionResult.cs new file mode 100644 index 00000000000..5779b23c5f5 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionResult + { + /// + /// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + /// + public readonly string Name; + /// + /// The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + /// + public readonly string ValueFrom; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionResult( + string name, + + string valueFrom) + { + Name = name; + ValueFrom = valueFrom; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointResult.cs new file mode 100644 index 00000000000..d0335dbb8d4 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointResult + { + /// + /// The absolute file path in the container where the tmpfs volume is mounted. + /// + public readonly string ContainerPath; + /// + /// If this value is true, the container has read-only access to the volume. + /// + public readonly bool ReadOnly; + /// + /// The name of the volume to mount. + /// + public readonly string SourceVolume; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointResult( + string containerPath, + + bool readOnly, + + string sourceVolume) + { + ContainerPath = containerPath; + ReadOnly = readOnly; + SourceVolume = sourceVolume; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationResult.cs new file mode 100644 index 00000000000..0b4cc5beffe --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationResult + { + /// + /// Indicates whether the job has a public IP address. + /// + public readonly bool AssignPublicIp; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationResult(bool assignPublicIp) + { + AssignPublicIp = assignPublicIp; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementResult.cs new file mode 100644 index 00000000000..f78af73c614 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementResult + { + /// + /// The type of resource to assign to a container. The supported resources include `GPU`, `MEMORY`, and `VCPU`. + /// + public readonly string Type; + /// + /// The quantity of the specified resource to reserve for the container. + /// + public readonly string Value; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementResult( + string type, + + string value) + { + Type = type; + Value = value; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerResult.cs new file mode 100644 index 00000000000..2847a21c312 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerResult.cs @@ -0,0 +1,161 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerResult + { + /// + /// The command that's passed to the container. + /// + public readonly ImmutableArray Commands; + /// + /// The environment variables to pass to a container. + /// + public readonly ImmutableArray Environments; + /// + /// The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. + /// + public readonly ImmutableArray EphemeralStorages; + /// + /// The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. + /// + public readonly string ExecutionRoleArn; + /// + /// The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter. + /// + public readonly ImmutableArray FargatePlatformConfigurations; + /// + /// The image used to start a container. + /// + public readonly string Image; + /// + /// The instance type to use for a multi-node parallel job. + /// + public readonly string InstanceType; + /// + /// The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. + /// + public readonly string JobRoleArn; + /// + /// Linux-specific modifications that are applied to the container. + /// + public readonly ImmutableArray LinuxParameters; + /// + /// The log configuration specification for the container. + /// + public readonly ImmutableArray LogConfigurations; + /// + /// The mount points for data volumes in your container. + /// + public readonly ImmutableArray MountPoints; + /// + /// The network configuration for jobs that are running on Fargate resources. + /// + public readonly ImmutableArray NetworkConfigurations; + /// + /// When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). + /// + public readonly bool Privileged; + /// + /// When this parameter is true, the container is given read-only access to its root file system. + /// + public readonly bool ReadonlyRootFilesystem; + /// + /// The type and amount of resources to assign to a container. + /// + public readonly ImmutableArray ResourceRequirements; + /// + /// An object that represents the compute environment architecture for AWS Batch jobs on Fargate. + /// + public readonly ImmutableArray RuntimePlatforms; + /// + /// The secrets for the container. + /// + public readonly ImmutableArray Secrets; + /// + /// A list of ulimits to set in the container. + /// + public readonly ImmutableArray Ulimits; + /// + /// The user name to use inside the container. + /// + public readonly string User; + /// + /// A list of data volumes used in a job. + /// + public readonly ImmutableArray Volumes; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerResult( + ImmutableArray commands, + + ImmutableArray environments, + + ImmutableArray ephemeralStorages, + + string executionRoleArn, + + ImmutableArray fargatePlatformConfigurations, + + string image, + + string instanceType, + + string jobRoleArn, + + ImmutableArray linuxParameters, + + ImmutableArray logConfigurations, + + ImmutableArray mountPoints, + + ImmutableArray networkConfigurations, + + bool privileged, + + bool readonlyRootFilesystem, + + ImmutableArray resourceRequirements, + + ImmutableArray runtimePlatforms, + + ImmutableArray secrets, + + ImmutableArray ulimits, + + string user, + + ImmutableArray volumes) + { + Commands = commands; + Environments = environments; + EphemeralStorages = ephemeralStorages; + ExecutionRoleArn = executionRoleArn; + FargatePlatformConfigurations = fargatePlatformConfigurations; + Image = image; + InstanceType = instanceType; + JobRoleArn = jobRoleArn; + LinuxParameters = linuxParameters; + LogConfigurations = logConfigurations; + MountPoints = mountPoints; + NetworkConfigurations = networkConfigurations; + Privileged = privileged; + ReadonlyRootFilesystem = readonlyRootFilesystem; + ResourceRequirements = resourceRequirements; + RuntimePlatforms = runtimePlatforms; + Secrets = secrets; + Ulimits = ulimits; + User = user; + Volumes = volumes; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformResult.cs new file mode 100644 index 00000000000..19b09096415 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformResult + { + /// + /// The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64. + /// + public readonly string CpuArchitecture; + /// + /// The operating system for the compute environment. V + /// + public readonly string OperatingSystemFamily; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformResult( + string cpuArchitecture, + + string operatingSystemFamily) + { + CpuArchitecture = cpuArchitecture; + OperatingSystemFamily = operatingSystemFamily; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretResult.cs new file mode 100644 index 00000000000..ac8f8581fd1 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretResult + { + /// + /// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + /// + public readonly string Name; + /// + /// The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + /// + public readonly string ValueFrom; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretResult( + string name, + + string valueFrom) + { + Name = name; + ValueFrom = valueFrom; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitResult.cs new file mode 100644 index 00000000000..12f97c94e3b --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitResult + { + /// + /// The hard limit for the ulimit type. + /// + public readonly int HardLimit; + /// + /// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + /// + public readonly string Name; + /// + /// The soft limit for the ulimit type. + /// + public readonly int SoftLimit; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitResult( + int hardLimit, + + string name, + + int softLimit) + { + HardLimit = hardLimit; + Name = name; + SoftLimit = softLimit; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigResult.cs new file mode 100644 index 00000000000..da11e774e7d --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigResult + { + /// + /// The Amazon EFS access point ID to use. + /// + public readonly string AccessPointId; + /// + /// Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. + /// + public readonly string Iam; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigResult( + string accessPointId, + + string iam) + { + AccessPointId = accessPointId; + Iam = iam; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationResult.cs new file mode 100644 index 00000000000..c62aaea1ea8 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationResult + { + /// + /// The authorization configuration details for the Amazon EFS file system. + /// + public readonly ImmutableArray AuthorizationConfigs; + /// + /// The Amazon EFS file system ID to use. + /// + public readonly string FileSystemId; + /// + /// The directory within the Amazon EFS file system to mount as the root directory inside the host. + /// + public readonly string RootDirectory; + /// + /// Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server + /// + public readonly string TransitEncryption; + /// + /// The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. + /// + public readonly int TransitEncryptionPort; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationResult( + ImmutableArray authorizationConfigs, + + string fileSystemId, + + string rootDirectory, + + string transitEncryption, + + int transitEncryptionPort) + { + AuthorizationConfigs = authorizationConfigs; + FileSystemId = fileSystemId; + RootDirectory = rootDirectory; + TransitEncryption = transitEncryption; + TransitEncryptionPort = transitEncryptionPort; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostResult.cs new file mode 100644 index 00000000000..ed07bf7c708 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostResult + { + /// + /// The path on the host container instance that's presented to the container. + /// + public readonly string SourcePath; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostResult(string sourcePath) + { + SourcePath = sourcePath; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeResult.cs new file mode 100644 index 00000000000..394d16ed64a --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeResult + { + /// + /// This parameter is specified when you're using an Amazon Elastic File System file system for job storage. + /// + public readonly ImmutableArray EfsVolumeConfigurations; + /// + /// The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored. + /// + public readonly ImmutableArray Hosts; + /// + /// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + /// + public readonly string Name; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeResult( + ImmutableArray efsVolumeConfigurations, + + ImmutableArray hosts, + + string name) + { + EfsVolumeConfigurations = efsVolumeConfigurations; + Hosts = hosts; + Name = name; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyResult.cs new file mode 100644 index 00000000000..3957286a627 --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyNodeRangePropertyResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionNodePropertyNodeRangePropertyResult + { + /// + /// The container details for the node range. + /// + public readonly ImmutableArray Containers; + /// + /// The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. I + /// + public readonly string TargetNodes; + + [OutputConstructor] + private GetJobDefinitionNodePropertyNodeRangePropertyResult( + ImmutableArray containers, + + string targetNodes) + { + Containers = containers; + TargetNodes = targetNodes; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyResult.cs index b8179bd46f3..19df2bc999d 100644 --- a/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyResult.cs +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionNodePropertyResult.cs @@ -20,7 +20,7 @@ public sealed class GetJobDefinitionNodePropertyResult /// /// A list of node ranges and their properties that are associated with a multi-node parallel job. /// - public readonly ImmutableArray NodeRangeProperties; + public readonly ImmutableArray NodeRangeProperties; /// /// The number of nodes that are associated with a multi-node parallel job. /// @@ -30,7 +30,7 @@ public sealed class GetJobDefinitionNodePropertyResult private GetJobDefinitionNodePropertyResult( int mainNode, - ImmutableArray nodeRangeProperties, + ImmutableArray nodeRangeProperties, int numNodes) { diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionRetryStrategyEvaluateOnExitResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionRetryStrategyEvaluateOnExitResult.cs new file mode 100644 index 00000000000..8aa7103108d --- /dev/null +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionRetryStrategyEvaluateOnExitResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Batch.Outputs +{ + + [OutputType] + public sealed class GetJobDefinitionRetryStrategyEvaluateOnExitResult + { + /// + /// Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive. + /// + public readonly string Action; + /// + /// Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job. + /// + public readonly string OnExitCode; + /// + /// Contains a glob pattern to match against the Reason returned for a job. + /// + public readonly string OnReason; + /// + /// Contains a glob pattern to match against the StatusReason returned for a job. + /// + public readonly string OnStatusReason; + + [OutputConstructor] + private GetJobDefinitionRetryStrategyEvaluateOnExitResult( + string action, + + string onExitCode, + + string onReason, + + string onStatusReason) + { + Action = action; + OnExitCode = onExitCode; + OnReason = onReason; + OnStatusReason = onStatusReason; + } + } +} diff --git a/sdk/dotnet/Batch/Outputs/GetJobDefinitionRetryStrategyResult.cs b/sdk/dotnet/Batch/Outputs/GetJobDefinitionRetryStrategyResult.cs index 5bec8f45788..1210f2365a4 100644 --- a/sdk/dotnet/Batch/Outputs/GetJobDefinitionRetryStrategyResult.cs +++ b/sdk/dotnet/Batch/Outputs/GetJobDefinitionRetryStrategyResult.cs @@ -20,13 +20,13 @@ public sealed class GetJobDefinitionRetryStrategyResult /// /// Array of up to 5 objects that specify the conditions where jobs are retried or failed. /// - public readonly ImmutableArray EvaluateOnExits; + public readonly ImmutableArray EvaluateOnExits; [OutputConstructor] private GetJobDefinitionRetryStrategyResult( int attempts, - ImmutableArray evaluateOnExits) + ImmutableArray evaluateOnExits) { Attempts = attempts; EvaluateOnExits = evaluateOnExits; diff --git a/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationArgs.cs b/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationArgs.cs index 7d969911009..e5014f58f42 100644 --- a/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationArgs.cs +++ b/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationArgs.cs @@ -19,14 +19,14 @@ public sealed class AgentAgentPromptOverrideConfigurationArgs : global::Pulumi.R public Input OverrideLambda { get; set; } = null!; [Input("promptConfigurations", required: true)] - private InputList? _promptConfigurations; + private InputList? _promptConfigurations; /// /// Configurations to override a prompt template in one part of an agent sequence. See `prompt_configurations` block for details. /// - public InputList PromptConfigurations + public InputList PromptConfigurations { - get => _promptConfigurations ?? (_promptConfigurations = new InputList()); + get => _promptConfigurations ?? (_promptConfigurations = new InputList()); set => _promptConfigurations = value; } diff --git a/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationGetArgs.cs b/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationGetArgs.cs index 30e47e8f9aa..b227fcf179c 100644 --- a/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationGetArgs.cs +++ b/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationGetArgs.cs @@ -19,14 +19,14 @@ public sealed class AgentAgentPromptOverrideConfigurationGetArgs : global::Pulum public Input OverrideLambda { get; set; } = null!; [Input("promptConfigurations", required: true)] - private InputList? _promptConfigurations; + private InputList? _promptConfigurations; /// /// Configurations to override a prompt template in one part of an agent sequence. See `prompt_configurations` block for details. /// - public InputList PromptConfigurations + public InputList PromptConfigurations { - get => _promptConfigurations ?? (_promptConfigurations = new InputList()); + get => _promptConfigurations ?? (_promptConfigurations = new InputList()); set => _promptConfigurations = value; } diff --git a/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationArgs.cs b/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationArgs.cs new file mode 100644 index 00000000000..ef837a25124 --- /dev/null +++ b/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationArgs.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Bedrock.Inputs +{ + + public sealed class AgentAgentPromptOverrideConfigurationPromptConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + /// + [Input("basePromptTemplate", required: true)] + public Input BasePromptTemplate { get; set; } = null!; + + [Input("inferenceConfigurations", required: true)] + private InputList? _inferenceConfigurations; + + /// + /// Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `prompt_type`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inference_configuration` block for details. + /// + public InputList InferenceConfigurations + { + get => _inferenceConfigurations ?? (_inferenceConfigurations = new InputList()); + set => _inferenceConfigurations = value; + } + + /// + /// Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `prompt_type`. If you set the argument as `OVERRIDDEN`, the `override_lambda` argument in the `prompt_override_configuration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + /// + [Input("parserMode", required: true)] + public Input ParserMode { get; set; } = null!; + + /// + /// Whether to override the default prompt template for this `prompt_type`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `base_prompt_template`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + /// + [Input("promptCreationMode", required: true)] + public Input PromptCreationMode { get; set; } = null!; + + /// + /// Whether to allow the agent to carry out the step specified in the `prompt_type`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + /// + [Input("promptState", required: true)] + public Input PromptState { get; set; } = null!; + + /// + /// Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + /// + [Input("promptType", required: true)] + public Input PromptType { get; set; } = null!; + + public AgentAgentPromptOverrideConfigurationPromptConfigurationArgs() + { + } + public static new AgentAgentPromptOverrideConfigurationPromptConfigurationArgs Empty => new AgentAgentPromptOverrideConfigurationPromptConfigurationArgs(); + } +} diff --git a/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationGetArgs.cs b/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationGetArgs.cs new file mode 100644 index 00000000000..1ad6e59b097 --- /dev/null +++ b/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationGetArgs.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Bedrock.Inputs +{ + + public sealed class AgentAgentPromptOverrideConfigurationPromptConfigurationGetArgs : global::Pulumi.ResourceArgs + { + /// + /// prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + /// + [Input("basePromptTemplate", required: true)] + public Input BasePromptTemplate { get; set; } = null!; + + [Input("inferenceConfigurations", required: true)] + private InputList? _inferenceConfigurations; + + /// + /// Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `prompt_type`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inference_configuration` block for details. + /// + public InputList InferenceConfigurations + { + get => _inferenceConfigurations ?? (_inferenceConfigurations = new InputList()); + set => _inferenceConfigurations = value; + } + + /// + /// Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `prompt_type`. If you set the argument as `OVERRIDDEN`, the `override_lambda` argument in the `prompt_override_configuration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + /// + [Input("parserMode", required: true)] + public Input ParserMode { get; set; } = null!; + + /// + /// Whether to override the default prompt template for this `prompt_type`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `base_prompt_template`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + /// + [Input("promptCreationMode", required: true)] + public Input PromptCreationMode { get; set; } = null!; + + /// + /// Whether to allow the agent to carry out the step specified in the `prompt_type`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + /// + [Input("promptState", required: true)] + public Input PromptState { get; set; } = null!; + + /// + /// Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + /// + [Input("promptType", required: true)] + public Input PromptType { get; set; } = null!; + + public AgentAgentPromptOverrideConfigurationPromptConfigurationGetArgs() + { + } + public static new AgentAgentPromptOverrideConfigurationPromptConfigurationGetArgs Empty => new AgentAgentPromptOverrideConfigurationPromptConfigurationGetArgs(); + } +} diff --git a/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.cs b/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.cs new file mode 100644 index 00000000000..734552ed7e8 --- /dev/null +++ b/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Bedrock.Inputs +{ + + public sealed class AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// Maximum number of tokens to allow in the generated response. + /// + [Input("maxLength", required: true)] + public Input MaxLength { get; set; } = null!; + + [Input("stopSequences", required: true)] + private InputList? _stopSequences; + + /// + /// List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + /// + public InputList StopSequences + { + get => _stopSequences ?? (_stopSequences = new InputList()); + set => _stopSequences = value; + } + + /// + /// Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + /// + [Input("temperature", required: true)] + public Input Temperature { get; set; } = null!; + + /// + /// Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + /// + [Input("topK", required: true)] + public Input TopK { get; set; } = null!; + + /// + /// Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + /// + [Input("topP", required: true)] + public Input TopP { get; set; } = null!; + + public AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs() + { + } + public static new AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs Empty => new AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs(); + } +} diff --git a/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationGetArgs.cs b/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationGetArgs.cs new file mode 100644 index 00000000000..cad9e4c9c0c --- /dev/null +++ b/sdk/dotnet/Bedrock/Inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationGetArgs.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Bedrock.Inputs +{ + + public sealed class AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Maximum number of tokens to allow in the generated response. + /// + [Input("maxLength", required: true)] + public Input MaxLength { get; set; } = null!; + + [Input("stopSequences", required: true)] + private InputList? _stopSequences; + + /// + /// List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + /// + public InputList StopSequences + { + get => _stopSequences ?? (_stopSequences = new InputList()); + set => _stopSequences = value; + } + + /// + /// Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + /// + [Input("temperature", required: true)] + public Input Temperature { get; set; } = null!; + + /// + /// Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + /// + [Input("topK", required: true)] + public Input TopK { get; set; } = null!; + + /// + /// Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + /// + [Input("topP", required: true)] + public Input TopP { get; set; } = null!; + + public AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationGetArgs() + { + } + public static new AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationGetArgs Empty => new AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationGetArgs(); + } +} diff --git a/sdk/dotnet/Bedrock/Outputs/AgentAgentPromptOverrideConfiguration.cs b/sdk/dotnet/Bedrock/Outputs/AgentAgentPromptOverrideConfiguration.cs index 5824d476fc0..5b66f2bf640 100644 --- a/sdk/dotnet/Bedrock/Outputs/AgentAgentPromptOverrideConfiguration.cs +++ b/sdk/dotnet/Bedrock/Outputs/AgentAgentPromptOverrideConfiguration.cs @@ -20,13 +20,13 @@ public sealed class AgentAgentPromptOverrideConfiguration /// /// Configurations to override a prompt template in one part of an agent sequence. See `prompt_configurations` block for details. /// - public readonly ImmutableArray PromptConfigurations; + public readonly ImmutableArray PromptConfigurations; [OutputConstructor] private AgentAgentPromptOverrideConfiguration( string overrideLambda, - ImmutableArray promptConfigurations) + ImmutableArray promptConfigurations) { OverrideLambda = overrideLambda; PromptConfigurations = promptConfigurations; diff --git a/sdk/dotnet/Bedrock/Outputs/AgentAgentPromptOverrideConfigurationPromptConfiguration.cs b/sdk/dotnet/Bedrock/Outputs/AgentAgentPromptOverrideConfigurationPromptConfiguration.cs new file mode 100644 index 00000000000..0699b64529b --- /dev/null +++ b/sdk/dotnet/Bedrock/Outputs/AgentAgentPromptOverrideConfigurationPromptConfiguration.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Bedrock.Outputs +{ + + [OutputType] + public sealed class AgentAgentPromptOverrideConfigurationPromptConfiguration + { + /// + /// prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + /// + public readonly string BasePromptTemplate; + /// + /// Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `prompt_type`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inference_configuration` block for details. + /// + public readonly ImmutableArray InferenceConfigurations; + /// + /// Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `prompt_type`. If you set the argument as `OVERRIDDEN`, the `override_lambda` argument in the `prompt_override_configuration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + /// + public readonly string ParserMode; + /// + /// Whether to override the default prompt template for this `prompt_type`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `base_prompt_template`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + /// + public readonly string PromptCreationMode; + /// + /// Whether to allow the agent to carry out the step specified in the `prompt_type`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + /// + public readonly string PromptState; + /// + /// Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + /// + public readonly string PromptType; + + [OutputConstructor] + private AgentAgentPromptOverrideConfigurationPromptConfiguration( + string basePromptTemplate, + + ImmutableArray inferenceConfigurations, + + string parserMode, + + string promptCreationMode, + + string promptState, + + string promptType) + { + BasePromptTemplate = basePromptTemplate; + InferenceConfigurations = inferenceConfigurations; + ParserMode = parserMode; + PromptCreationMode = promptCreationMode; + PromptState = promptState; + PromptType = promptType; + } + } +} diff --git a/sdk/dotnet/Bedrock/Outputs/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration.cs b/sdk/dotnet/Bedrock/Outputs/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration.cs new file mode 100644 index 00000000000..bed6b3dff87 --- /dev/null +++ b/sdk/dotnet/Bedrock/Outputs/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Bedrock.Outputs +{ + + [OutputType] + public sealed class AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration + { + /// + /// Maximum number of tokens to allow in the generated response. + /// + public readonly int MaxLength; + /// + /// List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + /// + public readonly ImmutableArray StopSequences; + /// + /// Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + /// + public readonly double Temperature; + /// + /// Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + /// + public readonly int TopK; + /// + /// Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + /// + public readonly double TopP; + + [OutputConstructor] + private AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration( + int maxLength, + + ImmutableArray stopSequences, + + double temperature, + + int topK, + + double topP) + { + MaxLength = maxLength; + StopSequences = stopSequences; + Temperature = temperature; + TopK = topK; + TopP = topP; + } + } +} diff --git a/sdk/dotnet/Bedrock/Outputs/GetCustomModelValidationDataConfigResult.cs b/sdk/dotnet/Bedrock/Outputs/GetCustomModelValidationDataConfigResult.cs index 49a44b57e81..23a738c1e0b 100644 --- a/sdk/dotnet/Bedrock/Outputs/GetCustomModelValidationDataConfigResult.cs +++ b/sdk/dotnet/Bedrock/Outputs/GetCustomModelValidationDataConfigResult.cs @@ -16,10 +16,10 @@ public sealed class GetCustomModelValidationDataConfigResult /// /// Information about the validators. /// - public readonly ImmutableArray Validators; + public readonly ImmutableArray Validators; [OutputConstructor] - private GetCustomModelValidationDataConfigResult(ImmutableArray validators) + private GetCustomModelValidationDataConfigResult(ImmutableArray validators) { Validators = validators; } diff --git a/sdk/dotnet/Bedrock/Outputs/GetCustomModelValidationDataConfigValidatorResult.cs b/sdk/dotnet/Bedrock/Outputs/GetCustomModelValidationDataConfigValidatorResult.cs new file mode 100644 index 00000000000..89adf9a0b93 --- /dev/null +++ b/sdk/dotnet/Bedrock/Outputs/GetCustomModelValidationDataConfigValidatorResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Bedrock.Outputs +{ + + [OutputType] + public sealed class GetCustomModelValidationDataConfigValidatorResult + { + /// + /// The S3 URI where the validation data is stored.. + /// + public readonly string S3Uri; + + [OutputConstructor] + private GetCustomModelValidationDataConfigValidatorResult(string s3Uri) + { + S3Uri = s3Uri; + } + } +} diff --git a/sdk/dotnet/BedrockFoundation/Outputs/GetModelsModelSummaryResult.cs b/sdk/dotnet/BedrockFoundation/Outputs/GetModelsModelSummaryResult.cs index 6fc28871c84..0ef601ec9a5 100644 --- a/sdk/dotnet/BedrockFoundation/Outputs/GetModelsModelSummaryResult.cs +++ b/sdk/dotnet/BedrockFoundation/Outputs/GetModelsModelSummaryResult.cs @@ -16,15 +16,15 @@ public sealed class GetModelsModelSummaryResult /// /// Customizations that the model supports. /// - public readonly ImmutableArray CustomizationsSupporteds; + public readonly ImmutableArray CustomizationsSupporteds; /// /// Inference types that the model supports. /// - public readonly ImmutableArray InferenceTypesSupporteds; + public readonly ImmutableArray InferenceTypesSupporteds; /// /// Input modalities that the model supports. /// - public readonly ImmutableArray InputModalities; + public readonly ImmutableArray InputModalities; /// /// Model ARN. /// @@ -40,7 +40,7 @@ public sealed class GetModelsModelSummaryResult /// /// Output modalities that the model supports. /// - public readonly ImmutableArray OutputModalities; + public readonly ImmutableArray OutputModalities; /// /// Model provider name. /// @@ -52,11 +52,11 @@ public sealed class GetModelsModelSummaryResult [OutputConstructor] private GetModelsModelSummaryResult( - ImmutableArray customizationsSupporteds, + ImmutableArray customizationsSupporteds, - ImmutableArray inferenceTypesSupporteds, + ImmutableArray inferenceTypesSupporteds, - ImmutableArray inputModalities, + ImmutableArray inputModalities, string modelArn, @@ -64,7 +64,7 @@ private GetModelsModelSummaryResult( string modelName, - ImmutableArray outputModalities, + ImmutableArray outputModalities, string providerName, diff --git a/sdk/dotnet/CodeGuruProfiler/Outputs/GetProfilingGroupProfilingStatusLatestAggregatedProfileResult.cs b/sdk/dotnet/CodeGuruProfiler/Outputs/GetProfilingGroupProfilingStatusLatestAggregatedProfileResult.cs new file mode 100644 index 00000000000..dfed55e322d --- /dev/null +++ b/sdk/dotnet/CodeGuruProfiler/Outputs/GetProfilingGroupProfilingStatusLatestAggregatedProfileResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.CodeGuruProfiler.Outputs +{ + + [OutputType] + public sealed class GetProfilingGroupProfilingStatusLatestAggregatedProfileResult + { + public readonly string Period; + public readonly string Start; + + [OutputConstructor] + private GetProfilingGroupProfilingStatusLatestAggregatedProfileResult( + string period, + + string start) + { + Period = period; + Start = start; + } + } +} diff --git a/sdk/dotnet/CodeGuruProfiler/Outputs/GetProfilingGroupProfilingStatusResult.cs b/sdk/dotnet/CodeGuruProfiler/Outputs/GetProfilingGroupProfilingStatusResult.cs index 3d3d673d411..1614aac8116 100644 --- a/sdk/dotnet/CodeGuruProfiler/Outputs/GetProfilingGroupProfilingStatusResult.cs +++ b/sdk/dotnet/CodeGuruProfiler/Outputs/GetProfilingGroupProfilingStatusResult.cs @@ -15,7 +15,7 @@ public sealed class GetProfilingGroupProfilingStatusResult { public readonly string LatestAgentOrchestratedAt; public readonly string LatestAgentProfileReportedAt; - public readonly ImmutableArray LatestAggregatedProfiles; + public readonly ImmutableArray LatestAggregatedProfiles; [OutputConstructor] private GetProfilingGroupProfilingStatusResult( @@ -23,7 +23,7 @@ private GetProfilingGroupProfilingStatusResult( string latestAgentProfileReportedAt, - ImmutableArray latestAggregatedProfiles) + ImmutableArray latestAggregatedProfiles) { LatestAgentOrchestratedAt = latestAgentOrchestratedAt; LatestAgentProfileReportedAt = latestAgentProfileReportedAt; diff --git a/sdk/dotnet/GuardDuty/Inputs/MalwareProtectionPlanActionArgs.cs b/sdk/dotnet/GuardDuty/Inputs/MalwareProtectionPlanActionArgs.cs index aed37e888f6..ae5c7d0a2e8 100644 --- a/sdk/dotnet/GuardDuty/Inputs/MalwareProtectionPlanActionArgs.cs +++ b/sdk/dotnet/GuardDuty/Inputs/MalwareProtectionPlanActionArgs.cs @@ -13,14 +13,14 @@ namespace Pulumi.Aws.GuardDuty.Inputs public sealed class MalwareProtectionPlanActionArgs : global::Pulumi.ResourceArgs { [Input("taggings", required: true)] - private InputList? _taggings; + private InputList? _taggings; /// /// Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. /// - public InputList Taggings + public InputList Taggings { - get => _taggings ?? (_taggings = new InputList()); + get => _taggings ?? (_taggings = new InputList()); set => _taggings = value; } diff --git a/sdk/dotnet/GuardDuty/Inputs/MalwareProtectionPlanActionGetArgs.cs b/sdk/dotnet/GuardDuty/Inputs/MalwareProtectionPlanActionGetArgs.cs index 1fe55fd8e20..d9bb7c31e3c 100644 --- a/sdk/dotnet/GuardDuty/Inputs/MalwareProtectionPlanActionGetArgs.cs +++ b/sdk/dotnet/GuardDuty/Inputs/MalwareProtectionPlanActionGetArgs.cs @@ -13,14 +13,14 @@ namespace Pulumi.Aws.GuardDuty.Inputs public sealed class MalwareProtectionPlanActionGetArgs : global::Pulumi.ResourceArgs { [Input("taggings", required: true)] - private InputList? _taggings; + private InputList? _taggings; /// /// Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. /// - public InputList Taggings + public InputList Taggings { - get => _taggings ?? (_taggings = new InputList()); + get => _taggings ?? (_taggings = new InputList()); set => _taggings = value; } diff --git a/sdk/dotnet/GuardDuty/Inputs/MalwareProtectionPlanActionTaggingArgs.cs b/sdk/dotnet/GuardDuty/Inputs/MalwareProtectionPlanActionTaggingArgs.cs new file mode 100644 index 00000000000..a8552dece27 --- /dev/null +++ b/sdk/dotnet/GuardDuty/Inputs/MalwareProtectionPlanActionTaggingArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.GuardDuty.Inputs +{ + + public sealed class MalwareProtectionPlanActionTaggingArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + /// + [Input("status", required: true)] + public Input Status { get; set; } = null!; + + public MalwareProtectionPlanActionTaggingArgs() + { + } + public static new MalwareProtectionPlanActionTaggingArgs Empty => new MalwareProtectionPlanActionTaggingArgs(); + } +} diff --git a/sdk/dotnet/GuardDuty/Inputs/MalwareProtectionPlanActionTaggingGetArgs.cs b/sdk/dotnet/GuardDuty/Inputs/MalwareProtectionPlanActionTaggingGetArgs.cs new file mode 100644 index 00000000000..de30689180c --- /dev/null +++ b/sdk/dotnet/GuardDuty/Inputs/MalwareProtectionPlanActionTaggingGetArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.GuardDuty.Inputs +{ + + public sealed class MalwareProtectionPlanActionTaggingGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + /// + [Input("status", required: true)] + public Input Status { get; set; } = null!; + + public MalwareProtectionPlanActionTaggingGetArgs() + { + } + public static new MalwareProtectionPlanActionTaggingGetArgs Empty => new MalwareProtectionPlanActionTaggingGetArgs(); + } +} diff --git a/sdk/dotnet/GuardDuty/Outputs/MalwareProtectionPlanAction.cs b/sdk/dotnet/GuardDuty/Outputs/MalwareProtectionPlanAction.cs index 60683513b5e..fef4e133211 100644 --- a/sdk/dotnet/GuardDuty/Outputs/MalwareProtectionPlanAction.cs +++ b/sdk/dotnet/GuardDuty/Outputs/MalwareProtectionPlanAction.cs @@ -16,10 +16,10 @@ public sealed class MalwareProtectionPlanAction /// /// Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. /// - public readonly ImmutableArray Taggings; + public readonly ImmutableArray Taggings; [OutputConstructor] - private MalwareProtectionPlanAction(ImmutableArray taggings) + private MalwareProtectionPlanAction(ImmutableArray taggings) { Taggings = taggings; } diff --git a/sdk/dotnet/GuardDuty/Outputs/MalwareProtectionPlanActionTagging.cs b/sdk/dotnet/GuardDuty/Outputs/MalwareProtectionPlanActionTagging.cs new file mode 100644 index 00000000000..d3288a9eb5e --- /dev/null +++ b/sdk/dotnet/GuardDuty/Outputs/MalwareProtectionPlanActionTagging.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.GuardDuty.Outputs +{ + + [OutputType] + public sealed class MalwareProtectionPlanActionTagging + { + /// + /// Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + /// + public readonly string Status; + + [OutputConstructor] + private MalwareProtectionPlanActionTagging(string status) + { + Status = status; + } + } +} diff --git a/sdk/dotnet/IdentityStore/Outputs/GetGroupsGroupExternalIdResult.cs b/sdk/dotnet/IdentityStore/Outputs/GetGroupsGroupExternalIdResult.cs new file mode 100644 index 00000000000..7b00e4a849e --- /dev/null +++ b/sdk/dotnet/IdentityStore/Outputs/GetGroupsGroupExternalIdResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.IdentityStore.Outputs +{ + + [OutputType] + public sealed class GetGroupsGroupExternalIdResult + { + /// + /// Identifier issued to this resource by an external identity provider. + /// + public readonly string Id; + /// + /// Issuer for an external identifier. + /// + public readonly string Issuer; + + [OutputConstructor] + private GetGroupsGroupExternalIdResult( + string id, + + string issuer) + { + Id = id; + Issuer = issuer; + } + } +} diff --git a/sdk/dotnet/IdentityStore/Outputs/GetGroupsGroupResult.cs b/sdk/dotnet/IdentityStore/Outputs/GetGroupsGroupResult.cs index 202b6232cf6..3a884274a8c 100644 --- a/sdk/dotnet/IdentityStore/Outputs/GetGroupsGroupResult.cs +++ b/sdk/dotnet/IdentityStore/Outputs/GetGroupsGroupResult.cs @@ -24,7 +24,7 @@ public sealed class GetGroupsGroupResult /// /// List of identifiers issued to this resource by an external identity provider. /// - public readonly ImmutableArray ExternalIds; + public readonly ImmutableArray ExternalIds; /// /// Identifier of the group in the Identity Store. /// @@ -40,7 +40,7 @@ private GetGroupsGroupResult( string displayName, - ImmutableArray externalIds, + ImmutableArray externalIds, string groupId, diff --git a/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeCompositeSlotTypeSettingArgs.cs b/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeCompositeSlotTypeSettingArgs.cs index f088f20c678..6f462e665a7 100644 --- a/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeCompositeSlotTypeSettingArgs.cs +++ b/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeCompositeSlotTypeSettingArgs.cs @@ -13,14 +13,14 @@ namespace Pulumi.Aws.Lex.Inputs public sealed class V2modelsSlotTypeCompositeSlotTypeSettingArgs : global::Pulumi.ResourceArgs { [Input("subSlots", required: true)] - private InputList? _subSlots; + private InputList? _subSlots; /// /// Subslots in the composite slot. Contains filtered or unexported fields. See [`sub_slot_type_composition` argument reference] below. /// - public InputList SubSlots + public InputList SubSlots { - get => _subSlots ?? (_subSlots = new InputList()); + get => _subSlots ?? (_subSlots = new InputList()); set => _subSlots = value; } diff --git a/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeCompositeSlotTypeSettingGetArgs.cs b/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeCompositeSlotTypeSettingGetArgs.cs index 9b22c5b96dd..5a66178b8f0 100644 --- a/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeCompositeSlotTypeSettingGetArgs.cs +++ b/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeCompositeSlotTypeSettingGetArgs.cs @@ -13,14 +13,14 @@ namespace Pulumi.Aws.Lex.Inputs public sealed class V2modelsSlotTypeCompositeSlotTypeSettingGetArgs : global::Pulumi.ResourceArgs { [Input("subSlots", required: true)] - private InputList? _subSlots; + private InputList? _subSlots; /// /// Subslots in the composite slot. Contains filtered or unexported fields. See [`sub_slot_type_composition` argument reference] below. /// - public InputList SubSlots + public InputList SubSlots { - get => _subSlots ?? (_subSlots = new InputList()); + get => _subSlots ?? (_subSlots = new InputList()); set => _subSlots = value; } diff --git a/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs.cs b/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs.cs new file mode 100644 index 00000000000..0a488e2e6a8 --- /dev/null +++ b/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Lex.Inputs +{ + + public sealed class V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the slot type + /// + /// The following arguments are optional: + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + [Input("subSlotId", required: true)] + public Input SubSlotId { get; set; } = null!; + + public V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs() + { + } + public static new V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs Empty => new V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs(); + } +} diff --git a/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeCompositeSlotTypeSettingSubSlotGetArgs.cs b/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeCompositeSlotTypeSettingSubSlotGetArgs.cs new file mode 100644 index 00000000000..6383fb2b701 --- /dev/null +++ b/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeCompositeSlotTypeSettingSubSlotGetArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Lex.Inputs +{ + + public sealed class V2modelsSlotTypeCompositeSlotTypeSettingSubSlotGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Name of the slot type + /// + /// The following arguments are optional: + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + [Input("subSlotId", required: true)] + public Input SubSlotId { get; set; } = null!; + + public V2modelsSlotTypeCompositeSlotTypeSettingSubSlotGetArgs() + { + } + public static new V2modelsSlotTypeCompositeSlotTypeSettingSubSlotGetArgs Empty => new V2modelsSlotTypeCompositeSlotTypeSettingSubSlotGetArgs(); + } +} diff --git a/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeSlotTypeValuesArgs.cs b/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeSlotTypeValuesArgs.cs index 36feeeda01d..ec7a3bc00a1 100644 --- a/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeSlotTypeValuesArgs.cs +++ b/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeSlotTypeValuesArgs.cs @@ -13,14 +13,14 @@ namespace Pulumi.Aws.Lex.Inputs public sealed class V2modelsSlotTypeSlotTypeValuesArgs : global::Pulumi.ResourceArgs { [Input("slotTypeValues", required: true)] - private InputList? _slotTypeValues; + private InputList? _slotTypeValues; /// /// List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slot_type_values` argument reference below. /// - public InputList SlotTypeValues + public InputList SlotTypeValues { - get => _slotTypeValues ?? (_slotTypeValues = new InputList()); + get => _slotTypeValues ?? (_slotTypeValues = new InputList()); set => _slotTypeValues = value; } diff --git a/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeSlotTypeValuesGetArgs.cs b/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeSlotTypeValuesGetArgs.cs index c06a9ace484..6d5b529fca1 100644 --- a/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeSlotTypeValuesGetArgs.cs +++ b/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeSlotTypeValuesGetArgs.cs @@ -13,14 +13,14 @@ namespace Pulumi.Aws.Lex.Inputs public sealed class V2modelsSlotTypeSlotTypeValuesGetArgs : global::Pulumi.ResourceArgs { [Input("slotTypeValues", required: true)] - private InputList? _slotTypeValues; + private InputList? _slotTypeValues; /// /// List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slot_type_values` argument reference below. /// - public InputList SlotTypeValues + public InputList SlotTypeValues { - get => _slotTypeValues ?? (_slotTypeValues = new InputList()); + get => _slotTypeValues ?? (_slotTypeValues = new InputList()); set => _slotTypeValues = value; } diff --git a/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs.cs b/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs.cs new file mode 100644 index 00000000000..c230a720acc --- /dev/null +++ b/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Lex.Inputs +{ + + public sealed class V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs : global::Pulumi.ResourceArgs + { + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs() + { + } + public static new V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs Empty => new V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs(); + } +} diff --git a/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeSlotTypeValuesSlotTypeValueGetArgs.cs b/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeSlotTypeValuesSlotTypeValueGetArgs.cs new file mode 100644 index 00000000000..538bccd179f --- /dev/null +++ b/sdk/dotnet/Lex/Inputs/V2modelsSlotTypeSlotTypeValuesSlotTypeValueGetArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Lex.Inputs +{ + + public sealed class V2modelsSlotTypeSlotTypeValuesSlotTypeValueGetArgs : global::Pulumi.ResourceArgs + { + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public V2modelsSlotTypeSlotTypeValuesSlotTypeValueGetArgs() + { + } + public static new V2modelsSlotTypeSlotTypeValuesSlotTypeValueGetArgs Empty => new V2modelsSlotTypeSlotTypeValuesSlotTypeValueGetArgs(); + } +} diff --git a/sdk/dotnet/Lex/Outputs/V2modelsSlotTypeCompositeSlotTypeSetting.cs b/sdk/dotnet/Lex/Outputs/V2modelsSlotTypeCompositeSlotTypeSetting.cs index 0df2edf777e..3599bb5bbbd 100644 --- a/sdk/dotnet/Lex/Outputs/V2modelsSlotTypeCompositeSlotTypeSetting.cs +++ b/sdk/dotnet/Lex/Outputs/V2modelsSlotTypeCompositeSlotTypeSetting.cs @@ -16,10 +16,10 @@ public sealed class V2modelsSlotTypeCompositeSlotTypeSetting /// /// Subslots in the composite slot. Contains filtered or unexported fields. See [`sub_slot_type_composition` argument reference] below. /// - public readonly ImmutableArray SubSlots; + public readonly ImmutableArray SubSlots; [OutputConstructor] - private V2modelsSlotTypeCompositeSlotTypeSetting(ImmutableArray subSlots) + private V2modelsSlotTypeCompositeSlotTypeSetting(ImmutableArray subSlots) { SubSlots = subSlots; } diff --git a/sdk/dotnet/Lex/Outputs/V2modelsSlotTypeCompositeSlotTypeSettingSubSlot.cs b/sdk/dotnet/Lex/Outputs/V2modelsSlotTypeCompositeSlotTypeSettingSubSlot.cs new file mode 100644 index 00000000000..7e490beb26f --- /dev/null +++ b/sdk/dotnet/Lex/Outputs/V2modelsSlotTypeCompositeSlotTypeSettingSubSlot.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Lex.Outputs +{ + + [OutputType] + public sealed class V2modelsSlotTypeCompositeSlotTypeSettingSubSlot + { + /// + /// Name of the slot type + /// + /// The following arguments are optional: + /// + public readonly string Name; + public readonly string SubSlotId; + + [OutputConstructor] + private V2modelsSlotTypeCompositeSlotTypeSettingSubSlot( + string name, + + string subSlotId) + { + Name = name; + SubSlotId = subSlotId; + } + } +} diff --git a/sdk/dotnet/Lex/Outputs/V2modelsSlotTypeSlotTypeValues.cs b/sdk/dotnet/Lex/Outputs/V2modelsSlotTypeSlotTypeValues.cs index fa20b28ecc9..db1045d84d2 100644 --- a/sdk/dotnet/Lex/Outputs/V2modelsSlotTypeSlotTypeValues.cs +++ b/sdk/dotnet/Lex/Outputs/V2modelsSlotTypeSlotTypeValues.cs @@ -16,7 +16,7 @@ public sealed class V2modelsSlotTypeSlotTypeValues /// /// List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slot_type_values` argument reference below. /// - public readonly ImmutableArray SlotTypeValues; + public readonly ImmutableArray SlotTypeValues; /// /// Additional values related to the slot type entry. See `sample_value` argument reference below. /// @@ -24,7 +24,7 @@ public sealed class V2modelsSlotTypeSlotTypeValues [OutputConstructor] private V2modelsSlotTypeSlotTypeValues( - ImmutableArray slotTypeValues, + ImmutableArray slotTypeValues, ImmutableArray synonyms) { diff --git a/sdk/dotnet/Lex/Outputs/V2modelsSlotTypeSlotTypeValuesSlotTypeValue.cs b/sdk/dotnet/Lex/Outputs/V2modelsSlotTypeSlotTypeValuesSlotTypeValue.cs new file mode 100644 index 00000000000..0e53169908b --- /dev/null +++ b/sdk/dotnet/Lex/Outputs/V2modelsSlotTypeSlotTypeValuesSlotTypeValue.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Lex.Outputs +{ + + [OutputType] + public sealed class V2modelsSlotTypeSlotTypeValuesSlotTypeValue + { + public readonly string Value; + + [OutputConstructor] + private V2modelsSlotTypeSlotTypeValuesSlotTypeValue(string value) + { + Value = value; + } + } +} diff --git a/sdk/dotnet/MediaLive/Outputs/GetInputDestinationResult.cs b/sdk/dotnet/MediaLive/Outputs/GetInputDestinationResult.cs index 76313524486..87d49d705d0 100644 --- a/sdk/dotnet/MediaLive/Outputs/GetInputDestinationResult.cs +++ b/sdk/dotnet/MediaLive/Outputs/GetInputDestinationResult.cs @@ -16,7 +16,7 @@ public sealed class GetInputDestinationResult public readonly string Ip; public readonly string Port; public readonly string Url; - public readonly ImmutableArray Vpcs; + public readonly ImmutableArray Vpcs; [OutputConstructor] private GetInputDestinationResult( @@ -26,7 +26,7 @@ private GetInputDestinationResult( string url, - ImmutableArray vpcs) + ImmutableArray vpcs) { Ip = ip; Port = port; diff --git a/sdk/dotnet/MediaLive/Outputs/GetInputDestinationVpcResult.cs b/sdk/dotnet/MediaLive/Outputs/GetInputDestinationVpcResult.cs new file mode 100644 index 00000000000..8972e61d37c --- /dev/null +++ b/sdk/dotnet/MediaLive/Outputs/GetInputDestinationVpcResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.MediaLive.Outputs +{ + + [OutputType] + public sealed class GetInputDestinationVpcResult + { + public readonly string AvailabilityZone; + public readonly string NetworkInterfaceId; + + [OutputConstructor] + private GetInputDestinationVpcResult( + string availabilityZone, + + string networkInterfaceId) + { + AvailabilityZone = availabilityZone; + NetworkInterfaceId = networkInterfaceId; + } + } +} diff --git a/sdk/dotnet/ResourceExplorer/Outputs/SearchResourcePropertyResult.cs b/sdk/dotnet/ResourceExplorer/Outputs/SearchResourcePropertyResult.cs new file mode 100644 index 00000000000..bc0f7c3eb6c --- /dev/null +++ b/sdk/dotnet/ResourceExplorer/Outputs/SearchResourcePropertyResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.ResourceExplorer.Outputs +{ + + [OutputType] + public sealed class SearchResourcePropertyResult + { + /// + /// Details about this property. The content of this field is a JSON object that varies based on the resource type. + /// + public readonly string Data; + /// + /// The date and time that the information about this resource property was last updated. + /// + public readonly string LastReportedAt; + /// + /// Name of this property of the resource. + /// + public readonly string Name; + + [OutputConstructor] + private SearchResourcePropertyResult( + string data, + + string lastReportedAt, + + string name) + { + Data = data; + LastReportedAt = lastReportedAt; + Name = name; + } + } +} diff --git a/sdk/dotnet/ResourceExplorer/Outputs/SearchResourceResult.cs b/sdk/dotnet/ResourceExplorer/Outputs/SearchResourceResult.cs index f88fd03e42c..af5635e35e2 100644 --- a/sdk/dotnet/ResourceExplorer/Outputs/SearchResourceResult.cs +++ b/sdk/dotnet/ResourceExplorer/Outputs/SearchResourceResult.cs @@ -28,7 +28,7 @@ public sealed class SearchResourceResult /// /// Structure with additional type-specific details about the resource. See `properties` below. /// - public readonly ImmutableArray Properties; + public readonly ImmutableArray Properties; /// /// Amazon Web Services Region in which the resource was created and exists. /// @@ -50,7 +50,7 @@ private SearchResourceResult( string owningAccountId, - ImmutableArray properties, + ImmutableArray properties, string region, diff --git a/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceDailySettingResult.cs b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceDailySettingResult.cs new file mode 100644 index 00000000000..4fc4f7d98b2 --- /dev/null +++ b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceDailySettingResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Ssm.Outputs +{ + + [OutputType] + public sealed class GetContactsRotationRecurrenceDailySettingResult + { + public readonly int HourOfDay; + public readonly int MinuteOfHour; + + [OutputConstructor] + private GetContactsRotationRecurrenceDailySettingResult( + int hourOfDay, + + int minuteOfHour) + { + HourOfDay = hourOfDay; + MinuteOfHour = minuteOfHour; + } + } +} diff --git a/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceMonthlySettingHandOffTimeResult.cs b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceMonthlySettingHandOffTimeResult.cs new file mode 100644 index 00000000000..c28775b522f --- /dev/null +++ b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceMonthlySettingHandOffTimeResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Ssm.Outputs +{ + + [OutputType] + public sealed class GetContactsRotationRecurrenceMonthlySettingHandOffTimeResult + { + public readonly int HourOfDay; + public readonly int MinuteOfHour; + + [OutputConstructor] + private GetContactsRotationRecurrenceMonthlySettingHandOffTimeResult( + int hourOfDay, + + int minuteOfHour) + { + HourOfDay = hourOfDay; + MinuteOfHour = minuteOfHour; + } + } +} diff --git a/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceMonthlySettingResult.cs b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceMonthlySettingResult.cs new file mode 100644 index 00000000000..8ca3726dcdb --- /dev/null +++ b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceMonthlySettingResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Ssm.Outputs +{ + + [OutputType] + public sealed class GetContactsRotationRecurrenceMonthlySettingResult + { + public readonly int DayOfMonth; + public readonly ImmutableArray HandOffTimes; + + [OutputConstructor] + private GetContactsRotationRecurrenceMonthlySettingResult( + int dayOfMonth, + + ImmutableArray handOffTimes) + { + DayOfMonth = dayOfMonth; + HandOffTimes = handOffTimes; + } + } +} diff --git a/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceResult.cs b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceResult.cs index 5f57802752f..a49b8ecee1a 100644 --- a/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceResult.cs +++ b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceResult.cs @@ -13,26 +13,26 @@ namespace Pulumi.Aws.Ssm.Outputs [OutputType] public sealed class GetContactsRotationRecurrenceResult { - public readonly ImmutableArray DailySettings; - public readonly ImmutableArray MonthlySettings; + public readonly ImmutableArray DailySettings; + public readonly ImmutableArray MonthlySettings; public readonly int NumberOfOnCalls; public readonly int RecurrenceMultiplier; - public readonly ImmutableArray ShiftCoverages; - public readonly ImmutableArray WeeklySettings; + public readonly ImmutableArray ShiftCoverages; + public readonly ImmutableArray WeeklySettings; [OutputConstructor] private GetContactsRotationRecurrenceResult( - ImmutableArray dailySettings, + ImmutableArray dailySettings, - ImmutableArray monthlySettings, + ImmutableArray monthlySettings, int numberOfOnCalls, int recurrenceMultiplier, - ImmutableArray shiftCoverages, + ImmutableArray shiftCoverages, - ImmutableArray weeklySettings) + ImmutableArray weeklySettings) { DailySettings = dailySettings; MonthlySettings = monthlySettings; diff --git a/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndResult.cs b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndResult.cs new file mode 100644 index 00000000000..69babc5615d --- /dev/null +++ b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Ssm.Outputs +{ + + [OutputType] + public sealed class GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndResult + { + public readonly int HourOfDay; + public readonly int MinuteOfHour; + + [OutputConstructor] + private GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndResult( + int hourOfDay, + + int minuteOfHour) + { + HourOfDay = hourOfDay; + MinuteOfHour = minuteOfHour; + } + } +} diff --git a/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTimeResult.cs b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTimeResult.cs new file mode 100644 index 00000000000..15e54fbe49d --- /dev/null +++ b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTimeResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Ssm.Outputs +{ + + [OutputType] + public sealed class GetContactsRotationRecurrenceShiftCoverageCoverageTimeResult + { + public readonly ImmutableArray Ends; + public readonly ImmutableArray Starts; + + [OutputConstructor] + private GetContactsRotationRecurrenceShiftCoverageCoverageTimeResult( + ImmutableArray ends, + + ImmutableArray starts) + { + Ends = ends; + Starts = starts; + } + } +} diff --git a/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartResult.cs b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartResult.cs new file mode 100644 index 00000000000..4cbeb29d965 --- /dev/null +++ b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Ssm.Outputs +{ + + [OutputType] + public sealed class GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartResult + { + public readonly int HourOfDay; + public readonly int MinuteOfHour; + + [OutputConstructor] + private GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartResult( + int hourOfDay, + + int minuteOfHour) + { + HourOfDay = hourOfDay; + MinuteOfHour = minuteOfHour; + } + } +} diff --git a/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceShiftCoverageResult.cs b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceShiftCoverageResult.cs new file mode 100644 index 00000000000..59dcf82d4fa --- /dev/null +++ b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceShiftCoverageResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Ssm.Outputs +{ + + [OutputType] + public sealed class GetContactsRotationRecurrenceShiftCoverageResult + { + public readonly ImmutableArray CoverageTimes; + public readonly string MapBlockKey; + + [OutputConstructor] + private GetContactsRotationRecurrenceShiftCoverageResult( + ImmutableArray coverageTimes, + + string mapBlockKey) + { + CoverageTimes = coverageTimes; + MapBlockKey = mapBlockKey; + } + } +} diff --git a/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceWeeklySettingHandOffTimeResult.cs b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceWeeklySettingHandOffTimeResult.cs new file mode 100644 index 00000000000..23c6101b026 --- /dev/null +++ b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceWeeklySettingHandOffTimeResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Ssm.Outputs +{ + + [OutputType] + public sealed class GetContactsRotationRecurrenceWeeklySettingHandOffTimeResult + { + public readonly int HourOfDay; + public readonly int MinuteOfHour; + + [OutputConstructor] + private GetContactsRotationRecurrenceWeeklySettingHandOffTimeResult( + int hourOfDay, + + int minuteOfHour) + { + HourOfDay = hourOfDay; + MinuteOfHour = minuteOfHour; + } + } +} diff --git a/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceWeeklySettingResult.cs b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceWeeklySettingResult.cs new file mode 100644 index 00000000000..aacee4e373b --- /dev/null +++ b/sdk/dotnet/Ssm/Outputs/GetContactsRotationRecurrenceWeeklySettingResult.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Aws.Ssm.Outputs +{ + + [OutputType] + public sealed class GetContactsRotationRecurrenceWeeklySettingResult + { + public readonly string DayOfWeek; + public readonly ImmutableArray HandOffTimes; + + [OutputConstructor] + private GetContactsRotationRecurrenceWeeklySettingResult( + string dayOfWeek, + + ImmutableArray handOffTimes) + { + DayOfWeek = dayOfWeek; + HandOffTimes = handOffTimes; + } + } +} diff --git a/sdk/go.mod b/sdk/go.mod index 74057de4580..30a0cba50cb 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -1,6 +1,6 @@ module github.com/pulumi/pulumi-aws/sdk/v6 -go 1.21 +go 1.21.12 require ( github.com/blang/semver v3.5.1+incompatible diff --git a/sdk/go/aws/batch/pulumiTypes.go b/sdk/go/aws/batch/pulumiTypes.go index e2adb966d4d..e7672140f55 100644 --- a/sdk/go/aws/batch/pulumiTypes.go +++ b/sdk/go/aws/batch/pulumiTypes.go @@ -4036,7 +4036,7 @@ func (o GetComputeEnvironmentUpdatePolicyArrayOutput) Index(i pulumi.IntInput) G type GetJobDefinitionEksProperty struct { // The properties for the Kubernetes pod resources of a job. - PodProperties []interface{} `pulumi:"podProperties"` + PodProperties []GetJobDefinitionEksPropertyPodProperty `pulumi:"podProperties"` } // GetJobDefinitionEksPropertyInput is an input type that accepts GetJobDefinitionEksPropertyArgs and GetJobDefinitionEksPropertyOutput values. @@ -4052,7 +4052,7 @@ type GetJobDefinitionEksPropertyInput interface { type GetJobDefinitionEksPropertyArgs struct { // The properties for the Kubernetes pod resources of a job. - PodProperties pulumi.ArrayInput `pulumi:"podProperties"` + PodProperties GetJobDefinitionEksPropertyPodPropertyArrayInput `pulumi:"podProperties"` } func (GetJobDefinitionEksPropertyArgs) ElementType() reflect.Type { @@ -4107,8 +4107,8 @@ func (o GetJobDefinitionEksPropertyOutput) ToGetJobDefinitionEksPropertyOutputWi } // The properties for the Kubernetes pod resources of a job. -func (o GetJobDefinitionEksPropertyOutput) PodProperties() pulumi.ArrayOutput { - return o.ApplyT(func(v GetJobDefinitionEksProperty) []interface{} { return v.PodProperties }).(pulumi.ArrayOutput) +func (o GetJobDefinitionEksPropertyOutput) PodProperties() GetJobDefinitionEksPropertyPodPropertyArrayOutput { + return o.ApplyT(func(v GetJobDefinitionEksProperty) []GetJobDefinitionEksPropertyPodProperty { return v.PodProperties }).(GetJobDefinitionEksPropertyPodPropertyArrayOutput) } type GetJobDefinitionEksPropertyArrayOutput struct{ *pulumi.OutputState } @@ -4131,126 +4131,3898 @@ func (o GetJobDefinitionEksPropertyArrayOutput) Index(i pulumi.IntInput) GetJobD }).(GetJobDefinitionEksPropertyOutput) } +type GetJobDefinitionEksPropertyPodProperty struct { + // The properties of the container that's used on the Amazon EKS pod. Array of EksContainer objects. + Containers []GetJobDefinitionEksPropertyPodPropertyContainer `pulumi:"containers"` + // The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. + DnsPolicy string `pulumi:"dnsPolicy"` + // Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. + HostNetwork bool `pulumi:"hostNetwork"` + // Metadata about the Kubernetes pod. + Metadatas []GetJobDefinitionEksPropertyPodPropertyMetadata `pulumi:"metadatas"` + // The name of the service account that's used to run the pod. + ServiceAccountName bool `pulumi:"serviceAccountName"` + // A list of data volumes used in a job. + Volumes []GetJobDefinitionEksPropertyPodPropertyVolume `pulumi:"volumes"` +} + +// GetJobDefinitionEksPropertyPodPropertyInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyArgs and GetJobDefinitionEksPropertyPodPropertyOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyArgs{...} +type GetJobDefinitionEksPropertyPodPropertyInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyOutput() GetJobDefinitionEksPropertyPodPropertyOutput + ToGetJobDefinitionEksPropertyPodPropertyOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyOutput +} + +type GetJobDefinitionEksPropertyPodPropertyArgs struct { + // The properties of the container that's used on the Amazon EKS pod. Array of EksContainer objects. + Containers GetJobDefinitionEksPropertyPodPropertyContainerArrayInput `pulumi:"containers"` + // The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. + DnsPolicy pulumi.StringInput `pulumi:"dnsPolicy"` + // Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. + HostNetwork pulumi.BoolInput `pulumi:"hostNetwork"` + // Metadata about the Kubernetes pod. + Metadatas GetJobDefinitionEksPropertyPodPropertyMetadataArrayInput `pulumi:"metadatas"` + // The name of the service account that's used to run the pod. + ServiceAccountName pulumi.BoolInput `pulumi:"serviceAccountName"` + // A list of data volumes used in a job. + Volumes GetJobDefinitionEksPropertyPodPropertyVolumeArrayInput `pulumi:"volumes"` +} + +func (GetJobDefinitionEksPropertyPodPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodProperty)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyArgs) ToGetJobDefinitionEksPropertyPodPropertyOutput() GetJobDefinitionEksPropertyPodPropertyOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyArgs) ToGetJobDefinitionEksPropertyPodPropertyOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyOutput) +} + +// GetJobDefinitionEksPropertyPodPropertyArrayInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyArray and GetJobDefinitionEksPropertyPodPropertyArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyArrayInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyArray{ GetJobDefinitionEksPropertyPodPropertyArgs{...} } +type GetJobDefinitionEksPropertyPodPropertyArrayInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyArrayOutput() GetJobDefinitionEksPropertyPodPropertyArrayOutput + ToGetJobDefinitionEksPropertyPodPropertyArrayOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyArrayOutput +} + +type GetJobDefinitionEksPropertyPodPropertyArray []GetJobDefinitionEksPropertyPodPropertyInput + +func (GetJobDefinitionEksPropertyPodPropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodProperty)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyArray) ToGetJobDefinitionEksPropertyPodPropertyArrayOutput() GetJobDefinitionEksPropertyPodPropertyArrayOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyArray) ToGetJobDefinitionEksPropertyPodPropertyArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyArrayOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodProperty)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyOutput) ToGetJobDefinitionEksPropertyPodPropertyOutput() GetJobDefinitionEksPropertyPodPropertyOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyOutput) ToGetJobDefinitionEksPropertyPodPropertyOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyOutput { + return o +} + +// The properties of the container that's used on the Amazon EKS pod. Array of EksContainer objects. +func (o GetJobDefinitionEksPropertyPodPropertyOutput) Containers() GetJobDefinitionEksPropertyPodPropertyContainerArrayOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodProperty) []GetJobDefinitionEksPropertyPodPropertyContainer { + return v.Containers + }).(GetJobDefinitionEksPropertyPodPropertyContainerArrayOutput) +} + +// The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. +func (o GetJobDefinitionEksPropertyPodPropertyOutput) DnsPolicy() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodProperty) string { return v.DnsPolicy }).(pulumi.StringOutput) +} + +// Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. +func (o GetJobDefinitionEksPropertyPodPropertyOutput) HostNetwork() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodProperty) bool { return v.HostNetwork }).(pulumi.BoolOutput) +} + +// Metadata about the Kubernetes pod. +func (o GetJobDefinitionEksPropertyPodPropertyOutput) Metadatas() GetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodProperty) []GetJobDefinitionEksPropertyPodPropertyMetadata { + return v.Metadatas + }).(GetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput) +} + +// The name of the service account that's used to run the pod. +func (o GetJobDefinitionEksPropertyPodPropertyOutput) ServiceAccountName() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodProperty) bool { return v.ServiceAccountName }).(pulumi.BoolOutput) +} + +// A list of data volumes used in a job. +func (o GetJobDefinitionEksPropertyPodPropertyOutput) Volumes() GetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodProperty) []GetJobDefinitionEksPropertyPodPropertyVolume { + return v.Volumes + }).(GetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodProperty)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyArrayOutput() GetJobDefinitionEksPropertyPodPropertyArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionEksPropertyPodPropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionEksPropertyPodProperty { + return vs[0].([]GetJobDefinitionEksPropertyPodProperty)[vs[1].(int)] + }).(GetJobDefinitionEksPropertyPodPropertyOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyContainer struct { + // An array of arguments to the entrypoint + Args []string `pulumi:"args"` + // The command that's passed to the container. + Commands []string `pulumi:"commands"` + // The environment variables to pass to a container. Array of EksContainerEnvironmentVariable objects. + Envs []GetJobDefinitionEksPropertyPodPropertyContainerEnv `pulumi:"envs"` + // The image used to start a container. + Image string `pulumi:"image"` + // The image pull policy for the container. + ImagePullPolicy string `pulumi:"imagePullPolicy"` + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name string `pulumi:"name"` + // The type and amount of resources to assign to a container. + Resources []GetJobDefinitionEksPropertyPodPropertyContainerResource `pulumi:"resources"` + // The security context for a job. + SecurityContexts []GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext `pulumi:"securityContexts"` + // The volume mounts for the container. + VolumeMounts []GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount `pulumi:"volumeMounts"` +} + +// GetJobDefinitionEksPropertyPodPropertyContainerInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyContainerArgs and GetJobDefinitionEksPropertyPodPropertyContainerOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyContainerInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyContainerArgs{...} +type GetJobDefinitionEksPropertyPodPropertyContainerInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyContainerOutput() GetJobDefinitionEksPropertyPodPropertyContainerOutput + ToGetJobDefinitionEksPropertyPodPropertyContainerOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyContainerOutput +} + +type GetJobDefinitionEksPropertyPodPropertyContainerArgs struct { + // An array of arguments to the entrypoint + Args pulumi.StringArrayInput `pulumi:"args"` + // The command that's passed to the container. + Commands pulumi.StringArrayInput `pulumi:"commands"` + // The environment variables to pass to a container. Array of EksContainerEnvironmentVariable objects. + Envs GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayInput `pulumi:"envs"` + // The image used to start a container. + Image pulumi.StringInput `pulumi:"image"` + // The image pull policy for the container. + ImagePullPolicy pulumi.StringInput `pulumi:"imagePullPolicy"` + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name pulumi.StringInput `pulumi:"name"` + // The type and amount of resources to assign to a container. + Resources GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayInput `pulumi:"resources"` + // The security context for a job. + SecurityContexts GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayInput `pulumi:"securityContexts"` + // The volume mounts for the container. + VolumeMounts GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayInput `pulumi:"volumeMounts"` +} + +func (GetJobDefinitionEksPropertyPodPropertyContainerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainer)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerArgs) ToGetJobDefinitionEksPropertyPodPropertyContainerOutput() GetJobDefinitionEksPropertyPodPropertyContainerOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyContainerOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerArgs) ToGetJobDefinitionEksPropertyPodPropertyContainerOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyContainerOutput) +} + +// GetJobDefinitionEksPropertyPodPropertyContainerArrayInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyContainerArray and GetJobDefinitionEksPropertyPodPropertyContainerArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyContainerArrayInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyContainerArray{ GetJobDefinitionEksPropertyPodPropertyContainerArgs{...} } +type GetJobDefinitionEksPropertyPodPropertyContainerArrayInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyContainerArrayOutput() GetJobDefinitionEksPropertyPodPropertyContainerArrayOutput + ToGetJobDefinitionEksPropertyPodPropertyContainerArrayOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyContainerArrayOutput +} + +type GetJobDefinitionEksPropertyPodPropertyContainerArray []GetJobDefinitionEksPropertyPodPropertyContainerInput + +func (GetJobDefinitionEksPropertyPodPropertyContainerArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyContainer)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerArray) ToGetJobDefinitionEksPropertyPodPropertyContainerArrayOutput() GetJobDefinitionEksPropertyPodPropertyContainerArrayOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyContainerArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerArray) ToGetJobDefinitionEksPropertyPodPropertyContainerArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyContainerArrayOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyContainerOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyContainerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainer)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerOutput() GetJobDefinitionEksPropertyPodPropertyContainerOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerOutput { + return o +} + +// An array of arguments to the entrypoint +func (o GetJobDefinitionEksPropertyPodPropertyContainerOutput) Args() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainer) []string { return v.Args }).(pulumi.StringArrayOutput) +} + +// The command that's passed to the container. +func (o GetJobDefinitionEksPropertyPodPropertyContainerOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainer) []string { return v.Commands }).(pulumi.StringArrayOutput) +} + +// The environment variables to pass to a container. Array of EksContainerEnvironmentVariable objects. +func (o GetJobDefinitionEksPropertyPodPropertyContainerOutput) Envs() GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainer) []GetJobDefinitionEksPropertyPodPropertyContainerEnv { + return v.Envs + }).(GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput) +} + +// The image used to start a container. +func (o GetJobDefinitionEksPropertyPodPropertyContainerOutput) Image() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainer) string { return v.Image }).(pulumi.StringOutput) +} + +// The image pull policy for the container. +func (o GetJobDefinitionEksPropertyPodPropertyContainerOutput) ImagePullPolicy() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainer) string { return v.ImagePullPolicy }).(pulumi.StringOutput) +} + +// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). +func (o GetJobDefinitionEksPropertyPodPropertyContainerOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainer) string { return v.Name }).(pulumi.StringOutput) +} + +// The type and amount of resources to assign to a container. +func (o GetJobDefinitionEksPropertyPodPropertyContainerOutput) Resources() GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainer) []GetJobDefinitionEksPropertyPodPropertyContainerResource { + return v.Resources + }).(GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput) +} + +// The security context for a job. +func (o GetJobDefinitionEksPropertyPodPropertyContainerOutput) SecurityContexts() GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainer) []GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext { + return v.SecurityContexts + }).(GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput) +} + +// The volume mounts for the container. +func (o GetJobDefinitionEksPropertyPodPropertyContainerOutput) VolumeMounts() GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainer) []GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount { + return v.VolumeMounts + }).(GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyContainerArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyContainerArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyContainer)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerArrayOutput() GetJobDefinitionEksPropertyPodPropertyContainerArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionEksPropertyPodPropertyContainerOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionEksPropertyPodPropertyContainer { + return vs[0].([]GetJobDefinitionEksPropertyPodPropertyContainer)[vs[1].(int)] + }).(GetJobDefinitionEksPropertyPodPropertyContainerOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyContainerEnv struct { + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name string `pulumi:"name"` + // The quantity of the specified resource to reserve for the container. + Value string `pulumi:"value"` +} + +// GetJobDefinitionEksPropertyPodPropertyContainerEnvInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyContainerEnvArgs and GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyContainerEnvInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyContainerEnvArgs{...} +type GetJobDefinitionEksPropertyPodPropertyContainerEnvInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyContainerEnvOutput() GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput + ToGetJobDefinitionEksPropertyPodPropertyContainerEnvOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput +} + +type GetJobDefinitionEksPropertyPodPropertyContainerEnvArgs struct { + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name pulumi.StringInput `pulumi:"name"` + // The quantity of the specified resource to reserve for the container. + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetJobDefinitionEksPropertyPodPropertyContainerEnvArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerEnv)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerEnvArgs) ToGetJobDefinitionEksPropertyPodPropertyContainerEnvOutput() GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyContainerEnvOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerEnvArgs) ToGetJobDefinitionEksPropertyPodPropertyContainerEnvOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput) +} + +// GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyContainerEnvArray and GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyContainerEnvArray{ GetJobDefinitionEksPropertyPodPropertyContainerEnvArgs{...} } +type GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput() GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput + ToGetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput +} + +type GetJobDefinitionEksPropertyPodPropertyContainerEnvArray []GetJobDefinitionEksPropertyPodPropertyContainerEnvInput + +func (GetJobDefinitionEksPropertyPodPropertyContainerEnvArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyContainerEnv)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerEnvArray) ToGetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput() GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerEnvArray) ToGetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerEnv)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerEnvOutput() GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerEnvOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput { + return o +} + +// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). +func (o GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainerEnv) string { return v.Name }).(pulumi.StringOutput) +} + +// The quantity of the specified resource to reserve for the container. +func (o GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainerEnv) string { return v.Value }).(pulumi.StringOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyContainerEnv)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput() GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionEksPropertyPodPropertyContainerEnv { + return vs[0].([]GetJobDefinitionEksPropertyPodPropertyContainerEnv)[vs[1].(int)] + }).(GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyContainerResource struct { + // The type and quantity of the resources to reserve for the container. + Limits map[string]interface{} `pulumi:"limits"` + // The type and quantity of the resources to request for the container. + Requests map[string]interface{} `pulumi:"requests"` +} + +// GetJobDefinitionEksPropertyPodPropertyContainerResourceInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyContainerResourceArgs and GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyContainerResourceInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyContainerResourceArgs{...} +type GetJobDefinitionEksPropertyPodPropertyContainerResourceInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyContainerResourceOutput() GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput + ToGetJobDefinitionEksPropertyPodPropertyContainerResourceOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput +} + +type GetJobDefinitionEksPropertyPodPropertyContainerResourceArgs struct { + // The type and quantity of the resources to reserve for the container. + Limits pulumi.MapInput `pulumi:"limits"` + // The type and quantity of the resources to request for the container. + Requests pulumi.MapInput `pulumi:"requests"` +} + +func (GetJobDefinitionEksPropertyPodPropertyContainerResourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerResource)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerResourceArgs) ToGetJobDefinitionEksPropertyPodPropertyContainerResourceOutput() GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyContainerResourceOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerResourceArgs) ToGetJobDefinitionEksPropertyPodPropertyContainerResourceOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput) +} + +// GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyContainerResourceArray and GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyContainerResourceArray{ GetJobDefinitionEksPropertyPodPropertyContainerResourceArgs{...} } +type GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput() GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput + ToGetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput +} + +type GetJobDefinitionEksPropertyPodPropertyContainerResourceArray []GetJobDefinitionEksPropertyPodPropertyContainerResourceInput + +func (GetJobDefinitionEksPropertyPodPropertyContainerResourceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyContainerResource)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerResourceArray) ToGetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput() GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerResourceArray) ToGetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerResource)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerResourceOutput() GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerResourceOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput { + return o +} + +// The type and quantity of the resources to reserve for the container. +func (o GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput) Limits() pulumi.MapOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainerResource) map[string]interface{} { + return v.Limits + }).(pulumi.MapOutput) +} + +// The type and quantity of the resources to request for the container. +func (o GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput) Requests() pulumi.MapOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainerResource) map[string]interface{} { + return v.Requests + }).(pulumi.MapOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyContainerResource)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput() GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionEksPropertyPodPropertyContainerResource { + return vs[0].([]GetJobDefinitionEksPropertyPodPropertyContainerResource)[vs[1].(int)] + }).(GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext struct { + // When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). + Privileged bool `pulumi:"privileged"` + ReadOnlyRootFileSystem bool `pulumi:"readOnlyRootFileSystem"` + // When this parameter is specified, the container is run as the specified group ID (gid). If this parameter isn't specified, the default is the group that's specified in the image metadata. + RunAsGroup int `pulumi:"runAsGroup"` + // When this parameter is specified, the container is run as a user with a uid other than 0. If this parameter isn't specified, so such rule is enforced. + RunAsNonRoot bool `pulumi:"runAsNonRoot"` + // When this parameter is specified, the container is run as the specified user ID (uid). If this parameter isn't specified, the default is the user that's specified in the image metadata. + RunAsUser int `pulumi:"runAsUser"` +} + +// GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArgs and GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArgs{...} +type GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput() GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput + ToGetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput +} + +type GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArgs struct { + // When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). + Privileged pulumi.BoolInput `pulumi:"privileged"` + ReadOnlyRootFileSystem pulumi.BoolInput `pulumi:"readOnlyRootFileSystem"` + // When this parameter is specified, the container is run as the specified group ID (gid). If this parameter isn't specified, the default is the group that's specified in the image metadata. + RunAsGroup pulumi.IntInput `pulumi:"runAsGroup"` + // When this parameter is specified, the container is run as a user with a uid other than 0. If this parameter isn't specified, so such rule is enforced. + RunAsNonRoot pulumi.BoolInput `pulumi:"runAsNonRoot"` + // When this parameter is specified, the container is run as the specified user ID (uid). If this parameter isn't specified, the default is the user that's specified in the image metadata. + RunAsUser pulumi.IntInput `pulumi:"runAsUser"` +} + +func (GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArgs) ToGetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput() GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArgs) ToGetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput) +} + +// GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArray and GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArray{ GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArgs{...} } +type GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput() GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput + ToGetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput +} + +type GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArray []GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextInput + +func (GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArray) ToGetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput() GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArray) ToGetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput() GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput { + return o +} + +// When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). +func (o GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput) Privileged() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext) bool { return v.Privileged }).(pulumi.BoolOutput) +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput) ReadOnlyRootFileSystem() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext) bool { + return v.ReadOnlyRootFileSystem + }).(pulumi.BoolOutput) +} + +// When this parameter is specified, the container is run as the specified group ID (gid). If this parameter isn't specified, the default is the group that's specified in the image metadata. +func (o GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput) RunAsGroup() pulumi.IntOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext) int { return v.RunAsGroup }).(pulumi.IntOutput) +} + +// When this parameter is specified, the container is run as a user with a uid other than 0. If this parameter isn't specified, so such rule is enforced. +func (o GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput) RunAsNonRoot() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext) bool { return v.RunAsNonRoot }).(pulumi.BoolOutput) +} + +// When this parameter is specified, the container is run as the specified user ID (uid). If this parameter isn't specified, the default is the user that's specified in the image metadata. +func (o GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput) RunAsUser() pulumi.IntOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext) int { return v.RunAsUser }).(pulumi.IntOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput() GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext { + return vs[0].([]GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext)[vs[1].(int)] + }).(GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount struct { + // The path on the container where the volume is mounted. + MountPath string `pulumi:"mountPath"` + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name string `pulumi:"name"` + // If this value is true, the container has read-only access to the volume. + ReadOnly bool `pulumi:"readOnly"` +} + +// GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArgs and GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArgs{...} +type GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput() GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput + ToGetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput +} + +type GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArgs struct { + // The path on the container where the volume is mounted. + MountPath pulumi.StringInput `pulumi:"mountPath"` + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name pulumi.StringInput `pulumi:"name"` + // If this value is true, the container has read-only access to the volume. + ReadOnly pulumi.BoolInput `pulumi:"readOnly"` +} + +func (GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArgs) ToGetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput() GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArgs) ToGetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput) +} + +// GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArray and GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArray{ GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArgs{...} } +type GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput() GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput + ToGetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput +} + +type GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArray []GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountInput + +func (GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArray) ToGetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput() GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArray) ToGetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput() GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput { + return o +} + +// The path on the container where the volume is mounted. +func (o GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput) MountPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount) string { return v.MountPath }).(pulumi.StringOutput) +} + +// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). +func (o GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount) string { return v.Name }).(pulumi.StringOutput) +} + +// If this value is true, the container has read-only access to the volume. +func (o GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput) ReadOnly() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount) bool { return v.ReadOnly }).(pulumi.BoolOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput() GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount { + return vs[0].([]GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount)[vs[1].(int)] + }).(GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyMetadata struct { + // Key-value pairs used to identify, sort, and organize cube resources. + Labels map[string]interface{} `pulumi:"labels"` +} + +// GetJobDefinitionEksPropertyPodPropertyMetadataInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyMetadataArgs and GetJobDefinitionEksPropertyPodPropertyMetadataOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyMetadataInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyMetadataArgs{...} +type GetJobDefinitionEksPropertyPodPropertyMetadataInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyMetadataOutput() GetJobDefinitionEksPropertyPodPropertyMetadataOutput + ToGetJobDefinitionEksPropertyPodPropertyMetadataOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyMetadataOutput +} + +type GetJobDefinitionEksPropertyPodPropertyMetadataArgs struct { + // Key-value pairs used to identify, sort, and organize cube resources. + Labels pulumi.MapInput `pulumi:"labels"` +} + +func (GetJobDefinitionEksPropertyPodPropertyMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyMetadata)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyMetadataArgs) ToGetJobDefinitionEksPropertyPodPropertyMetadataOutput() GetJobDefinitionEksPropertyPodPropertyMetadataOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyMetadataOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyMetadataArgs) ToGetJobDefinitionEksPropertyPodPropertyMetadataOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyMetadataOutput) +} + +// GetJobDefinitionEksPropertyPodPropertyMetadataArrayInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyMetadataArray and GetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyMetadataArrayInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyMetadataArray{ GetJobDefinitionEksPropertyPodPropertyMetadataArgs{...} } +type GetJobDefinitionEksPropertyPodPropertyMetadataArrayInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput() GetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput + ToGetJobDefinitionEksPropertyPodPropertyMetadataArrayOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput +} + +type GetJobDefinitionEksPropertyPodPropertyMetadataArray []GetJobDefinitionEksPropertyPodPropertyMetadataInput + +func (GetJobDefinitionEksPropertyPodPropertyMetadataArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyMetadata)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyMetadataArray) ToGetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput() GetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyMetadataArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyMetadataArray) ToGetJobDefinitionEksPropertyPodPropertyMetadataArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyMetadataOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyMetadata)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyMetadataOutput) ToGetJobDefinitionEksPropertyPodPropertyMetadataOutput() GetJobDefinitionEksPropertyPodPropertyMetadataOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyMetadataOutput) ToGetJobDefinitionEksPropertyPodPropertyMetadataOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyMetadataOutput { + return o +} + +// Key-value pairs used to identify, sort, and organize cube resources. +func (o GetJobDefinitionEksPropertyPodPropertyMetadataOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyMetadata) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyMetadata)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput() GetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyMetadataArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionEksPropertyPodPropertyMetadataOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionEksPropertyPodPropertyMetadata { + return vs[0].([]GetJobDefinitionEksPropertyPodPropertyMetadata)[vs[1].(int)] + }).(GetJobDefinitionEksPropertyPodPropertyMetadataOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyVolume struct { + // Specifies the configuration of a Kubernetes emptyDir volume. + EmptyDirs []GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir `pulumi:"emptyDirs"` + // The path for the device on the host container instance. + HostPaths []GetJobDefinitionEksPropertyPodPropertyVolumeHostPath `pulumi:"hostPaths"` + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name string `pulumi:"name"` + // Specifies the configuration of a Kubernetes secret volume. + Secrets []GetJobDefinitionEksPropertyPodPropertyVolumeSecret `pulumi:"secrets"` +} + +// GetJobDefinitionEksPropertyPodPropertyVolumeInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyVolumeArgs and GetJobDefinitionEksPropertyPodPropertyVolumeOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyVolumeInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyVolumeArgs{...} +type GetJobDefinitionEksPropertyPodPropertyVolumeInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyVolumeOutput() GetJobDefinitionEksPropertyPodPropertyVolumeOutput + ToGetJobDefinitionEksPropertyPodPropertyVolumeOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeOutput +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeArgs struct { + // Specifies the configuration of a Kubernetes emptyDir volume. + EmptyDirs GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayInput `pulumi:"emptyDirs"` + // The path for the device on the host container instance. + HostPaths GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayInput `pulumi:"hostPaths"` + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name pulumi.StringInput `pulumi:"name"` + // Specifies the configuration of a Kubernetes secret volume. + Secrets GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayInput `pulumi:"secrets"` +} + +func (GetJobDefinitionEksPropertyPodPropertyVolumeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyVolume)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyVolumeArgs) ToGetJobDefinitionEksPropertyPodPropertyVolumeOutput() GetJobDefinitionEksPropertyPodPropertyVolumeOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyVolumeOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyVolumeArgs) ToGetJobDefinitionEksPropertyPodPropertyVolumeOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyVolumeOutput) +} + +// GetJobDefinitionEksPropertyPodPropertyVolumeArrayInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyVolumeArray and GetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyVolumeArrayInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyVolumeArray{ GetJobDefinitionEksPropertyPodPropertyVolumeArgs{...} } +type GetJobDefinitionEksPropertyPodPropertyVolumeArrayInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput() GetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput + ToGetJobDefinitionEksPropertyPodPropertyVolumeArrayOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeArray []GetJobDefinitionEksPropertyPodPropertyVolumeInput + +func (GetJobDefinitionEksPropertyPodPropertyVolumeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyVolume)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyVolumeArray) ToGetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput() GetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyVolumeArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyVolumeArray) ToGetJobDefinitionEksPropertyPodPropertyVolumeArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyVolumeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyVolume)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeOutput) ToGetJobDefinitionEksPropertyPodPropertyVolumeOutput() GetJobDefinitionEksPropertyPodPropertyVolumeOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeOutput) ToGetJobDefinitionEksPropertyPodPropertyVolumeOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeOutput { + return o +} + +// Specifies the configuration of a Kubernetes emptyDir volume. +func (o GetJobDefinitionEksPropertyPodPropertyVolumeOutput) EmptyDirs() GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyVolume) []GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir { + return v.EmptyDirs + }).(GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput) +} + +// The path for the device on the host container instance. +func (o GetJobDefinitionEksPropertyPodPropertyVolumeOutput) HostPaths() GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyVolume) []GetJobDefinitionEksPropertyPodPropertyVolumeHostPath { + return v.HostPaths + }).(GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput) +} + +// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). +func (o GetJobDefinitionEksPropertyPodPropertyVolumeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyVolume) string { return v.Name }).(pulumi.StringOutput) +} + +// Specifies the configuration of a Kubernetes secret volume. +func (o GetJobDefinitionEksPropertyPodPropertyVolumeOutput) Secrets() GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyVolume) []GetJobDefinitionEksPropertyPodPropertyVolumeSecret { + return v.Secrets + }).(GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyVolume)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput() GetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyVolumeArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionEksPropertyPodPropertyVolumeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionEksPropertyPodPropertyVolume { + return vs[0].([]GetJobDefinitionEksPropertyPodPropertyVolume)[vs[1].(int)] + }).(GetJobDefinitionEksPropertyPodPropertyVolumeOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir struct { + // The medium to store the volume. + Medium string `pulumi:"medium"` + // The maximum size of the volume. By default, there's no maximum size defined. + SizeLimit string `pulumi:"sizeLimit"` +} + +// GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArgs and GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArgs{...} +type GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput() GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput + ToGetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArgs struct { + // The medium to store the volume. + Medium pulumi.StringInput `pulumi:"medium"` + // The maximum size of the volume. By default, there's no maximum size defined. + SizeLimit pulumi.StringInput `pulumi:"sizeLimit"` +} + +func (GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArgs) ToGetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput() GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArgs) ToGetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput) +} + +// GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArray and GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArray{ GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArgs{...} } +type GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput() GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput + ToGetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArray []GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirInput + +func (GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArray) ToGetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput() GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArray) ToGetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput) ToGetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput() GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput) ToGetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput { + return o +} + +// The medium to store the volume. +func (o GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput) Medium() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir) string { return v.Medium }).(pulumi.StringOutput) +} + +// The maximum size of the volume. By default, there's no maximum size defined. +func (o GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput) SizeLimit() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir) string { return v.SizeLimit }).(pulumi.StringOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput() GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir { + return vs[0].([]GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir)[vs[1].(int)] + }).(GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeHostPath struct { + // The path of the file or directory on the host to mount into containers on the pod. + Path string `pulumi:"path"` +} + +// GetJobDefinitionEksPropertyPodPropertyVolumeHostPathInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArgs and GetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyVolumeHostPathInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArgs{...} +type GetJobDefinitionEksPropertyPodPropertyVolumeHostPathInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput() GetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput + ToGetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArgs struct { + // The path of the file or directory on the host to mount into containers on the pod. + Path pulumi.StringInput `pulumi:"path"` +} + +func (GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyVolumeHostPath)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArgs) ToGetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput() GetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArgs) ToGetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput) +} + +// GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArray and GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArray{ GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArgs{...} } +type GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput() GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput + ToGetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArray []GetJobDefinitionEksPropertyPodPropertyVolumeHostPathInput + +func (GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyVolumeHostPath)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArray) ToGetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput() GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArray) ToGetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyVolumeHostPath)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput) ToGetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput() GetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput) ToGetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput { + return o +} + +// The path of the file or directory on the host to mount into containers on the pod. +func (o GetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyVolumeHostPath) string { return v.Path }).(pulumi.StringOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyVolumeHostPath)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput() GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionEksPropertyPodPropertyVolumeHostPath { + return vs[0].([]GetJobDefinitionEksPropertyPodPropertyVolumeHostPath)[vs[1].(int)] + }).(GetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeSecret struct { + // Specifies whether the secret or the secret's keys must be defined. + Optional bool `pulumi:"optional"` + // The name of the secret. The name must be allowed as a DNS subdomain name + SecretName string `pulumi:"secretName"` +} + +// GetJobDefinitionEksPropertyPodPropertyVolumeSecretInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyVolumeSecretArgs and GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyVolumeSecretInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyVolumeSecretArgs{...} +type GetJobDefinitionEksPropertyPodPropertyVolumeSecretInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput() GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput + ToGetJobDefinitionEksPropertyPodPropertyVolumeSecretOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeSecretArgs struct { + // Specifies whether the secret or the secret's keys must be defined. + Optional pulumi.BoolInput `pulumi:"optional"` + // The name of the secret. The name must be allowed as a DNS subdomain name + SecretName pulumi.StringInput `pulumi:"secretName"` +} + +func (GetJobDefinitionEksPropertyPodPropertyVolumeSecretArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyVolumeSecret)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyVolumeSecretArgs) ToGetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput() GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyVolumeSecretOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyVolumeSecretArgs) ToGetJobDefinitionEksPropertyPodPropertyVolumeSecretOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput) +} + +// GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayInput is an input type that accepts GetJobDefinitionEksPropertyPodPropertyVolumeSecretArray and GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayInput` via: +// +// GetJobDefinitionEksPropertyPodPropertyVolumeSecretArray{ GetJobDefinitionEksPropertyPodPropertyVolumeSecretArgs{...} } +type GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayInput interface { + pulumi.Input + + ToGetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput() GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput + ToGetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutputWithContext(context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeSecretArray []GetJobDefinitionEksPropertyPodPropertyVolumeSecretInput + +func (GetJobDefinitionEksPropertyPodPropertyVolumeSecretArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyVolumeSecret)(nil)).Elem() +} + +func (i GetJobDefinitionEksPropertyPodPropertyVolumeSecretArray) ToGetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput() GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput { + return i.ToGetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionEksPropertyPodPropertyVolumeSecretArray) ToGetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyVolumeSecret)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput) ToGetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput() GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput) ToGetJobDefinitionEksPropertyPodPropertyVolumeSecretOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput { + return o +} + +// Specifies whether the secret or the secret's keys must be defined. +func (o GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput) Optional() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyVolumeSecret) bool { return v.Optional }).(pulumi.BoolOutput) +} + +// The name of the secret. The name must be allowed as a DNS subdomain name +func (o GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput) SecretName() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionEksPropertyPodPropertyVolumeSecret) string { return v.SecretName }).(pulumi.StringOutput) +} + +type GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionEksPropertyPodPropertyVolumeSecret)(nil)).Elem() +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput() GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput) ToGetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput { + return o +} + +func (o GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionEksPropertyPodPropertyVolumeSecret { + return vs[0].([]GetJobDefinitionEksPropertyPodPropertyVolumeSecret)[vs[1].(int)] + }).(GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput) +} + type GetJobDefinitionNodeProperty struct { // Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes. MainNode int `pulumi:"mainNode"` // A list of node ranges and their properties that are associated with a multi-node parallel job. - NodeRangeProperties []interface{} `pulumi:"nodeRangeProperties"` + NodeRangeProperties []GetJobDefinitionNodePropertyNodeRangeProperty `pulumi:"nodeRangeProperties"` // The number of nodes that are associated with a multi-node parallel job. NumNodes int `pulumi:"numNodes"` } -// GetJobDefinitionNodePropertyInput is an input type that accepts GetJobDefinitionNodePropertyArgs and GetJobDefinitionNodePropertyOutput values. -// You can construct a concrete instance of `GetJobDefinitionNodePropertyInput` via: +// GetJobDefinitionNodePropertyInput is an input type that accepts GetJobDefinitionNodePropertyArgs and GetJobDefinitionNodePropertyOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyInput` via: +// +// GetJobDefinitionNodePropertyArgs{...} +type GetJobDefinitionNodePropertyInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyOutput() GetJobDefinitionNodePropertyOutput + ToGetJobDefinitionNodePropertyOutputWithContext(context.Context) GetJobDefinitionNodePropertyOutput +} + +type GetJobDefinitionNodePropertyArgs struct { + // Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes. + MainNode pulumi.IntInput `pulumi:"mainNode"` + // A list of node ranges and their properties that are associated with a multi-node parallel job. + NodeRangeProperties GetJobDefinitionNodePropertyNodeRangePropertyArrayInput `pulumi:"nodeRangeProperties"` + // The number of nodes that are associated with a multi-node parallel job. + NumNodes pulumi.IntInput `pulumi:"numNodes"` +} + +func (GetJobDefinitionNodePropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodeProperty)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyArgs) ToGetJobDefinitionNodePropertyOutput() GetJobDefinitionNodePropertyOutput { + return i.ToGetJobDefinitionNodePropertyOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyArgs) ToGetJobDefinitionNodePropertyOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyOutput) +} + +// GetJobDefinitionNodePropertyArrayInput is an input type that accepts GetJobDefinitionNodePropertyArray and GetJobDefinitionNodePropertyArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyArrayInput` via: +// +// GetJobDefinitionNodePropertyArray{ GetJobDefinitionNodePropertyArgs{...} } +type GetJobDefinitionNodePropertyArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyArrayOutput() GetJobDefinitionNodePropertyArrayOutput + ToGetJobDefinitionNodePropertyArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyArrayOutput +} + +type GetJobDefinitionNodePropertyArray []GetJobDefinitionNodePropertyInput + +func (GetJobDefinitionNodePropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodeProperty)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyArray) ToGetJobDefinitionNodePropertyArrayOutput() GetJobDefinitionNodePropertyArrayOutput { + return i.ToGetJobDefinitionNodePropertyArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyArray) ToGetJobDefinitionNodePropertyArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyArrayOutput) +} + +type GetJobDefinitionNodePropertyOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodeProperty)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyOutput) ToGetJobDefinitionNodePropertyOutput() GetJobDefinitionNodePropertyOutput { + return o +} + +func (o GetJobDefinitionNodePropertyOutput) ToGetJobDefinitionNodePropertyOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyOutput { + return o +} + +// Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes. +func (o GetJobDefinitionNodePropertyOutput) MainNode() pulumi.IntOutput { + return o.ApplyT(func(v GetJobDefinitionNodeProperty) int { return v.MainNode }).(pulumi.IntOutput) +} + +// A list of node ranges and their properties that are associated with a multi-node parallel job. +func (o GetJobDefinitionNodePropertyOutput) NodeRangeProperties() GetJobDefinitionNodePropertyNodeRangePropertyArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodeProperty) []GetJobDefinitionNodePropertyNodeRangeProperty { + return v.NodeRangeProperties + }).(GetJobDefinitionNodePropertyNodeRangePropertyArrayOutput) +} + +// The number of nodes that are associated with a multi-node parallel job. +func (o GetJobDefinitionNodePropertyOutput) NumNodes() pulumi.IntOutput { + return o.ApplyT(func(v GetJobDefinitionNodeProperty) int { return v.NumNodes }).(pulumi.IntOutput) +} + +type GetJobDefinitionNodePropertyArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodeProperty)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyArrayOutput) ToGetJobDefinitionNodePropertyArrayOutput() GetJobDefinitionNodePropertyArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyArrayOutput) ToGetJobDefinitionNodePropertyArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodeProperty { + return vs[0].([]GetJobDefinitionNodeProperty)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyOutput) +} + +type GetJobDefinitionNodePropertyNodeRangeProperty struct { + // The container details for the node range. + Containers []GetJobDefinitionNodePropertyNodeRangePropertyContainer `pulumi:"containers"` + // The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. I + TargetNodes string `pulumi:"targetNodes"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyArgs and GetJobDefinitionNodePropertyNodeRangePropertyOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyOutput() GetJobDefinitionNodePropertyNodeRangePropertyOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyArgs struct { + // The container details for the node range. + Containers GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayInput `pulumi:"containers"` + // The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. I + TargetNodes pulumi.StringInput `pulumi:"targetNodes"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangeProperty)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyOutput() GetJobDefinitionNodePropertyNodeRangePropertyOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyArray and GetJobDefinitionNodePropertyNodeRangePropertyArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyArray{ GetJobDefinitionNodePropertyNodeRangePropertyArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyArray []GetJobDefinitionNodePropertyNodeRangePropertyInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangeProperty)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyArray) ToGetJobDefinitionNodePropertyNodeRangePropertyArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyArray) ToGetJobDefinitionNodePropertyNodeRangePropertyArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangeProperty)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyOutput() GetJobDefinitionNodePropertyNodeRangePropertyOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyOutput { + return o +} + +// The container details for the node range. +func (o GetJobDefinitionNodePropertyNodeRangePropertyOutput) Containers() GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangeProperty) []GetJobDefinitionNodePropertyNodeRangePropertyContainer { + return v.Containers + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput) +} + +// The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. I +func (o GetJobDefinitionNodePropertyNodeRangePropertyOutput) TargetNodes() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangeProperty) string { return v.TargetNodes }).(pulumi.StringOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangeProperty)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangeProperty { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangeProperty)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainer struct { + // The command that's passed to the container. + Commands []string `pulumi:"commands"` + // The environment variables to pass to a container. + Environments []GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment `pulumi:"environments"` + // The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. + EphemeralStorages []GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage `pulumi:"ephemeralStorages"` + // The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. + ExecutionRoleArn string `pulumi:"executionRoleArn"` + // The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter. + FargatePlatformConfigurations []GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration `pulumi:"fargatePlatformConfigurations"` + // The image used to start a container. + Image string `pulumi:"image"` + // The instance type to use for a multi-node parallel job. + InstanceType string `pulumi:"instanceType"` + // The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. + JobRoleArn string `pulumi:"jobRoleArn"` + // Linux-specific modifications that are applied to the container. + LinuxParameters []GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter `pulumi:"linuxParameters"` + // The log configuration specification for the container. + LogConfigurations []GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration `pulumi:"logConfigurations"` + // The mount points for data volumes in your container. + MountPoints []GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint `pulumi:"mountPoints"` + // The network configuration for jobs that are running on Fargate resources. + NetworkConfigurations []GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration `pulumi:"networkConfigurations"` + // When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). + Privileged bool `pulumi:"privileged"` + // When this parameter is true, the container is given read-only access to its root file system. + ReadonlyRootFilesystem bool `pulumi:"readonlyRootFilesystem"` + // The type and amount of resources to assign to a container. + ResourceRequirements []GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement `pulumi:"resourceRequirements"` + // An object that represents the compute environment architecture for AWS Batch jobs on Fargate. + RuntimePlatforms []GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform `pulumi:"runtimePlatforms"` + // The secrets for the container. + Secrets []GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret `pulumi:"secrets"` + // A list of ulimits to set in the container. + Ulimits []GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit `pulumi:"ulimits"` + // The user name to use inside the container. + User string `pulumi:"user"` + // A list of data volumes used in a job. + Volumes []GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume `pulumi:"volumes"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerArgs struct { + // The command that's passed to the container. + Commands pulumi.StringArrayInput `pulumi:"commands"` + // The environment variables to pass to a container. + Environments GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayInput `pulumi:"environments"` + // The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. + EphemeralStorages GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayInput `pulumi:"ephemeralStorages"` + // The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. + ExecutionRoleArn pulumi.StringInput `pulumi:"executionRoleArn"` + // The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter. + FargatePlatformConfigurations GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayInput `pulumi:"fargatePlatformConfigurations"` + // The image used to start a container. + Image pulumi.StringInput `pulumi:"image"` + // The instance type to use for a multi-node parallel job. + InstanceType pulumi.StringInput `pulumi:"instanceType"` + // The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. + JobRoleArn pulumi.StringInput `pulumi:"jobRoleArn"` + // Linux-specific modifications that are applied to the container. + LinuxParameters GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayInput `pulumi:"linuxParameters"` + // The log configuration specification for the container. + LogConfigurations GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayInput `pulumi:"logConfigurations"` + // The mount points for data volumes in your container. + MountPoints GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayInput `pulumi:"mountPoints"` + // The network configuration for jobs that are running on Fargate resources. + NetworkConfigurations GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayInput `pulumi:"networkConfigurations"` + // When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). + Privileged pulumi.BoolInput `pulumi:"privileged"` + // When this parameter is true, the container is given read-only access to its root file system. + ReadonlyRootFilesystem pulumi.BoolInput `pulumi:"readonlyRootFilesystem"` + // The type and amount of resources to assign to a container. + ResourceRequirements GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayInput `pulumi:"resourceRequirements"` + // An object that represents the compute environment architecture for AWS Batch jobs on Fargate. + RuntimePlatforms GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayInput `pulumi:"runtimePlatforms"` + // The secrets for the container. + Secrets GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayInput `pulumi:"secrets"` + // A list of ulimits to set in the container. + Ulimits GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayInput `pulumi:"ulimits"` + // The user name to use inside the container. + User pulumi.StringInput `pulumi:"user"` + // A list of data volumes used in a job. + Volumes GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayInput `pulumi:"volumes"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainer)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainer)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainer)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput { + return o +} + +// The command that's passed to the container. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) []string { return v.Commands }).(pulumi.StringArrayOutput) +} + +// The environment variables to pass to a container. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) Environments() GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) []GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment { + return v.Environments + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput) +} + +// The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) EphemeralStorages() GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) []GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage { + return v.EphemeralStorages + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput) +} + +// The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) ExecutionRoleArn() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) string { return v.ExecutionRoleArn }).(pulumi.StringOutput) +} + +// The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) FargatePlatformConfigurations() GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) []GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration { + return v.FargatePlatformConfigurations + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput) +} + +// The image used to start a container. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) Image() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) string { return v.Image }).(pulumi.StringOutput) +} + +// The instance type to use for a multi-node parallel job. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) InstanceType() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) string { return v.InstanceType }).(pulumi.StringOutput) +} + +// The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) JobRoleArn() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) string { return v.JobRoleArn }).(pulumi.StringOutput) +} + +// Linux-specific modifications that are applied to the container. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) LinuxParameters() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) []GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter { + return v.LinuxParameters + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput) +} + +// The log configuration specification for the container. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) LogConfigurations() GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) []GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration { + return v.LogConfigurations + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput) +} + +// The mount points for data volumes in your container. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) MountPoints() GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) []GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint { + return v.MountPoints + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput) +} + +// The network configuration for jobs that are running on Fargate resources. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) NetworkConfigurations() GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) []GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration { + return v.NetworkConfigurations + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput) +} + +// When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) Privileged() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) bool { return v.Privileged }).(pulumi.BoolOutput) +} + +// When this parameter is true, the container is given read-only access to its root file system. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) ReadonlyRootFilesystem() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) bool { return v.ReadonlyRootFilesystem }).(pulumi.BoolOutput) +} + +// The type and amount of resources to assign to a container. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) ResourceRequirements() GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) []GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement { + return v.ResourceRequirements + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput) +} + +// An object that represents the compute environment architecture for AWS Batch jobs on Fargate. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) RuntimePlatforms() GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) []GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform { + return v.RuntimePlatforms + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput) +} + +// The secrets for the container. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) Secrets() GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) []GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret { + return v.Secrets + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput) +} + +// A list of ulimits to set in the container. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) Ulimits() GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) []GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit { + return v.Ulimits + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput) +} + +// The user name to use inside the container. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) string { return v.User }).(pulumi.StringOutput) +} + +// A list of data volumes used in a job. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) Volumes() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainer) []GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume { + return v.Volumes + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainer)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainer { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainer)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment struct { + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name string `pulumi:"name"` + // The quantity of the specified resource to reserve for the container. + Value string `pulumi:"value"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArgs struct { + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name pulumi.StringInput `pulumi:"name"` + // The quantity of the specified resource to reserve for the container. + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput { + return o +} + +// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment) string { return v.Name }).(pulumi.StringOutput) +} + +// The quantity of the specified resource to reserve for the container. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment) string { return v.Value }).(pulumi.StringOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage struct { + SizeInGib int `pulumi:"sizeInGib"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArgs struct { + SizeInGib pulumi.IntInput `pulumi:"sizeInGib"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput) SizeInGib() pulumi.IntOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage) int { return v.SizeInGib }).(pulumi.IntOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration struct { + // The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. + PlatformVersion string `pulumi:"platformVersion"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArgs struct { + // The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. + PlatformVersion pulumi.StringInput `pulumi:"platformVersion"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput { + return o +} + +// The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput) PlatformVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration) string { + return v.PlatformVersion + }).(pulumi.StringOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter struct { + // Any of the host devices to expose to the container. + Devices []GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice `pulumi:"devices"` + // If true, run an init process inside the container that forwards signals and reaps processes. + InitProcessEnabled bool `pulumi:"initProcessEnabled"` + // The total amount of swap memory (in MiB) a container can use. + MaxSwap int `pulumi:"maxSwap"` + // The value for the size (in MiB) of the `/dev/shm` volume. + SharedMemorySize int `pulumi:"sharedMemorySize"` + // You can use this parameter to tune a container's memory swappiness behavior. + Swappiness int `pulumi:"swappiness"` + // The container path, mount options, and size (in MiB) of the tmpfs mount. + Tmpfs []GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf `pulumi:"tmpfs"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArgs struct { + // Any of the host devices to expose to the container. + Devices GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayInput `pulumi:"devices"` + // If true, run an init process inside the container that forwards signals and reaps processes. + InitProcessEnabled pulumi.BoolInput `pulumi:"initProcessEnabled"` + // The total amount of swap memory (in MiB) a container can use. + MaxSwap pulumi.IntInput `pulumi:"maxSwap"` + // The value for the size (in MiB) of the `/dev/shm` volume. + SharedMemorySize pulumi.IntInput `pulumi:"sharedMemorySize"` + // You can use this parameter to tune a container's memory swappiness behavior. + Swappiness pulumi.IntInput `pulumi:"swappiness"` + // The container path, mount options, and size (in MiB) of the tmpfs mount. + Tmpfs GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayInput `pulumi:"tmpfs"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput { + return o +} + +// Any of the host devices to expose to the container. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput) Devices() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter) []GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice { + return v.Devices + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput) +} + +// If true, run an init process inside the container that forwards signals and reaps processes. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput) InitProcessEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter) bool { + return v.InitProcessEnabled + }).(pulumi.BoolOutput) +} + +// The total amount of swap memory (in MiB) a container can use. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput) MaxSwap() pulumi.IntOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter) int { return v.MaxSwap }).(pulumi.IntOutput) +} + +// The value for the size (in MiB) of the `/dev/shm` volume. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput) SharedMemorySize() pulumi.IntOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter) int { + return v.SharedMemorySize + }).(pulumi.IntOutput) +} + +// You can use this parameter to tune a container's memory swappiness behavior. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput) Swappiness() pulumi.IntOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter) int { return v.Swappiness }).(pulumi.IntOutput) +} + +// The container path, mount options, and size (in MiB) of the tmpfs mount. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput) Tmpfs() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter) []GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf { + return v.Tmpfs + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice struct { + // The absolute file path in the container where the tmpfs volume is mounted. + ContainerPath string `pulumi:"containerPath"` + // The path for the device on the host container instance. + HostPath string `pulumi:"hostPath"` + // The explicit permissions to provide to the container for the device. + Permissions []string `pulumi:"permissions"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArgs struct { + // The absolute file path in the container where the tmpfs volume is mounted. + ContainerPath pulumi.StringInput `pulumi:"containerPath"` + // The path for the device on the host container instance. + HostPath pulumi.StringInput `pulumi:"hostPath"` + // The explicit permissions to provide to the container for the device. + Permissions pulumi.StringArrayInput `pulumi:"permissions"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput { + return o +} + +// The absolute file path in the container where the tmpfs volume is mounted. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput) ContainerPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice) string { + return v.ContainerPath + }).(pulumi.StringOutput) +} + +// The path for the device on the host container instance. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput) HostPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice) string { + return v.HostPath + }).(pulumi.StringOutput) +} + +// The explicit permissions to provide to the container for the device. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput) Permissions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice) []string { + return v.Permissions + }).(pulumi.StringArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf struct { + // The absolute file path in the container where the tmpfs volume is mounted. + ContainerPath string `pulumi:"containerPath"` + // The list of tmpfs volume mount options. + MountOptions []string `pulumi:"mountOptions"` + // The size (in MiB) of the tmpfs volume. + Size int `pulumi:"size"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArgs struct { + // The absolute file path in the container where the tmpfs volume is mounted. + ContainerPath pulumi.StringInput `pulumi:"containerPath"` + // The list of tmpfs volume mount options. + MountOptions pulumi.StringArrayInput `pulumi:"mountOptions"` + // The size (in MiB) of the tmpfs volume. + Size pulumi.IntInput `pulumi:"size"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput { + return o +} + +// The absolute file path in the container where the tmpfs volume is mounted. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput) ContainerPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf) string { + return v.ContainerPath + }).(pulumi.StringOutput) +} + +// The list of tmpfs volume mount options. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput) MountOptions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf) []string { + return v.MountOptions + }).(pulumi.StringArrayOutput) +} + +// The size (in MiB) of the tmpfs volume. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput) Size() pulumi.IntOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf) int { return v.Size }).(pulumi.IntOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration struct { + // The log driver to use for the container. + LogDriver string `pulumi:"logDriver"` + // The configuration options to send to the log driver. + Options map[string]interface{} `pulumi:"options"` + // The secrets to pass to the log configuration. + SecretOptions []GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption `pulumi:"secretOptions"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArgs struct { + // The log driver to use for the container. + LogDriver pulumi.StringInput `pulumi:"logDriver"` + // The configuration options to send to the log driver. + Options pulumi.MapInput `pulumi:"options"` + // The secrets to pass to the log configuration. + SecretOptions GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayInput `pulumi:"secretOptions"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput { + return o +} + +// The log driver to use for the container. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput) LogDriver() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration) string { + return v.LogDriver + }).(pulumi.StringOutput) +} + +// The configuration options to send to the log driver. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration) map[string]interface{} { + return v.Options + }).(pulumi.MapOutput) +} + +// The secrets to pass to the log configuration. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput) SecretOptions() GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration) []GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption { + return v.SecretOptions + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption struct { + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name string `pulumi:"name"` + // The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + ValueFrom string `pulumi:"valueFrom"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArgs struct { + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name pulumi.StringInput `pulumi:"name"` + // The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + ValueFrom pulumi.StringInput `pulumi:"valueFrom"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput { + return o +} + +// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption) string { + return v.Name + }).(pulumi.StringOutput) +} + +// The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput) ValueFrom() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption) string { + return v.ValueFrom + }).(pulumi.StringOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint struct { + // The absolute file path in the container where the tmpfs volume is mounted. + ContainerPath string `pulumi:"containerPath"` + // If this value is true, the container has read-only access to the volume. + ReadOnly bool `pulumi:"readOnly"` + // The name of the volume to mount. + SourceVolume string `pulumi:"sourceVolume"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArgs struct { + // The absolute file path in the container where the tmpfs volume is mounted. + ContainerPath pulumi.StringInput `pulumi:"containerPath"` + // If this value is true, the container has read-only access to the volume. + ReadOnly pulumi.BoolInput `pulumi:"readOnly"` + // The name of the volume to mount. + SourceVolume pulumi.StringInput `pulumi:"sourceVolume"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput { + return o +} + +// The absolute file path in the container where the tmpfs volume is mounted. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput) ContainerPath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint) string { + return v.ContainerPath + }).(pulumi.StringOutput) +} + +// If this value is true, the container has read-only access to the volume. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput) ReadOnly() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint) bool { return v.ReadOnly }).(pulumi.BoolOutput) +} + +// The name of the volume to mount. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput) SourceVolume() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint) string { return v.SourceVolume }).(pulumi.StringOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration struct { + // Indicates whether the job has a public IP address. + AssignPublicIp bool `pulumi:"assignPublicIp"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArgs struct { + // Indicates whether the job has a public IP address. + AssignPublicIp pulumi.BoolInput `pulumi:"assignPublicIp"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput { + return o +} + +// Indicates whether the job has a public IP address. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput) AssignPublicIp() pulumi.BoolOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration) bool { + return v.AssignPublicIp + }).(pulumi.BoolOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement struct { + // The type of resource to assign to a container. The supported resources include `GPU`, `MEMORY`, and `VCPU`. + Type string `pulumi:"type"` + // The quantity of the specified resource to reserve for the container. + Value string `pulumi:"value"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArgs struct { + // The type of resource to assign to a container. The supported resources include `GPU`, `MEMORY`, and `VCPU`. + Type pulumi.StringInput `pulumi:"type"` + // The quantity of the specified resource to reserve for the container. + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput { + return o +} + +// The type of resource to assign to a container. The supported resources include `GPU`, `MEMORY`, and `VCPU`. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement) string { + return v.Type + }).(pulumi.StringOutput) +} + +// The quantity of the specified resource to reserve for the container. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement) string { + return v.Value + }).(pulumi.StringOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform struct { + // The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64. + CpuArchitecture string `pulumi:"cpuArchitecture"` + // The operating system for the compute environment. V + OperatingSystemFamily string `pulumi:"operatingSystemFamily"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArgs struct { + // The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64. + CpuArchitecture pulumi.StringInput `pulumi:"cpuArchitecture"` + // The operating system for the compute environment. V + OperatingSystemFamily pulumi.StringInput `pulumi:"operatingSystemFamily"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput { + return o +} + +// The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput) CpuArchitecture() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform) string { + return v.CpuArchitecture + }).(pulumi.StringOutput) +} + +// The operating system for the compute environment. V +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput) OperatingSystemFamily() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform) string { + return v.OperatingSystemFamily + }).(pulumi.StringOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret struct { + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name string `pulumi:"name"` + // The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + ValueFrom string `pulumi:"valueFrom"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArgs struct { + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name pulumi.StringInput `pulumi:"name"` + // The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + ValueFrom pulumi.StringInput `pulumi:"valueFrom"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput { + return o +} + +// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret) string { return v.Name }).(pulumi.StringOutput) +} + +// The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput) ValueFrom() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret) string { return v.ValueFrom }).(pulumi.StringOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit struct { + // The hard limit for the ulimit type. + HardLimit int `pulumi:"hardLimit"` + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name string `pulumi:"name"` + // The soft limit for the ulimit type. + SoftLimit int `pulumi:"softLimit"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArgs struct { + // The hard limit for the ulimit type. + HardLimit pulumi.IntInput `pulumi:"hardLimit"` + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name pulumi.StringInput `pulumi:"name"` + // The soft limit for the ulimit type. + SoftLimit pulumi.IntInput `pulumi:"softLimit"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput { + return o +} + +// The hard limit for the ulimit type. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput) HardLimit() pulumi.IntOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit) int { return v.HardLimit }).(pulumi.IntOutput) +} + +// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit) string { return v.Name }).(pulumi.StringOutput) +} + +// The soft limit for the ulimit type. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput) SoftLimit() pulumi.IntOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit) int { return v.SoftLimit }).(pulumi.IntOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume struct { + // This parameter is specified when you're using an Amazon Elastic File System file system for job storage. + EfsVolumeConfigurations []GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration `pulumi:"efsVolumeConfigurations"` + // The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored. + Hosts []GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost `pulumi:"hosts"` + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name string `pulumi:"name"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArgs struct { + // This parameter is specified when you're using an Amazon Elastic File System file system for job storage. + EfsVolumeConfigurations GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayInput `pulumi:"efsVolumeConfigurations"` + // The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored. + Hosts GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayInput `pulumi:"hosts"` + // The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayInput` via: // -// GetJobDefinitionNodePropertyArgs{...} -type GetJobDefinitionNodePropertyInput interface { +// GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayInput interface { pulumi.Input - ToGetJobDefinitionNodePropertyOutput() GetJobDefinitionNodePropertyOutput - ToGetJobDefinitionNodePropertyOutputWithContext(context.Context) GetJobDefinitionNodePropertyOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput } -type GetJobDefinitionNodePropertyArgs struct { - // Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes. - MainNode pulumi.IntInput `pulumi:"mainNode"` - // A list of node ranges and their properties that are associated with a multi-node parallel job. - NodeRangeProperties pulumi.ArrayInput `pulumi:"nodeRangeProperties"` - // The number of nodes that are associated with a multi-node parallel job. - NumNodes pulumi.IntInput `pulumi:"numNodes"` +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume)(nil)).Elem() } -func (GetJobDefinitionNodePropertyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobDefinitionNodeProperty)(nil)).Elem() +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutputWithContext(context.Background()) } -func (i GetJobDefinitionNodePropertyArgs) ToGetJobDefinitionNodePropertyOutput() GetJobDefinitionNodePropertyOutput { - return i.ToGetJobDefinitionNodePropertyOutputWithContext(context.Background()) +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput) } -func (i GetJobDefinitionNodePropertyArgs) ToGetJobDefinitionNodePropertyOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyOutput) +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume)(nil)).Elem() } -// GetJobDefinitionNodePropertyArrayInput is an input type that accepts GetJobDefinitionNodePropertyArray and GetJobDefinitionNodePropertyArrayOutput values. -// You can construct a concrete instance of `GetJobDefinitionNodePropertyArrayInput` via: +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput { + return o +} + +// This parameter is specified when you're using an Amazon Elastic File System file system for job storage. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput) EfsVolumeConfigurations() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume) []GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration { + return v.EfsVolumeConfigurations + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput) +} + +// The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput) Hosts() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume) []GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost { + return v.Hosts + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput) +} + +// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume) string { return v.Name }).(pulumi.StringOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration struct { + // The authorization configuration details for the Amazon EFS file system. + AuthorizationConfigs []GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig `pulumi:"authorizationConfigs"` + // The Amazon EFS file system ID to use. + FileSystemId string `pulumi:"fileSystemId"` + // The directory within the Amazon EFS file system to mount as the root directory inside the host. + RootDirectory string `pulumi:"rootDirectory"` + // Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server + TransitEncryption string `pulumi:"transitEncryption"` + // The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. + TransitEncryptionPort int `pulumi:"transitEncryptionPort"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationInput` via: // -// GetJobDefinitionNodePropertyArray{ GetJobDefinitionNodePropertyArgs{...} } -type GetJobDefinitionNodePropertyArrayInput interface { +// GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationInput interface { pulumi.Input - ToGetJobDefinitionNodePropertyArrayOutput() GetJobDefinitionNodePropertyArrayOutput - ToGetJobDefinitionNodePropertyArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput } -type GetJobDefinitionNodePropertyArray []GetJobDefinitionNodePropertyInput +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArgs struct { + // The authorization configuration details for the Amazon EFS file system. + AuthorizationConfigs GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayInput `pulumi:"authorizationConfigs"` + // The Amazon EFS file system ID to use. + FileSystemId pulumi.StringInput `pulumi:"fileSystemId"` + // The directory within the Amazon EFS file system to mount as the root directory inside the host. + RootDirectory pulumi.StringInput `pulumi:"rootDirectory"` + // Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server + TransitEncryption pulumi.StringInput `pulumi:"transitEncryption"` + // The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. + TransitEncryptionPort pulumi.IntInput `pulumi:"transitEncryptionPort"` +} -func (GetJobDefinitionNodePropertyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobDefinitionNodeProperty)(nil)).Elem() +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration)(nil)).Elem() } -func (i GetJobDefinitionNodePropertyArray) ToGetJobDefinitionNodePropertyArrayOutput() GetJobDefinitionNodePropertyArrayOutput { - return i.ToGetJobDefinitionNodePropertyArrayOutputWithContext(context.Background()) +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutputWithContext(context.Background()) } -func (i GetJobDefinitionNodePropertyArray) ToGetJobDefinitionNodePropertyArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyArrayOutput) +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput) } -type GetJobDefinitionNodePropertyOutput struct{ *pulumi.OutputState } +// GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayInput interface { + pulumi.Input -func (GetJobDefinitionNodePropertyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetJobDefinitionNodeProperty)(nil)).Elem() + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput } -func (o GetJobDefinitionNodePropertyOutput) ToGetJobDefinitionNodePropertyOutput() GetJobDefinitionNodePropertyOutput { +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput { return o } -func (o GetJobDefinitionNodePropertyOutput) ToGetJobDefinitionNodePropertyOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyOutput { +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput { return o } -// Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes. -func (o GetJobDefinitionNodePropertyOutput) MainNode() pulumi.IntOutput { - return o.ApplyT(func(v GetJobDefinitionNodeProperty) int { return v.MainNode }).(pulumi.IntOutput) +// The authorization configuration details for the Amazon EFS file system. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput) AuthorizationConfigs() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration) []GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig { + return v.AuthorizationConfigs + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput) } -// A list of node ranges and their properties that are associated with a multi-node parallel job. -func (o GetJobDefinitionNodePropertyOutput) NodeRangeProperties() pulumi.ArrayOutput { - return o.ApplyT(func(v GetJobDefinitionNodeProperty) []interface{} { return v.NodeRangeProperties }).(pulumi.ArrayOutput) +// The Amazon EFS file system ID to use. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput) FileSystemId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration) string { + return v.FileSystemId + }).(pulumi.StringOutput) } -// The number of nodes that are associated with a multi-node parallel job. -func (o GetJobDefinitionNodePropertyOutput) NumNodes() pulumi.IntOutput { - return o.ApplyT(func(v GetJobDefinitionNodeProperty) int { return v.NumNodes }).(pulumi.IntOutput) +// The directory within the Amazon EFS file system to mount as the root directory inside the host. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput) RootDirectory() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration) string { + return v.RootDirectory + }).(pulumi.StringOutput) } -type GetJobDefinitionNodePropertyArrayOutput struct{ *pulumi.OutputState } +// Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput) TransitEncryption() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration) string { + return v.TransitEncryption + }).(pulumi.StringOutput) +} -func (GetJobDefinitionNodePropertyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetJobDefinitionNodeProperty)(nil)).Elem() +// The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput) TransitEncryptionPort() pulumi.IntOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration) int { + return v.TransitEncryptionPort + }).(pulumi.IntOutput) } -func (o GetJobDefinitionNodePropertyArrayOutput) ToGetJobDefinitionNodePropertyArrayOutput() GetJobDefinitionNodePropertyArrayOutput { +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput { return o } -func (o GetJobDefinitionNodePropertyArrayOutput) ToGetJobDefinitionNodePropertyArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyArrayOutput { +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput { return o } -func (o GetJobDefinitionNodePropertyArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodeProperty { - return vs[0].([]GetJobDefinitionNodeProperty)[vs[1].(int)] - }).(GetJobDefinitionNodePropertyOutput) +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig struct { + // The Amazon EFS access point ID to use. + AccessPointId string `pulumi:"accessPointId"` + // Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. + Iam string `pulumi:"iam"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArgs struct { + // The Amazon EFS access point ID to use. + AccessPointId pulumi.StringInput `pulumi:"accessPointId"` + // Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. + Iam pulumi.StringInput `pulumi:"iam"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput { + return o +} + +// The Amazon EFS access point ID to use. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput) AccessPointId() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig) string { + return v.AccessPointId + }).(pulumi.StringOutput) +} + +// Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput) Iam() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig) string { + return v.Iam + }).(pulumi.StringOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost struct { + // The path on the host container instance that's presented to the container. + SourcePath string `pulumi:"sourcePath"` +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArgs and GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArgs{...} +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArgs struct { + // The path on the host container instance that's presented to the container. + SourcePath pulumi.StringInput `pulumi:"sourcePath"` +} + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArgs) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput) +} + +// GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayInput is an input type that accepts GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArray and GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayInput` via: +// +// GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArray{ GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArgs{...} } +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayInput interface { + pulumi.Input + + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput + ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArray []GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostInput + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost)(nil)).Elem() +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput { + return i.ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArray) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput { + return o +} + +// The path on the host container instance that's presented to the container. +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput) SourcePath() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost) string { return v.SourcePath }).(pulumi.StringOutput) +} + +type GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost)(nil)).Elem() +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput() GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput) ToGetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput { + return o +} + +func (o GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost { + return vs[0].([]GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost)[vs[1].(int)] + }).(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput) } type GetJobDefinitionRetryStrategy struct { // The number of times to move a job to the RUNNABLE status. Attempts int `pulumi:"attempts"` // Array of up to 5 objects that specify the conditions where jobs are retried or failed. - EvaluateOnExits []interface{} `pulumi:"evaluateOnExits"` + EvaluateOnExits []GetJobDefinitionRetryStrategyEvaluateOnExit `pulumi:"evaluateOnExits"` } // GetJobDefinitionRetryStrategyInput is an input type that accepts GetJobDefinitionRetryStrategyArgs and GetJobDefinitionRetryStrategyOutput values. @@ -4268,7 +8040,7 @@ type GetJobDefinitionRetryStrategyArgs struct { // The number of times to move a job to the RUNNABLE status. Attempts pulumi.IntInput `pulumi:"attempts"` // Array of up to 5 objects that specify the conditions where jobs are retried or failed. - EvaluateOnExits pulumi.ArrayInput `pulumi:"evaluateOnExits"` + EvaluateOnExits GetJobDefinitionRetryStrategyEvaluateOnExitArrayInput `pulumi:"evaluateOnExits"` } func (GetJobDefinitionRetryStrategyArgs) ElementType() reflect.Type { @@ -4328,8 +8100,10 @@ func (o GetJobDefinitionRetryStrategyOutput) Attempts() pulumi.IntOutput { } // Array of up to 5 objects that specify the conditions where jobs are retried or failed. -func (o GetJobDefinitionRetryStrategyOutput) EvaluateOnExits() pulumi.ArrayOutput { - return o.ApplyT(func(v GetJobDefinitionRetryStrategy) []interface{} { return v.EvaluateOnExits }).(pulumi.ArrayOutput) +func (o GetJobDefinitionRetryStrategyOutput) EvaluateOnExits() GetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput { + return o.ApplyT(func(v GetJobDefinitionRetryStrategy) []GetJobDefinitionRetryStrategyEvaluateOnExit { + return v.EvaluateOnExits + }).(GetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput) } type GetJobDefinitionRetryStrategyArrayOutput struct{ *pulumi.OutputState } @@ -4352,6 +8126,130 @@ func (o GetJobDefinitionRetryStrategyArrayOutput) Index(i pulumi.IntInput) GetJo }).(GetJobDefinitionRetryStrategyOutput) } +type GetJobDefinitionRetryStrategyEvaluateOnExit struct { + // Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive. + Action string `pulumi:"action"` + // Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job. + OnExitCode string `pulumi:"onExitCode"` + // Contains a glob pattern to match against the Reason returned for a job. + OnReason string `pulumi:"onReason"` + // Contains a glob pattern to match against the StatusReason returned for a job. + OnStatusReason string `pulumi:"onStatusReason"` +} + +// GetJobDefinitionRetryStrategyEvaluateOnExitInput is an input type that accepts GetJobDefinitionRetryStrategyEvaluateOnExitArgs and GetJobDefinitionRetryStrategyEvaluateOnExitOutput values. +// You can construct a concrete instance of `GetJobDefinitionRetryStrategyEvaluateOnExitInput` via: +// +// GetJobDefinitionRetryStrategyEvaluateOnExitArgs{...} +type GetJobDefinitionRetryStrategyEvaluateOnExitInput interface { + pulumi.Input + + ToGetJobDefinitionRetryStrategyEvaluateOnExitOutput() GetJobDefinitionRetryStrategyEvaluateOnExitOutput + ToGetJobDefinitionRetryStrategyEvaluateOnExitOutputWithContext(context.Context) GetJobDefinitionRetryStrategyEvaluateOnExitOutput +} + +type GetJobDefinitionRetryStrategyEvaluateOnExitArgs struct { + // Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive. + Action pulumi.StringInput `pulumi:"action"` + // Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job. + OnExitCode pulumi.StringInput `pulumi:"onExitCode"` + // Contains a glob pattern to match against the Reason returned for a job. + OnReason pulumi.StringInput `pulumi:"onReason"` + // Contains a glob pattern to match against the StatusReason returned for a job. + OnStatusReason pulumi.StringInput `pulumi:"onStatusReason"` +} + +func (GetJobDefinitionRetryStrategyEvaluateOnExitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionRetryStrategyEvaluateOnExit)(nil)).Elem() +} + +func (i GetJobDefinitionRetryStrategyEvaluateOnExitArgs) ToGetJobDefinitionRetryStrategyEvaluateOnExitOutput() GetJobDefinitionRetryStrategyEvaluateOnExitOutput { + return i.ToGetJobDefinitionRetryStrategyEvaluateOnExitOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionRetryStrategyEvaluateOnExitArgs) ToGetJobDefinitionRetryStrategyEvaluateOnExitOutputWithContext(ctx context.Context) GetJobDefinitionRetryStrategyEvaluateOnExitOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionRetryStrategyEvaluateOnExitOutput) +} + +// GetJobDefinitionRetryStrategyEvaluateOnExitArrayInput is an input type that accepts GetJobDefinitionRetryStrategyEvaluateOnExitArray and GetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput values. +// You can construct a concrete instance of `GetJobDefinitionRetryStrategyEvaluateOnExitArrayInput` via: +// +// GetJobDefinitionRetryStrategyEvaluateOnExitArray{ GetJobDefinitionRetryStrategyEvaluateOnExitArgs{...} } +type GetJobDefinitionRetryStrategyEvaluateOnExitArrayInput interface { + pulumi.Input + + ToGetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput() GetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput + ToGetJobDefinitionRetryStrategyEvaluateOnExitArrayOutputWithContext(context.Context) GetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput +} + +type GetJobDefinitionRetryStrategyEvaluateOnExitArray []GetJobDefinitionRetryStrategyEvaluateOnExitInput + +func (GetJobDefinitionRetryStrategyEvaluateOnExitArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionRetryStrategyEvaluateOnExit)(nil)).Elem() +} + +func (i GetJobDefinitionRetryStrategyEvaluateOnExitArray) ToGetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput() GetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput { + return i.ToGetJobDefinitionRetryStrategyEvaluateOnExitArrayOutputWithContext(context.Background()) +} + +func (i GetJobDefinitionRetryStrategyEvaluateOnExitArray) ToGetJobDefinitionRetryStrategyEvaluateOnExitArrayOutputWithContext(ctx context.Context) GetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput) +} + +type GetJobDefinitionRetryStrategyEvaluateOnExitOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionRetryStrategyEvaluateOnExitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetJobDefinitionRetryStrategyEvaluateOnExit)(nil)).Elem() +} + +func (o GetJobDefinitionRetryStrategyEvaluateOnExitOutput) ToGetJobDefinitionRetryStrategyEvaluateOnExitOutput() GetJobDefinitionRetryStrategyEvaluateOnExitOutput { + return o +} + +func (o GetJobDefinitionRetryStrategyEvaluateOnExitOutput) ToGetJobDefinitionRetryStrategyEvaluateOnExitOutputWithContext(ctx context.Context) GetJobDefinitionRetryStrategyEvaluateOnExitOutput { + return o +} + +// Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive. +func (o GetJobDefinitionRetryStrategyEvaluateOnExitOutput) Action() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionRetryStrategyEvaluateOnExit) string { return v.Action }).(pulumi.StringOutput) +} + +// Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job. +func (o GetJobDefinitionRetryStrategyEvaluateOnExitOutput) OnExitCode() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionRetryStrategyEvaluateOnExit) string { return v.OnExitCode }).(pulumi.StringOutput) +} + +// Contains a glob pattern to match against the Reason returned for a job. +func (o GetJobDefinitionRetryStrategyEvaluateOnExitOutput) OnReason() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionRetryStrategyEvaluateOnExit) string { return v.OnReason }).(pulumi.StringOutput) +} + +// Contains a glob pattern to match against the StatusReason returned for a job. +func (o GetJobDefinitionRetryStrategyEvaluateOnExitOutput) OnStatusReason() pulumi.StringOutput { + return o.ApplyT(func(v GetJobDefinitionRetryStrategyEvaluateOnExit) string { return v.OnStatusReason }).(pulumi.StringOutput) +} + +type GetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput struct{ *pulumi.OutputState } + +func (GetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetJobDefinitionRetryStrategyEvaluateOnExit)(nil)).Elem() +} + +func (o GetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ToGetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput() GetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput { + return o +} + +func (o GetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ToGetJobDefinitionRetryStrategyEvaluateOnExitArrayOutputWithContext(ctx context.Context) GetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput { + return o +} + +func (o GetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput) Index(i pulumi.IntInput) GetJobDefinitionRetryStrategyEvaluateOnExitOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetJobDefinitionRetryStrategyEvaluateOnExit { + return vs[0].([]GetJobDefinitionRetryStrategyEvaluateOnExit)[vs[1].(int)] + }).(GetJobDefinitionRetryStrategyEvaluateOnExitOutput) +} + type GetJobDefinitionTimeout struct { // The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp. AttemptDurationSeconds int `pulumi:"attemptDurationSeconds"` @@ -4822,10 +8720,74 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetComputeEnvironmentUpdatePolicyArrayInput)(nil)).Elem(), GetComputeEnvironmentUpdatePolicyArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyInput)(nil)).Elem(), GetJobDefinitionEksPropertyArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyArrayInput)(nil)).Elem(), GetJobDefinitionEksPropertyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyArrayInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyContainerArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerArrayInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyContainerArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerEnvInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyContainerEnvArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyContainerEnvArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerResourceInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyContainerResourceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyContainerResourceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyMetadataInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyMetadataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyMetadataArrayInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyMetadataArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyVolumeInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyVolumeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyVolumeArrayInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyVolumeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyVolumeHostPathInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyVolumeSecretInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyVolumeSecretArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayInput)(nil)).Elem(), GetJobDefinitionEksPropertyPodPropertyVolumeSecretArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyInput)(nil)).Elem(), GetJobDefinitionNodePropertyArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayInput)(nil)).Elem(), GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionRetryStrategyInput)(nil)).Elem(), GetJobDefinitionRetryStrategyArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionRetryStrategyArrayInput)(nil)).Elem(), GetJobDefinitionRetryStrategyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionRetryStrategyEvaluateOnExitInput)(nil)).Elem(), GetJobDefinitionRetryStrategyEvaluateOnExitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionRetryStrategyEvaluateOnExitArrayInput)(nil)).Elem(), GetJobDefinitionRetryStrategyEvaluateOnExitArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionTimeoutInput)(nil)).Elem(), GetJobDefinitionTimeoutArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobDefinitionTimeoutArrayInput)(nil)).Elem(), GetJobDefinitionTimeoutArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetJobQueueComputeEnvironmentOrderInput)(nil)).Elem(), GetJobQueueComputeEnvironmentOrderArgs{}) @@ -4886,10 +8848,74 @@ func init() { pulumi.RegisterOutputType(GetComputeEnvironmentUpdatePolicyArrayOutput{}) pulumi.RegisterOutputType(GetJobDefinitionEksPropertyOutput{}) pulumi.RegisterOutputType(GetJobDefinitionEksPropertyArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyContainerOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyContainerArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyContainerEnvOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyContainerEnvArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyContainerResourceOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyContainerResourceArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyMetadataOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyMetadataArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyVolumeOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyVolumeArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyVolumeHostPathOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyVolumeSecretOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionEksPropertyPodPropertyVolumeSecretArrayOutput{}) pulumi.RegisterOutputType(GetJobDefinitionNodePropertyOutput{}) pulumi.RegisterOutputType(GetJobDefinitionNodePropertyArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArrayOutput{}) pulumi.RegisterOutputType(GetJobDefinitionRetryStrategyOutput{}) pulumi.RegisterOutputType(GetJobDefinitionRetryStrategyArrayOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionRetryStrategyEvaluateOnExitOutput{}) + pulumi.RegisterOutputType(GetJobDefinitionRetryStrategyEvaluateOnExitArrayOutput{}) pulumi.RegisterOutputType(GetJobDefinitionTimeoutOutput{}) pulumi.RegisterOutputType(GetJobDefinitionTimeoutArrayOutput{}) pulumi.RegisterOutputType(GetJobQueueComputeEnvironmentOrderOutput{}) diff --git a/sdk/go/aws/bedrock/pulumiTypes.go b/sdk/go/aws/bedrock/pulumiTypes.go index 926e3120b00..8bb45e1fb7d 100644 --- a/sdk/go/aws/bedrock/pulumiTypes.go +++ b/sdk/go/aws/bedrock/pulumiTypes.go @@ -738,7 +738,7 @@ type AgentAgentPromptOverrideConfiguration struct { // ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the `promptConfigurations` block must contain a `parserMode` value that is set to `OVERRIDDEN`. OverrideLambda string `pulumi:"overrideLambda"` // Configurations to override a prompt template in one part of an agent sequence. See `promptConfigurations` block for details. - PromptConfigurations []interface{} `pulumi:"promptConfigurations"` + PromptConfigurations []AgentAgentPromptOverrideConfigurationPromptConfiguration `pulumi:"promptConfigurations"` } // AgentAgentPromptOverrideConfigurationInput is an input type that accepts AgentAgentPromptOverrideConfigurationArgs and AgentAgentPromptOverrideConfigurationOutput values. @@ -756,7 +756,7 @@ type AgentAgentPromptOverrideConfigurationArgs struct { // ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the `promptConfigurations` block must contain a `parserMode` value that is set to `OVERRIDDEN`. OverrideLambda pulumi.StringInput `pulumi:"overrideLambda"` // Configurations to override a prompt template in one part of an agent sequence. See `promptConfigurations` block for details. - PromptConfigurations pulumi.ArrayInput `pulumi:"promptConfigurations"` + PromptConfigurations AgentAgentPromptOverrideConfigurationPromptConfigurationArrayInput `pulumi:"promptConfigurations"` } func (AgentAgentPromptOverrideConfigurationArgs) ElementType() reflect.Type { @@ -816,8 +816,10 @@ func (o AgentAgentPromptOverrideConfigurationOutput) OverrideLambda() pulumi.Str } // Configurations to override a prompt template in one part of an agent sequence. See `promptConfigurations` block for details. -func (o AgentAgentPromptOverrideConfigurationOutput) PromptConfigurations() pulumi.ArrayOutput { - return o.ApplyT(func(v AgentAgentPromptOverrideConfiguration) []interface{} { return v.PromptConfigurations }).(pulumi.ArrayOutput) +func (o AgentAgentPromptOverrideConfigurationOutput) PromptConfigurations() AgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput { + return o.ApplyT(func(v AgentAgentPromptOverrideConfiguration) []AgentAgentPromptOverrideConfigurationPromptConfiguration { + return v.PromptConfigurations + }).(AgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput) } type AgentAgentPromptOverrideConfigurationArrayOutput struct{ *pulumi.OutputState } @@ -840,6 +842,293 @@ func (o AgentAgentPromptOverrideConfigurationArrayOutput) Index(i pulumi.IntInpu }).(AgentAgentPromptOverrideConfigurationOutput) } +type AgentAgentPromptOverrideConfigurationPromptConfiguration struct { + // prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + BasePromptTemplate string `pulumi:"basePromptTemplate"` + // Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `promptType`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inferenceConfiguration` block for details. + InferenceConfigurations []AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration `pulumi:"inferenceConfigurations"` + // Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `promptType`. If you set the argument as `OVERRIDDEN`, the `overrideLambda` argument in the `promptOverrideConfiguration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + ParserMode string `pulumi:"parserMode"` + // Whether to override the default prompt template for this `promptType`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `basePromptTemplate`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + PromptCreationMode string `pulumi:"promptCreationMode"` + // Whether to allow the agent to carry out the step specified in the `promptType`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + PromptState string `pulumi:"promptState"` + // Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + PromptType string `pulumi:"promptType"` +} + +// AgentAgentPromptOverrideConfigurationPromptConfigurationInput is an input type that accepts AgentAgentPromptOverrideConfigurationPromptConfigurationArgs and AgentAgentPromptOverrideConfigurationPromptConfigurationOutput values. +// You can construct a concrete instance of `AgentAgentPromptOverrideConfigurationPromptConfigurationInput` via: +// +// AgentAgentPromptOverrideConfigurationPromptConfigurationArgs{...} +type AgentAgentPromptOverrideConfigurationPromptConfigurationInput interface { + pulumi.Input + + ToAgentAgentPromptOverrideConfigurationPromptConfigurationOutput() AgentAgentPromptOverrideConfigurationPromptConfigurationOutput + ToAgentAgentPromptOverrideConfigurationPromptConfigurationOutputWithContext(context.Context) AgentAgentPromptOverrideConfigurationPromptConfigurationOutput +} + +type AgentAgentPromptOverrideConfigurationPromptConfigurationArgs struct { + // prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + BasePromptTemplate pulumi.StringInput `pulumi:"basePromptTemplate"` + // Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `promptType`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inferenceConfiguration` block for details. + InferenceConfigurations AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayInput `pulumi:"inferenceConfigurations"` + // Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `promptType`. If you set the argument as `OVERRIDDEN`, the `overrideLambda` argument in the `promptOverrideConfiguration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + ParserMode pulumi.StringInput `pulumi:"parserMode"` + // Whether to override the default prompt template for this `promptType`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `basePromptTemplate`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + PromptCreationMode pulumi.StringInput `pulumi:"promptCreationMode"` + // Whether to allow the agent to carry out the step specified in the `promptType`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + PromptState pulumi.StringInput `pulumi:"promptState"` + // Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + PromptType pulumi.StringInput `pulumi:"promptType"` +} + +func (AgentAgentPromptOverrideConfigurationPromptConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AgentAgentPromptOverrideConfigurationPromptConfiguration)(nil)).Elem() +} + +func (i AgentAgentPromptOverrideConfigurationPromptConfigurationArgs) ToAgentAgentPromptOverrideConfigurationPromptConfigurationOutput() AgentAgentPromptOverrideConfigurationPromptConfigurationOutput { + return i.ToAgentAgentPromptOverrideConfigurationPromptConfigurationOutputWithContext(context.Background()) +} + +func (i AgentAgentPromptOverrideConfigurationPromptConfigurationArgs) ToAgentAgentPromptOverrideConfigurationPromptConfigurationOutputWithContext(ctx context.Context) AgentAgentPromptOverrideConfigurationPromptConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(AgentAgentPromptOverrideConfigurationPromptConfigurationOutput) +} + +// AgentAgentPromptOverrideConfigurationPromptConfigurationArrayInput is an input type that accepts AgentAgentPromptOverrideConfigurationPromptConfigurationArray and AgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput values. +// You can construct a concrete instance of `AgentAgentPromptOverrideConfigurationPromptConfigurationArrayInput` via: +// +// AgentAgentPromptOverrideConfigurationPromptConfigurationArray{ AgentAgentPromptOverrideConfigurationPromptConfigurationArgs{...} } +type AgentAgentPromptOverrideConfigurationPromptConfigurationArrayInput interface { + pulumi.Input + + ToAgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput() AgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput + ToAgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutputWithContext(context.Context) AgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput +} + +type AgentAgentPromptOverrideConfigurationPromptConfigurationArray []AgentAgentPromptOverrideConfigurationPromptConfigurationInput + +func (AgentAgentPromptOverrideConfigurationPromptConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AgentAgentPromptOverrideConfigurationPromptConfiguration)(nil)).Elem() +} + +func (i AgentAgentPromptOverrideConfigurationPromptConfigurationArray) ToAgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput() AgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput { + return i.ToAgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutputWithContext(context.Background()) +} + +func (i AgentAgentPromptOverrideConfigurationPromptConfigurationArray) ToAgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutputWithContext(ctx context.Context) AgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput) +} + +type AgentAgentPromptOverrideConfigurationPromptConfigurationOutput struct{ *pulumi.OutputState } + +func (AgentAgentPromptOverrideConfigurationPromptConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AgentAgentPromptOverrideConfigurationPromptConfiguration)(nil)).Elem() +} + +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationOutput) ToAgentAgentPromptOverrideConfigurationPromptConfigurationOutput() AgentAgentPromptOverrideConfigurationPromptConfigurationOutput { + return o +} + +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationOutput) ToAgentAgentPromptOverrideConfigurationPromptConfigurationOutputWithContext(ctx context.Context) AgentAgentPromptOverrideConfigurationPromptConfigurationOutput { + return o +} + +// prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationOutput) BasePromptTemplate() pulumi.StringOutput { + return o.ApplyT(func(v AgentAgentPromptOverrideConfigurationPromptConfiguration) string { return v.BasePromptTemplate }).(pulumi.StringOutput) +} + +// Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `promptType`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inferenceConfiguration` block for details. +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationOutput) InferenceConfigurations() AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput { + return o.ApplyT(func(v AgentAgentPromptOverrideConfigurationPromptConfiguration) []AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration { + return v.InferenceConfigurations + }).(AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput) +} + +// Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `promptType`. If you set the argument as `OVERRIDDEN`, the `overrideLambda` argument in the `promptOverrideConfiguration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationOutput) ParserMode() pulumi.StringOutput { + return o.ApplyT(func(v AgentAgentPromptOverrideConfigurationPromptConfiguration) string { return v.ParserMode }).(pulumi.StringOutput) +} + +// Whether to override the default prompt template for this `promptType`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `basePromptTemplate`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationOutput) PromptCreationMode() pulumi.StringOutput { + return o.ApplyT(func(v AgentAgentPromptOverrideConfigurationPromptConfiguration) string { return v.PromptCreationMode }).(pulumi.StringOutput) +} + +// Whether to allow the agent to carry out the step specified in the `promptType`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationOutput) PromptState() pulumi.StringOutput { + return o.ApplyT(func(v AgentAgentPromptOverrideConfigurationPromptConfiguration) string { return v.PromptState }).(pulumi.StringOutput) +} + +// Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationOutput) PromptType() pulumi.StringOutput { + return o.ApplyT(func(v AgentAgentPromptOverrideConfigurationPromptConfiguration) string { return v.PromptType }).(pulumi.StringOutput) +} + +type AgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (AgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AgentAgentPromptOverrideConfigurationPromptConfiguration)(nil)).Elem() +} + +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput) ToAgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput() AgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput { + return o +} + +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput) ToAgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutputWithContext(ctx context.Context) AgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput { + return o +} + +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput) Index(i pulumi.IntInput) AgentAgentPromptOverrideConfigurationPromptConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AgentAgentPromptOverrideConfigurationPromptConfiguration { + return vs[0].([]AgentAgentPromptOverrideConfigurationPromptConfiguration)[vs[1].(int)] + }).(AgentAgentPromptOverrideConfigurationPromptConfigurationOutput) +} + +type AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration struct { + // Maximum number of tokens to allow in the generated response. + MaxLength int `pulumi:"maxLength"` + // List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + StopSequences []string `pulumi:"stopSequences"` + // Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + Temperature float64 `pulumi:"temperature"` + // Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + TopK int `pulumi:"topK"` + // Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + TopP float64 `pulumi:"topP"` +} + +// AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationInput is an input type that accepts AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs and AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput values. +// You can construct a concrete instance of `AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationInput` via: +// +// AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs{...} +type AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationInput interface { + pulumi.Input + + ToAgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput() AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput + ToAgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutputWithContext(context.Context) AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput +} + +type AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs struct { + // Maximum number of tokens to allow in the generated response. + MaxLength pulumi.IntInput `pulumi:"maxLength"` + // List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + StopSequences pulumi.StringArrayInput `pulumi:"stopSequences"` + // Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + Temperature pulumi.Float64Input `pulumi:"temperature"` + // Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + TopK pulumi.IntInput `pulumi:"topK"` + // Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + TopP pulumi.Float64Input `pulumi:"topP"` +} + +func (AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration)(nil)).Elem() +} + +func (i AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs) ToAgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput() AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput { + return i.ToAgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutputWithContext(context.Background()) +} + +func (i AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs) ToAgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutputWithContext(ctx context.Context) AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput) +} + +// AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayInput is an input type that accepts AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArray and AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput values. +// You can construct a concrete instance of `AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayInput` via: +// +// AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArray{ AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs{...} } +type AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayInput interface { + pulumi.Input + + ToAgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput() AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput + ToAgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutputWithContext(context.Context) AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput +} + +type AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArray []AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationInput + +func (AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration)(nil)).Elem() +} + +func (i AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArray) ToAgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput() AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput { + return i.ToAgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutputWithContext(context.Background()) +} + +func (i AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArray) ToAgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutputWithContext(ctx context.Context) AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput) +} + +type AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput struct{ *pulumi.OutputState } + +func (AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration)(nil)).Elem() +} + +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput) ToAgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput() AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput { + return o +} + +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput) ToAgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutputWithContext(ctx context.Context) AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput { + return o +} + +// Maximum number of tokens to allow in the generated response. +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput) MaxLength() pulumi.IntOutput { + return o.ApplyT(func(v AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration) int { + return v.MaxLength + }).(pulumi.IntOutput) +} + +// List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput) StopSequences() pulumi.StringArrayOutput { + return o.ApplyT(func(v AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration) []string { + return v.StopSequences + }).(pulumi.StringArrayOutput) +} + +// Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput) Temperature() pulumi.Float64Output { + return o.ApplyT(func(v AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration) float64 { + return v.Temperature + }).(pulumi.Float64Output) +} + +// Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput) TopK() pulumi.IntOutput { + return o.ApplyT(func(v AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration) int { + return v.TopK + }).(pulumi.IntOutput) +} + +// Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput) TopP() pulumi.Float64Output { + return o.ApplyT(func(v AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration) float64 { + return v.TopP + }).(pulumi.Float64Output) +} + +type AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration)(nil)).Elem() +} + +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput) ToAgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput() AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput { + return o +} + +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput) ToAgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutputWithContext(ctx context.Context) AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput { + return o +} + +func (o AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput) Index(i pulumi.IntInput) AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration { + return vs[0].([]AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration)[vs[1].(int)] + }).(AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput) +} + type AgentAgentTimeouts struct { // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Create *string `pulumi:"create"` @@ -5745,7 +6034,7 @@ func (o GetCustomModelTrainingMetricArrayOutput) Index(i pulumi.IntInput) GetCus type GetCustomModelValidationDataConfig struct { // Information about the validators. - Validators []interface{} `pulumi:"validators"` + Validators []GetCustomModelValidationDataConfigValidator `pulumi:"validators"` } // GetCustomModelValidationDataConfigInput is an input type that accepts GetCustomModelValidationDataConfigArgs and GetCustomModelValidationDataConfigOutput values. @@ -5761,7 +6050,7 @@ type GetCustomModelValidationDataConfigInput interface { type GetCustomModelValidationDataConfigArgs struct { // Information about the validators. - Validators pulumi.ArrayInput `pulumi:"validators"` + Validators GetCustomModelValidationDataConfigValidatorArrayInput `pulumi:"validators"` } func (GetCustomModelValidationDataConfigArgs) ElementType() reflect.Type { @@ -5816,8 +6105,10 @@ func (o GetCustomModelValidationDataConfigOutput) ToGetCustomModelValidationData } // Information about the validators. -func (o GetCustomModelValidationDataConfigOutput) Validators() pulumi.ArrayOutput { - return o.ApplyT(func(v GetCustomModelValidationDataConfig) []interface{} { return v.Validators }).(pulumi.ArrayOutput) +func (o GetCustomModelValidationDataConfigOutput) Validators() GetCustomModelValidationDataConfigValidatorArrayOutput { + return o.ApplyT(func(v GetCustomModelValidationDataConfig) []GetCustomModelValidationDataConfigValidator { + return v.Validators + }).(GetCustomModelValidationDataConfigValidatorArrayOutput) } type GetCustomModelValidationDataConfigArrayOutput struct{ *pulumi.OutputState } @@ -5840,6 +6131,103 @@ func (o GetCustomModelValidationDataConfigArrayOutput) Index(i pulumi.IntInput) }).(GetCustomModelValidationDataConfigOutput) } +type GetCustomModelValidationDataConfigValidator struct { + // The S3 URI where the validation data is stored.. + S3Uri string `pulumi:"s3Uri"` +} + +// GetCustomModelValidationDataConfigValidatorInput is an input type that accepts GetCustomModelValidationDataConfigValidatorArgs and GetCustomModelValidationDataConfigValidatorOutput values. +// You can construct a concrete instance of `GetCustomModelValidationDataConfigValidatorInput` via: +// +// GetCustomModelValidationDataConfigValidatorArgs{...} +type GetCustomModelValidationDataConfigValidatorInput interface { + pulumi.Input + + ToGetCustomModelValidationDataConfigValidatorOutput() GetCustomModelValidationDataConfigValidatorOutput + ToGetCustomModelValidationDataConfigValidatorOutputWithContext(context.Context) GetCustomModelValidationDataConfigValidatorOutput +} + +type GetCustomModelValidationDataConfigValidatorArgs struct { + // The S3 URI where the validation data is stored.. + S3Uri pulumi.StringInput `pulumi:"s3Uri"` +} + +func (GetCustomModelValidationDataConfigValidatorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCustomModelValidationDataConfigValidator)(nil)).Elem() +} + +func (i GetCustomModelValidationDataConfigValidatorArgs) ToGetCustomModelValidationDataConfigValidatorOutput() GetCustomModelValidationDataConfigValidatorOutput { + return i.ToGetCustomModelValidationDataConfigValidatorOutputWithContext(context.Background()) +} + +func (i GetCustomModelValidationDataConfigValidatorArgs) ToGetCustomModelValidationDataConfigValidatorOutputWithContext(ctx context.Context) GetCustomModelValidationDataConfigValidatorOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCustomModelValidationDataConfigValidatorOutput) +} + +// GetCustomModelValidationDataConfigValidatorArrayInput is an input type that accepts GetCustomModelValidationDataConfigValidatorArray and GetCustomModelValidationDataConfigValidatorArrayOutput values. +// You can construct a concrete instance of `GetCustomModelValidationDataConfigValidatorArrayInput` via: +// +// GetCustomModelValidationDataConfigValidatorArray{ GetCustomModelValidationDataConfigValidatorArgs{...} } +type GetCustomModelValidationDataConfigValidatorArrayInput interface { + pulumi.Input + + ToGetCustomModelValidationDataConfigValidatorArrayOutput() GetCustomModelValidationDataConfigValidatorArrayOutput + ToGetCustomModelValidationDataConfigValidatorArrayOutputWithContext(context.Context) GetCustomModelValidationDataConfigValidatorArrayOutput +} + +type GetCustomModelValidationDataConfigValidatorArray []GetCustomModelValidationDataConfigValidatorInput + +func (GetCustomModelValidationDataConfigValidatorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCustomModelValidationDataConfigValidator)(nil)).Elem() +} + +func (i GetCustomModelValidationDataConfigValidatorArray) ToGetCustomModelValidationDataConfigValidatorArrayOutput() GetCustomModelValidationDataConfigValidatorArrayOutput { + return i.ToGetCustomModelValidationDataConfigValidatorArrayOutputWithContext(context.Background()) +} + +func (i GetCustomModelValidationDataConfigValidatorArray) ToGetCustomModelValidationDataConfigValidatorArrayOutputWithContext(ctx context.Context) GetCustomModelValidationDataConfigValidatorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCustomModelValidationDataConfigValidatorArrayOutput) +} + +type GetCustomModelValidationDataConfigValidatorOutput struct{ *pulumi.OutputState } + +func (GetCustomModelValidationDataConfigValidatorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCustomModelValidationDataConfigValidator)(nil)).Elem() +} + +func (o GetCustomModelValidationDataConfigValidatorOutput) ToGetCustomModelValidationDataConfigValidatorOutput() GetCustomModelValidationDataConfigValidatorOutput { + return o +} + +func (o GetCustomModelValidationDataConfigValidatorOutput) ToGetCustomModelValidationDataConfigValidatorOutputWithContext(ctx context.Context) GetCustomModelValidationDataConfigValidatorOutput { + return o +} + +// The S3 URI where the validation data is stored.. +func (o GetCustomModelValidationDataConfigValidatorOutput) S3Uri() pulumi.StringOutput { + return o.ApplyT(func(v GetCustomModelValidationDataConfigValidator) string { return v.S3Uri }).(pulumi.StringOutput) +} + +type GetCustomModelValidationDataConfigValidatorArrayOutput struct{ *pulumi.OutputState } + +func (GetCustomModelValidationDataConfigValidatorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCustomModelValidationDataConfigValidator)(nil)).Elem() +} + +func (o GetCustomModelValidationDataConfigValidatorArrayOutput) ToGetCustomModelValidationDataConfigValidatorArrayOutput() GetCustomModelValidationDataConfigValidatorArrayOutput { + return o +} + +func (o GetCustomModelValidationDataConfigValidatorArrayOutput) ToGetCustomModelValidationDataConfigValidatorArrayOutputWithContext(ctx context.Context) GetCustomModelValidationDataConfigValidatorArrayOutput { + return o +} + +func (o GetCustomModelValidationDataConfigValidatorArrayOutput) Index(i pulumi.IntInput) GetCustomModelValidationDataConfigValidatorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCustomModelValidationDataConfigValidator { + return vs[0].([]GetCustomModelValidationDataConfigValidator)[vs[1].(int)] + }).(GetCustomModelValidationDataConfigValidatorOutput) +} + type GetCustomModelValidationMetric struct { // The validation loss associated with the validator. ValidationLoss float64 `pulumi:"validationLoss"` @@ -6065,6 +6453,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*AgentAgentAliasTimeoutsPtrInput)(nil)).Elem(), AgentAgentAliasTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AgentAgentPromptOverrideConfigurationInput)(nil)).Elem(), AgentAgentPromptOverrideConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AgentAgentPromptOverrideConfigurationArrayInput)(nil)).Elem(), AgentAgentPromptOverrideConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AgentAgentPromptOverrideConfigurationPromptConfigurationInput)(nil)).Elem(), AgentAgentPromptOverrideConfigurationPromptConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AgentAgentPromptOverrideConfigurationPromptConfigurationArrayInput)(nil)).Elem(), AgentAgentPromptOverrideConfigurationPromptConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationInput)(nil)).Elem(), AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayInput)(nil)).Elem(), AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*AgentAgentTimeoutsInput)(nil)).Elem(), AgentAgentTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AgentAgentTimeoutsPtrInput)(nil)).Elem(), AgentAgentTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AgentDataSourceDataSourceConfigurationInput)(nil)).Elem(), AgentDataSourceDataSourceConfigurationArgs{}) @@ -6131,6 +6523,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetCustomModelTrainingMetricArrayInput)(nil)).Elem(), GetCustomModelTrainingMetricArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCustomModelValidationDataConfigInput)(nil)).Elem(), GetCustomModelValidationDataConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCustomModelValidationDataConfigArrayInput)(nil)).Elem(), GetCustomModelValidationDataConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCustomModelValidationDataConfigValidatorInput)(nil)).Elem(), GetCustomModelValidationDataConfigValidatorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCustomModelValidationDataConfigValidatorArrayInput)(nil)).Elem(), GetCustomModelValidationDataConfigValidatorArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCustomModelValidationMetricInput)(nil)).Elem(), GetCustomModelValidationMetricArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCustomModelValidationMetricArrayInput)(nil)).Elem(), GetCustomModelValidationMetricArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCustomModelsModelSummaryInput)(nil)).Elem(), GetCustomModelsModelSummaryArgs{}) @@ -6147,6 +6541,10 @@ func init() { pulumi.RegisterOutputType(AgentAgentAliasTimeoutsPtrOutput{}) pulumi.RegisterOutputType(AgentAgentPromptOverrideConfigurationOutput{}) pulumi.RegisterOutputType(AgentAgentPromptOverrideConfigurationArrayOutput{}) + pulumi.RegisterOutputType(AgentAgentPromptOverrideConfigurationPromptConfigurationOutput{}) + pulumi.RegisterOutputType(AgentAgentPromptOverrideConfigurationPromptConfigurationArrayOutput{}) + pulumi.RegisterOutputType(AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationOutput{}) + pulumi.RegisterOutputType(AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArrayOutput{}) pulumi.RegisterOutputType(AgentAgentTimeoutsOutput{}) pulumi.RegisterOutputType(AgentAgentTimeoutsPtrOutput{}) pulumi.RegisterOutputType(AgentDataSourceDataSourceConfigurationOutput{}) @@ -6213,6 +6611,8 @@ func init() { pulumi.RegisterOutputType(GetCustomModelTrainingMetricArrayOutput{}) pulumi.RegisterOutputType(GetCustomModelValidationDataConfigOutput{}) pulumi.RegisterOutputType(GetCustomModelValidationDataConfigArrayOutput{}) + pulumi.RegisterOutputType(GetCustomModelValidationDataConfigValidatorOutput{}) + pulumi.RegisterOutputType(GetCustomModelValidationDataConfigValidatorArrayOutput{}) pulumi.RegisterOutputType(GetCustomModelValidationMetricOutput{}) pulumi.RegisterOutputType(GetCustomModelValidationMetricArrayOutput{}) pulumi.RegisterOutputType(GetCustomModelsModelSummaryOutput{}) diff --git a/sdk/go/aws/bedrockfoundation/pulumiTypes.go b/sdk/go/aws/bedrockfoundation/pulumiTypes.go index dbf4e9664f8..9953ec30d1b 100644 --- a/sdk/go/aws/bedrockfoundation/pulumiTypes.go +++ b/sdk/go/aws/bedrockfoundation/pulumiTypes.go @@ -15,11 +15,11 @@ var _ = internal.GetEnvOrDefault type GetModelsModelSummary struct { // Customizations that the model supports. - CustomizationsSupporteds []interface{} `pulumi:"customizationsSupporteds"` + CustomizationsSupporteds []string `pulumi:"customizationsSupporteds"` // Inference types that the model supports. - InferenceTypesSupporteds []interface{} `pulumi:"inferenceTypesSupporteds"` + InferenceTypesSupporteds []string `pulumi:"inferenceTypesSupporteds"` // Input modalities that the model supports. - InputModalities []interface{} `pulumi:"inputModalities"` + InputModalities []string `pulumi:"inputModalities"` // Model ARN. ModelArn string `pulumi:"modelArn"` // Model identifier. @@ -27,7 +27,7 @@ type GetModelsModelSummary struct { // Model name. ModelName string `pulumi:"modelName"` // Output modalities that the model supports. - OutputModalities []interface{} `pulumi:"outputModalities"` + OutputModalities []string `pulumi:"outputModalities"` // Model provider name. ProviderName string `pulumi:"providerName"` // Indicates whether the model supports streaming. @@ -47,11 +47,11 @@ type GetModelsModelSummaryInput interface { type GetModelsModelSummaryArgs struct { // Customizations that the model supports. - CustomizationsSupporteds pulumi.ArrayInput `pulumi:"customizationsSupporteds"` + CustomizationsSupporteds pulumi.StringArrayInput `pulumi:"customizationsSupporteds"` // Inference types that the model supports. - InferenceTypesSupporteds pulumi.ArrayInput `pulumi:"inferenceTypesSupporteds"` + InferenceTypesSupporteds pulumi.StringArrayInput `pulumi:"inferenceTypesSupporteds"` // Input modalities that the model supports. - InputModalities pulumi.ArrayInput `pulumi:"inputModalities"` + InputModalities pulumi.StringArrayInput `pulumi:"inputModalities"` // Model ARN. ModelArn pulumi.StringInput `pulumi:"modelArn"` // Model identifier. @@ -59,7 +59,7 @@ type GetModelsModelSummaryArgs struct { // Model name. ModelName pulumi.StringInput `pulumi:"modelName"` // Output modalities that the model supports. - OutputModalities pulumi.ArrayInput `pulumi:"outputModalities"` + OutputModalities pulumi.StringArrayInput `pulumi:"outputModalities"` // Model provider name. ProviderName pulumi.StringInput `pulumi:"providerName"` // Indicates whether the model supports streaming. @@ -118,18 +118,18 @@ func (o GetModelsModelSummaryOutput) ToGetModelsModelSummaryOutputWithContext(ct } // Customizations that the model supports. -func (o GetModelsModelSummaryOutput) CustomizationsSupporteds() pulumi.ArrayOutput { - return o.ApplyT(func(v GetModelsModelSummary) []interface{} { return v.CustomizationsSupporteds }).(pulumi.ArrayOutput) +func (o GetModelsModelSummaryOutput) CustomizationsSupporteds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetModelsModelSummary) []string { return v.CustomizationsSupporteds }).(pulumi.StringArrayOutput) } // Inference types that the model supports. -func (o GetModelsModelSummaryOutput) InferenceTypesSupporteds() pulumi.ArrayOutput { - return o.ApplyT(func(v GetModelsModelSummary) []interface{} { return v.InferenceTypesSupporteds }).(pulumi.ArrayOutput) +func (o GetModelsModelSummaryOutput) InferenceTypesSupporteds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetModelsModelSummary) []string { return v.InferenceTypesSupporteds }).(pulumi.StringArrayOutput) } // Input modalities that the model supports. -func (o GetModelsModelSummaryOutput) InputModalities() pulumi.ArrayOutput { - return o.ApplyT(func(v GetModelsModelSummary) []interface{} { return v.InputModalities }).(pulumi.ArrayOutput) +func (o GetModelsModelSummaryOutput) InputModalities() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetModelsModelSummary) []string { return v.InputModalities }).(pulumi.StringArrayOutput) } // Model ARN. @@ -148,8 +148,8 @@ func (o GetModelsModelSummaryOutput) ModelName() pulumi.StringOutput { } // Output modalities that the model supports. -func (o GetModelsModelSummaryOutput) OutputModalities() pulumi.ArrayOutput { - return o.ApplyT(func(v GetModelsModelSummary) []interface{} { return v.OutputModalities }).(pulumi.ArrayOutput) +func (o GetModelsModelSummaryOutput) OutputModalities() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetModelsModelSummary) []string { return v.OutputModalities }).(pulumi.StringArrayOutput) } // Model provider name. diff --git a/sdk/go/aws/codeguruprofiler/pulumiTypes.go b/sdk/go/aws/codeguruprofiler/pulumiTypes.go index 4352563f313..927f7a7c7ac 100644 --- a/sdk/go/aws/codeguruprofiler/pulumiTypes.go +++ b/sdk/go/aws/codeguruprofiler/pulumiTypes.go @@ -245,9 +245,9 @@ func (o GetProfilingGroupAgentOrchestrationConfigArrayOutput) Index(i pulumi.Int } type GetProfilingGroupProfilingStatus struct { - LatestAgentOrchestratedAt string `pulumi:"latestAgentOrchestratedAt"` - LatestAgentProfileReportedAt string `pulumi:"latestAgentProfileReportedAt"` - LatestAggregatedProfiles []interface{} `pulumi:"latestAggregatedProfiles"` + LatestAgentOrchestratedAt string `pulumi:"latestAgentOrchestratedAt"` + LatestAgentProfileReportedAt string `pulumi:"latestAgentProfileReportedAt"` + LatestAggregatedProfiles []GetProfilingGroupProfilingStatusLatestAggregatedProfile `pulumi:"latestAggregatedProfiles"` } // GetProfilingGroupProfilingStatusInput is an input type that accepts GetProfilingGroupProfilingStatusArgs and GetProfilingGroupProfilingStatusOutput values. @@ -262,9 +262,9 @@ type GetProfilingGroupProfilingStatusInput interface { } type GetProfilingGroupProfilingStatusArgs struct { - LatestAgentOrchestratedAt pulumi.StringInput `pulumi:"latestAgentOrchestratedAt"` - LatestAgentProfileReportedAt pulumi.StringInput `pulumi:"latestAgentProfileReportedAt"` - LatestAggregatedProfiles pulumi.ArrayInput `pulumi:"latestAggregatedProfiles"` + LatestAgentOrchestratedAt pulumi.StringInput `pulumi:"latestAgentOrchestratedAt"` + LatestAgentProfileReportedAt pulumi.StringInput `pulumi:"latestAgentProfileReportedAt"` + LatestAggregatedProfiles GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayInput `pulumi:"latestAggregatedProfiles"` } func (GetProfilingGroupProfilingStatusArgs) ElementType() reflect.Type { @@ -326,8 +326,10 @@ func (o GetProfilingGroupProfilingStatusOutput) LatestAgentProfileReportedAt() p return o.ApplyT(func(v GetProfilingGroupProfilingStatus) string { return v.LatestAgentProfileReportedAt }).(pulumi.StringOutput) } -func (o GetProfilingGroupProfilingStatusOutput) LatestAggregatedProfiles() pulumi.ArrayOutput { - return o.ApplyT(func(v GetProfilingGroupProfilingStatus) []interface{} { return v.LatestAggregatedProfiles }).(pulumi.ArrayOutput) +func (o GetProfilingGroupProfilingStatusOutput) LatestAggregatedProfiles() GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput { + return o.ApplyT(func(v GetProfilingGroupProfilingStatus) []GetProfilingGroupProfilingStatusLatestAggregatedProfile { + return v.LatestAggregatedProfiles + }).(GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput) } type GetProfilingGroupProfilingStatusArrayOutput struct{ *pulumi.OutputState } @@ -350,6 +352,106 @@ func (o GetProfilingGroupProfilingStatusArrayOutput) Index(i pulumi.IntInput) Ge }).(GetProfilingGroupProfilingStatusOutput) } +type GetProfilingGroupProfilingStatusLatestAggregatedProfile struct { + Period string `pulumi:"period"` + Start string `pulumi:"start"` +} + +// GetProfilingGroupProfilingStatusLatestAggregatedProfileInput is an input type that accepts GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs and GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput values. +// You can construct a concrete instance of `GetProfilingGroupProfilingStatusLatestAggregatedProfileInput` via: +// +// GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs{...} +type GetProfilingGroupProfilingStatusLatestAggregatedProfileInput interface { + pulumi.Input + + ToGetProfilingGroupProfilingStatusLatestAggregatedProfileOutput() GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput + ToGetProfilingGroupProfilingStatusLatestAggregatedProfileOutputWithContext(context.Context) GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput +} + +type GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs struct { + Period pulumi.StringInput `pulumi:"period"` + Start pulumi.StringInput `pulumi:"start"` +} + +func (GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetProfilingGroupProfilingStatusLatestAggregatedProfile)(nil)).Elem() +} + +func (i GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileOutput() GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput { + return i.ToGetProfilingGroupProfilingStatusLatestAggregatedProfileOutputWithContext(context.Background()) +} + +func (i GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileOutputWithContext(ctx context.Context) GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput) +} + +// GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayInput is an input type that accepts GetProfilingGroupProfilingStatusLatestAggregatedProfileArray and GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput values. +// You can construct a concrete instance of `GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayInput` via: +// +// GetProfilingGroupProfilingStatusLatestAggregatedProfileArray{ GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs{...} } +type GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayInput interface { + pulumi.Input + + ToGetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput() GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput + ToGetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutputWithContext(context.Context) GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput +} + +type GetProfilingGroupProfilingStatusLatestAggregatedProfileArray []GetProfilingGroupProfilingStatusLatestAggregatedProfileInput + +func (GetProfilingGroupProfilingStatusLatestAggregatedProfileArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetProfilingGroupProfilingStatusLatestAggregatedProfile)(nil)).Elem() +} + +func (i GetProfilingGroupProfilingStatusLatestAggregatedProfileArray) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput() GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput { + return i.ToGetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutputWithContext(context.Background()) +} + +func (i GetProfilingGroupProfilingStatusLatestAggregatedProfileArray) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutputWithContext(ctx context.Context) GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput) +} + +type GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput struct{ *pulumi.OutputState } + +func (GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetProfilingGroupProfilingStatusLatestAggregatedProfile)(nil)).Elem() +} + +func (o GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileOutput() GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput { + return o +} + +func (o GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileOutputWithContext(ctx context.Context) GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput { + return o +} + +func (o GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput) Period() pulumi.StringOutput { + return o.ApplyT(func(v GetProfilingGroupProfilingStatusLatestAggregatedProfile) string { return v.Period }).(pulumi.StringOutput) +} + +func (o GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput) Start() pulumi.StringOutput { + return o.ApplyT(func(v GetProfilingGroupProfilingStatusLatestAggregatedProfile) string { return v.Start }).(pulumi.StringOutput) +} + +type GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput struct{ *pulumi.OutputState } + +func (GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetProfilingGroupProfilingStatusLatestAggregatedProfile)(nil)).Elem() +} + +func (o GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput() GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput { + return o +} + +func (o GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput) ToGetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutputWithContext(ctx context.Context) GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput { + return o +} + +func (o GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput) Index(i pulumi.IntInput) GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetProfilingGroupProfilingStatusLatestAggregatedProfile { + return vs[0].([]GetProfilingGroupProfilingStatusLatestAggregatedProfile)[vs[1].(int)] + }).(GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput) +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ProfilingGroupAgentOrchestrationConfigInput)(nil)).Elem(), ProfilingGroupAgentOrchestrationConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ProfilingGroupAgentOrchestrationConfigPtrInput)(nil)).Elem(), ProfilingGroupAgentOrchestrationConfigArgs{}) @@ -357,10 +459,14 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetProfilingGroupAgentOrchestrationConfigArrayInput)(nil)).Elem(), GetProfilingGroupAgentOrchestrationConfigArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetProfilingGroupProfilingStatusInput)(nil)).Elem(), GetProfilingGroupProfilingStatusArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetProfilingGroupProfilingStatusArrayInput)(nil)).Elem(), GetProfilingGroupProfilingStatusArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProfilingGroupProfilingStatusLatestAggregatedProfileInput)(nil)).Elem(), GetProfilingGroupProfilingStatusLatestAggregatedProfileArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayInput)(nil)).Elem(), GetProfilingGroupProfilingStatusLatestAggregatedProfileArray{}) pulumi.RegisterOutputType(ProfilingGroupAgentOrchestrationConfigOutput{}) pulumi.RegisterOutputType(ProfilingGroupAgentOrchestrationConfigPtrOutput{}) pulumi.RegisterOutputType(GetProfilingGroupAgentOrchestrationConfigOutput{}) pulumi.RegisterOutputType(GetProfilingGroupAgentOrchestrationConfigArrayOutput{}) pulumi.RegisterOutputType(GetProfilingGroupProfilingStatusOutput{}) pulumi.RegisterOutputType(GetProfilingGroupProfilingStatusArrayOutput{}) + pulumi.RegisterOutputType(GetProfilingGroupProfilingStatusLatestAggregatedProfileOutput{}) + pulumi.RegisterOutputType(GetProfilingGroupProfilingStatusLatestAggregatedProfileArrayOutput{}) } diff --git a/sdk/go/aws/guardduty/pulumiTypes.go b/sdk/go/aws/guardduty/pulumiTypes.go index efba1f565f6..0c763e0b61b 100644 --- a/sdk/go/aws/guardduty/pulumiTypes.go +++ b/sdk/go/aws/guardduty/pulumiTypes.go @@ -1444,7 +1444,7 @@ func (o FilterFindingCriteriaCriterionArrayOutput) Index(i pulumi.IntInput) Filt type MalwareProtectionPlanAction struct { // Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. - Taggings []interface{} `pulumi:"taggings"` + Taggings []MalwareProtectionPlanActionTagging `pulumi:"taggings"` } // MalwareProtectionPlanActionInput is an input type that accepts MalwareProtectionPlanActionArgs and MalwareProtectionPlanActionOutput values. @@ -1460,7 +1460,7 @@ type MalwareProtectionPlanActionInput interface { type MalwareProtectionPlanActionArgs struct { // Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. - Taggings pulumi.ArrayInput `pulumi:"taggings"` + Taggings MalwareProtectionPlanActionTaggingArrayInput `pulumi:"taggings"` } func (MalwareProtectionPlanActionArgs) ElementType() reflect.Type { @@ -1515,8 +1515,8 @@ func (o MalwareProtectionPlanActionOutput) ToMalwareProtectionPlanActionOutputWi } // Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. -func (o MalwareProtectionPlanActionOutput) Taggings() pulumi.ArrayOutput { - return o.ApplyT(func(v MalwareProtectionPlanAction) []interface{} { return v.Taggings }).(pulumi.ArrayOutput) +func (o MalwareProtectionPlanActionOutput) Taggings() MalwareProtectionPlanActionTaggingArrayOutput { + return o.ApplyT(func(v MalwareProtectionPlanAction) []MalwareProtectionPlanActionTagging { return v.Taggings }).(MalwareProtectionPlanActionTaggingArrayOutput) } type MalwareProtectionPlanActionArrayOutput struct{ *pulumi.OutputState } @@ -1539,6 +1539,103 @@ func (o MalwareProtectionPlanActionArrayOutput) Index(i pulumi.IntInput) Malware }).(MalwareProtectionPlanActionOutput) } +type MalwareProtectionPlanActionTagging struct { + // Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + Status string `pulumi:"status"` +} + +// MalwareProtectionPlanActionTaggingInput is an input type that accepts MalwareProtectionPlanActionTaggingArgs and MalwareProtectionPlanActionTaggingOutput values. +// You can construct a concrete instance of `MalwareProtectionPlanActionTaggingInput` via: +// +// MalwareProtectionPlanActionTaggingArgs{...} +type MalwareProtectionPlanActionTaggingInput interface { + pulumi.Input + + ToMalwareProtectionPlanActionTaggingOutput() MalwareProtectionPlanActionTaggingOutput + ToMalwareProtectionPlanActionTaggingOutputWithContext(context.Context) MalwareProtectionPlanActionTaggingOutput +} + +type MalwareProtectionPlanActionTaggingArgs struct { + // Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + Status pulumi.StringInput `pulumi:"status"` +} + +func (MalwareProtectionPlanActionTaggingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MalwareProtectionPlanActionTagging)(nil)).Elem() +} + +func (i MalwareProtectionPlanActionTaggingArgs) ToMalwareProtectionPlanActionTaggingOutput() MalwareProtectionPlanActionTaggingOutput { + return i.ToMalwareProtectionPlanActionTaggingOutputWithContext(context.Background()) +} + +func (i MalwareProtectionPlanActionTaggingArgs) ToMalwareProtectionPlanActionTaggingOutputWithContext(ctx context.Context) MalwareProtectionPlanActionTaggingOutput { + return pulumi.ToOutputWithContext(ctx, i).(MalwareProtectionPlanActionTaggingOutput) +} + +// MalwareProtectionPlanActionTaggingArrayInput is an input type that accepts MalwareProtectionPlanActionTaggingArray and MalwareProtectionPlanActionTaggingArrayOutput values. +// You can construct a concrete instance of `MalwareProtectionPlanActionTaggingArrayInput` via: +// +// MalwareProtectionPlanActionTaggingArray{ MalwareProtectionPlanActionTaggingArgs{...} } +type MalwareProtectionPlanActionTaggingArrayInput interface { + pulumi.Input + + ToMalwareProtectionPlanActionTaggingArrayOutput() MalwareProtectionPlanActionTaggingArrayOutput + ToMalwareProtectionPlanActionTaggingArrayOutputWithContext(context.Context) MalwareProtectionPlanActionTaggingArrayOutput +} + +type MalwareProtectionPlanActionTaggingArray []MalwareProtectionPlanActionTaggingInput + +func (MalwareProtectionPlanActionTaggingArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MalwareProtectionPlanActionTagging)(nil)).Elem() +} + +func (i MalwareProtectionPlanActionTaggingArray) ToMalwareProtectionPlanActionTaggingArrayOutput() MalwareProtectionPlanActionTaggingArrayOutput { + return i.ToMalwareProtectionPlanActionTaggingArrayOutputWithContext(context.Background()) +} + +func (i MalwareProtectionPlanActionTaggingArray) ToMalwareProtectionPlanActionTaggingArrayOutputWithContext(ctx context.Context) MalwareProtectionPlanActionTaggingArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MalwareProtectionPlanActionTaggingArrayOutput) +} + +type MalwareProtectionPlanActionTaggingOutput struct{ *pulumi.OutputState } + +func (MalwareProtectionPlanActionTaggingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MalwareProtectionPlanActionTagging)(nil)).Elem() +} + +func (o MalwareProtectionPlanActionTaggingOutput) ToMalwareProtectionPlanActionTaggingOutput() MalwareProtectionPlanActionTaggingOutput { + return o +} + +func (o MalwareProtectionPlanActionTaggingOutput) ToMalwareProtectionPlanActionTaggingOutputWithContext(ctx context.Context) MalwareProtectionPlanActionTaggingOutput { + return o +} + +// Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` +func (o MalwareProtectionPlanActionTaggingOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v MalwareProtectionPlanActionTagging) string { return v.Status }).(pulumi.StringOutput) +} + +type MalwareProtectionPlanActionTaggingArrayOutput struct{ *pulumi.OutputState } + +func (MalwareProtectionPlanActionTaggingArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MalwareProtectionPlanActionTagging)(nil)).Elem() +} + +func (o MalwareProtectionPlanActionTaggingArrayOutput) ToMalwareProtectionPlanActionTaggingArrayOutput() MalwareProtectionPlanActionTaggingArrayOutput { + return o +} + +func (o MalwareProtectionPlanActionTaggingArrayOutput) ToMalwareProtectionPlanActionTaggingArrayOutputWithContext(ctx context.Context) MalwareProtectionPlanActionTaggingArrayOutput { + return o +} + +func (o MalwareProtectionPlanActionTaggingArrayOutput) Index(i pulumi.IntInput) MalwareProtectionPlanActionTaggingOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MalwareProtectionPlanActionTagging { + return vs[0].([]MalwareProtectionPlanActionTagging)[vs[1].(int)] + }).(MalwareProtectionPlanActionTaggingOutput) +} + type MalwareProtectionPlanProtectedResource struct { // Information about the protected S3 bucket resource. See `s3Bucket` below. S3Bucket *MalwareProtectionPlanProtectedResourceS3Bucket `pulumi:"s3Bucket"` @@ -3217,6 +3314,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*FilterFindingCriteriaCriterionArrayInput)(nil)).Elem(), FilterFindingCriteriaCriterionArray{}) pulumi.RegisterInputType(reflect.TypeOf((*MalwareProtectionPlanActionInput)(nil)).Elem(), MalwareProtectionPlanActionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MalwareProtectionPlanActionArrayInput)(nil)).Elem(), MalwareProtectionPlanActionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MalwareProtectionPlanActionTaggingInput)(nil)).Elem(), MalwareProtectionPlanActionTaggingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MalwareProtectionPlanActionTaggingArrayInput)(nil)).Elem(), MalwareProtectionPlanActionTaggingArray{}) pulumi.RegisterInputType(reflect.TypeOf((*MalwareProtectionPlanProtectedResourceInput)(nil)).Elem(), MalwareProtectionPlanProtectedResourceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MalwareProtectionPlanProtectedResourcePtrInput)(nil)).Elem(), MalwareProtectionPlanProtectedResourceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MalwareProtectionPlanProtectedResourceS3BucketInput)(nil)).Elem(), MalwareProtectionPlanProtectedResourceS3BucketArgs{}) @@ -3263,6 +3362,8 @@ func init() { pulumi.RegisterOutputType(FilterFindingCriteriaCriterionArrayOutput{}) pulumi.RegisterOutputType(MalwareProtectionPlanActionOutput{}) pulumi.RegisterOutputType(MalwareProtectionPlanActionArrayOutput{}) + pulumi.RegisterOutputType(MalwareProtectionPlanActionTaggingOutput{}) + pulumi.RegisterOutputType(MalwareProtectionPlanActionTaggingArrayOutput{}) pulumi.RegisterOutputType(MalwareProtectionPlanProtectedResourceOutput{}) pulumi.RegisterOutputType(MalwareProtectionPlanProtectedResourcePtrOutput{}) pulumi.RegisterOutputType(MalwareProtectionPlanProtectedResourceS3BucketOutput{}) diff --git a/sdk/go/aws/identitystore/pulumiTypes.go b/sdk/go/aws/identitystore/pulumiTypes.go index b5e57a0661c..e0d3769052c 100644 --- a/sdk/go/aws/identitystore/pulumiTypes.go +++ b/sdk/go/aws/identitystore/pulumiTypes.go @@ -1831,7 +1831,7 @@ type GetGroupsGroup struct { // Group's display name. DisplayName string `pulumi:"displayName"` // List of identifiers issued to this resource by an external identity provider. - ExternalIds []interface{} `pulumi:"externalIds"` + ExternalIds []GetGroupsGroupExternalId `pulumi:"externalIds"` // Identifier of the group in the Identity Store. GroupId string `pulumi:"groupId"` // Identity Store ID associated with the Single Sign-On (SSO) Instance. @@ -1855,7 +1855,7 @@ type GetGroupsGroupArgs struct { // Group's display name. DisplayName pulumi.StringInput `pulumi:"displayName"` // List of identifiers issued to this resource by an external identity provider. - ExternalIds pulumi.ArrayInput `pulumi:"externalIds"` + ExternalIds GetGroupsGroupExternalIdArrayInput `pulumi:"externalIds"` // Identifier of the group in the Identity Store. GroupId pulumi.StringInput `pulumi:"groupId"` // Identity Store ID associated with the Single Sign-On (SSO) Instance. @@ -1924,8 +1924,8 @@ func (o GetGroupsGroupOutput) DisplayName() pulumi.StringOutput { } // List of identifiers issued to this resource by an external identity provider. -func (o GetGroupsGroupOutput) ExternalIds() pulumi.ArrayOutput { - return o.ApplyT(func(v GetGroupsGroup) []interface{} { return v.ExternalIds }).(pulumi.ArrayOutput) +func (o GetGroupsGroupOutput) ExternalIds() GetGroupsGroupExternalIdArrayOutput { + return o.ApplyT(func(v GetGroupsGroup) []GetGroupsGroupExternalId { return v.ExternalIds }).(GetGroupsGroupExternalIdArrayOutput) } // Identifier of the group in the Identity Store. @@ -1958,6 +1958,112 @@ func (o GetGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetGroupsGroupOutput }).(GetGroupsGroupOutput) } +type GetGroupsGroupExternalId struct { + // Identifier issued to this resource by an external identity provider. + Id string `pulumi:"id"` + // Issuer for an external identifier. + Issuer string `pulumi:"issuer"` +} + +// GetGroupsGroupExternalIdInput is an input type that accepts GetGroupsGroupExternalIdArgs and GetGroupsGroupExternalIdOutput values. +// You can construct a concrete instance of `GetGroupsGroupExternalIdInput` via: +// +// GetGroupsGroupExternalIdArgs{...} +type GetGroupsGroupExternalIdInput interface { + pulumi.Input + + ToGetGroupsGroupExternalIdOutput() GetGroupsGroupExternalIdOutput + ToGetGroupsGroupExternalIdOutputWithContext(context.Context) GetGroupsGroupExternalIdOutput +} + +type GetGroupsGroupExternalIdArgs struct { + // Identifier issued to this resource by an external identity provider. + Id pulumi.StringInput `pulumi:"id"` + // Issuer for an external identifier. + Issuer pulumi.StringInput `pulumi:"issuer"` +} + +func (GetGroupsGroupExternalIdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetGroupsGroupExternalId)(nil)).Elem() +} + +func (i GetGroupsGroupExternalIdArgs) ToGetGroupsGroupExternalIdOutput() GetGroupsGroupExternalIdOutput { + return i.ToGetGroupsGroupExternalIdOutputWithContext(context.Background()) +} + +func (i GetGroupsGroupExternalIdArgs) ToGetGroupsGroupExternalIdOutputWithContext(ctx context.Context) GetGroupsGroupExternalIdOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetGroupsGroupExternalIdOutput) +} + +// GetGroupsGroupExternalIdArrayInput is an input type that accepts GetGroupsGroupExternalIdArray and GetGroupsGroupExternalIdArrayOutput values. +// You can construct a concrete instance of `GetGroupsGroupExternalIdArrayInput` via: +// +// GetGroupsGroupExternalIdArray{ GetGroupsGroupExternalIdArgs{...} } +type GetGroupsGroupExternalIdArrayInput interface { + pulumi.Input + + ToGetGroupsGroupExternalIdArrayOutput() GetGroupsGroupExternalIdArrayOutput + ToGetGroupsGroupExternalIdArrayOutputWithContext(context.Context) GetGroupsGroupExternalIdArrayOutput +} + +type GetGroupsGroupExternalIdArray []GetGroupsGroupExternalIdInput + +func (GetGroupsGroupExternalIdArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetGroupsGroupExternalId)(nil)).Elem() +} + +func (i GetGroupsGroupExternalIdArray) ToGetGroupsGroupExternalIdArrayOutput() GetGroupsGroupExternalIdArrayOutput { + return i.ToGetGroupsGroupExternalIdArrayOutputWithContext(context.Background()) +} + +func (i GetGroupsGroupExternalIdArray) ToGetGroupsGroupExternalIdArrayOutputWithContext(ctx context.Context) GetGroupsGroupExternalIdArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetGroupsGroupExternalIdArrayOutput) +} + +type GetGroupsGroupExternalIdOutput struct{ *pulumi.OutputState } + +func (GetGroupsGroupExternalIdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetGroupsGroupExternalId)(nil)).Elem() +} + +func (o GetGroupsGroupExternalIdOutput) ToGetGroupsGroupExternalIdOutput() GetGroupsGroupExternalIdOutput { + return o +} + +func (o GetGroupsGroupExternalIdOutput) ToGetGroupsGroupExternalIdOutputWithContext(ctx context.Context) GetGroupsGroupExternalIdOutput { + return o +} + +// Identifier issued to this resource by an external identity provider. +func (o GetGroupsGroupExternalIdOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetGroupsGroupExternalId) string { return v.Id }).(pulumi.StringOutput) +} + +// Issuer for an external identifier. +func (o GetGroupsGroupExternalIdOutput) Issuer() pulumi.StringOutput { + return o.ApplyT(func(v GetGroupsGroupExternalId) string { return v.Issuer }).(pulumi.StringOutput) +} + +type GetGroupsGroupExternalIdArrayOutput struct{ *pulumi.OutputState } + +func (GetGroupsGroupExternalIdArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetGroupsGroupExternalId)(nil)).Elem() +} + +func (o GetGroupsGroupExternalIdArrayOutput) ToGetGroupsGroupExternalIdArrayOutput() GetGroupsGroupExternalIdArrayOutput { + return o +} + +func (o GetGroupsGroupExternalIdArrayOutput) ToGetGroupsGroupExternalIdArrayOutputWithContext(ctx context.Context) GetGroupsGroupExternalIdArrayOutput { + return o +} + +func (o GetGroupsGroupExternalIdArrayOutput) Index(i pulumi.IntInput) GetGroupsGroupExternalIdOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetGroupsGroupExternalId { + return vs[0].([]GetGroupsGroupExternalId)[vs[1].(int)] + }).(GetGroupsGroupExternalIdOutput) +} + type GetUserAddress struct { // The country that this address is in. Country string `pulumi:"country"` @@ -3255,6 +3361,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetGroupFilterPtrInput)(nil)).Elem(), GetGroupFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetGroupsGroupInput)(nil)).Elem(), GetGroupsGroupArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetGroupsGroupArrayInput)(nil)).Elem(), GetGroupsGroupArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetGroupsGroupExternalIdInput)(nil)).Elem(), GetGroupsGroupExternalIdArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetGroupsGroupExternalIdArrayInput)(nil)).Elem(), GetGroupsGroupExternalIdArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetUserAddressInput)(nil)).Elem(), GetUserAddressArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetUserAddressArrayInput)(nil)).Elem(), GetUserAddressArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetUserAlternateIdentifierInput)(nil)).Elem(), GetUserAlternateIdentifierArgs{}) @@ -3297,6 +3405,8 @@ func init() { pulumi.RegisterOutputType(GetGroupFilterPtrOutput{}) pulumi.RegisterOutputType(GetGroupsGroupOutput{}) pulumi.RegisterOutputType(GetGroupsGroupArrayOutput{}) + pulumi.RegisterOutputType(GetGroupsGroupExternalIdOutput{}) + pulumi.RegisterOutputType(GetGroupsGroupExternalIdArrayOutput{}) pulumi.RegisterOutputType(GetUserAddressOutput{}) pulumi.RegisterOutputType(GetUserAddressArrayOutput{}) pulumi.RegisterOutputType(GetUserAlternateIdentifierOutput{}) diff --git a/sdk/go/aws/lex/pulumiTypes1.go b/sdk/go/aws/lex/pulumiTypes1.go index eda92b0dca2..da0b0220f0c 100644 --- a/sdk/go/aws/lex/pulumiTypes1.go +++ b/sdk/go/aws/lex/pulumiTypes1.go @@ -64098,7 +64098,7 @@ func (o V2modelsSlotTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { type V2modelsSlotTypeCompositeSlotTypeSetting struct { // Subslots in the composite slot. Contains filtered or unexported fields. See [`subSlotTypeComposition` argument reference] below. - SubSlots []interface{} `pulumi:"subSlots"` + SubSlots []V2modelsSlotTypeCompositeSlotTypeSettingSubSlot `pulumi:"subSlots"` } // V2modelsSlotTypeCompositeSlotTypeSettingInput is an input type that accepts V2modelsSlotTypeCompositeSlotTypeSettingArgs and V2modelsSlotTypeCompositeSlotTypeSettingOutput values. @@ -64114,7 +64114,7 @@ type V2modelsSlotTypeCompositeSlotTypeSettingInput interface { type V2modelsSlotTypeCompositeSlotTypeSettingArgs struct { // Subslots in the composite slot. Contains filtered or unexported fields. See [`subSlotTypeComposition` argument reference] below. - SubSlots pulumi.ArrayInput `pulumi:"subSlots"` + SubSlots V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayInput `pulumi:"subSlots"` } func (V2modelsSlotTypeCompositeSlotTypeSettingArgs) ElementType() reflect.Type { @@ -64195,8 +64195,10 @@ func (o V2modelsSlotTypeCompositeSlotTypeSettingOutput) ToV2modelsSlotTypeCompos } // Subslots in the composite slot. Contains filtered or unexported fields. See [`subSlotTypeComposition` argument reference] below. -func (o V2modelsSlotTypeCompositeSlotTypeSettingOutput) SubSlots() pulumi.ArrayOutput { - return o.ApplyT(func(v V2modelsSlotTypeCompositeSlotTypeSetting) []interface{} { return v.SubSlots }).(pulumi.ArrayOutput) +func (o V2modelsSlotTypeCompositeSlotTypeSettingOutput) SubSlots() V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput { + return o.ApplyT(func(v V2modelsSlotTypeCompositeSlotTypeSetting) []V2modelsSlotTypeCompositeSlotTypeSettingSubSlot { + return v.SubSlots + }).(V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput) } type V2modelsSlotTypeCompositeSlotTypeSettingPtrOutput struct{ *pulumi.OutputState } @@ -64224,13 +64226,122 @@ func (o V2modelsSlotTypeCompositeSlotTypeSettingPtrOutput) Elem() V2modelsSlotTy } // Subslots in the composite slot. Contains filtered or unexported fields. See [`subSlotTypeComposition` argument reference] below. -func (o V2modelsSlotTypeCompositeSlotTypeSettingPtrOutput) SubSlots() pulumi.ArrayOutput { - return o.ApplyT(func(v *V2modelsSlotTypeCompositeSlotTypeSetting) []interface{} { +func (o V2modelsSlotTypeCompositeSlotTypeSettingPtrOutput) SubSlots() V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput { + return o.ApplyT(func(v *V2modelsSlotTypeCompositeSlotTypeSetting) []V2modelsSlotTypeCompositeSlotTypeSettingSubSlot { if v == nil { return nil } return v.SubSlots - }).(pulumi.ArrayOutput) + }).(V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput) +} + +type V2modelsSlotTypeCompositeSlotTypeSettingSubSlot struct { + // Name of the slot type + // + // The following arguments are optional: + Name string `pulumi:"name"` + SubSlotId string `pulumi:"subSlotId"` +} + +// V2modelsSlotTypeCompositeSlotTypeSettingSubSlotInput is an input type that accepts V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs and V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput values. +// You can construct a concrete instance of `V2modelsSlotTypeCompositeSlotTypeSettingSubSlotInput` via: +// +// V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs{...} +type V2modelsSlotTypeCompositeSlotTypeSettingSubSlotInput interface { + pulumi.Input + + ToV2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput() V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput + ToV2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutputWithContext(context.Context) V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput +} + +type V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs struct { + // Name of the slot type + // + // The following arguments are optional: + Name pulumi.StringInput `pulumi:"name"` + SubSlotId pulumi.StringInput `pulumi:"subSlotId"` +} + +func (V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs) ElementType() reflect.Type { + return reflect.TypeOf((*V2modelsSlotTypeCompositeSlotTypeSettingSubSlot)(nil)).Elem() +} + +func (i V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs) ToV2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput() V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput { + return i.ToV2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutputWithContext(context.Background()) +} + +func (i V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs) ToV2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutputWithContext(ctx context.Context) V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput { + return pulumi.ToOutputWithContext(ctx, i).(V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput) +} + +// V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayInput is an input type that accepts V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArray and V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput values. +// You can construct a concrete instance of `V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayInput` via: +// +// V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArray{ V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs{...} } +type V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayInput interface { + pulumi.Input + + ToV2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput() V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput + ToV2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutputWithContext(context.Context) V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput +} + +type V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArray []V2modelsSlotTypeCompositeSlotTypeSettingSubSlotInput + +func (V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]V2modelsSlotTypeCompositeSlotTypeSettingSubSlot)(nil)).Elem() +} + +func (i V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArray) ToV2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput() V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput { + return i.ToV2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutputWithContext(context.Background()) +} + +func (i V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArray) ToV2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutputWithContext(ctx context.Context) V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput) +} + +type V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput struct{ *pulumi.OutputState } + +func (V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput) ElementType() reflect.Type { + return reflect.TypeOf((*V2modelsSlotTypeCompositeSlotTypeSettingSubSlot)(nil)).Elem() +} + +func (o V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput) ToV2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput() V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput { + return o +} + +func (o V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput) ToV2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutputWithContext(ctx context.Context) V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput { + return o +} + +// Name of the slot type +// +// The following arguments are optional: +func (o V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v V2modelsSlotTypeCompositeSlotTypeSettingSubSlot) string { return v.Name }).(pulumi.StringOutput) +} + +func (o V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput) SubSlotId() pulumi.StringOutput { + return o.ApplyT(func(v V2modelsSlotTypeCompositeSlotTypeSettingSubSlot) string { return v.SubSlotId }).(pulumi.StringOutput) +} + +type V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput struct{ *pulumi.OutputState } + +func (V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]V2modelsSlotTypeCompositeSlotTypeSettingSubSlot)(nil)).Elem() +} + +func (o V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput) ToV2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput() V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput { + return o +} + +func (o V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput) ToV2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutputWithContext(ctx context.Context) V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput { + return o +} + +func (o V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput) Index(i pulumi.IntInput) V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) V2modelsSlotTypeCompositeSlotTypeSettingSubSlot { + return vs[0].([]V2modelsSlotTypeCompositeSlotTypeSettingSubSlot)[vs[1].(int)] + }).(V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput) } type V2modelsSlotTypeExternalSourceSetting struct { @@ -64678,7 +64789,7 @@ func (o V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingSourcePtrOutp type V2modelsSlotTypeSlotTypeValues struct { // List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slotTypeValues` argument reference below. - SlotTypeValues []interface{} `pulumi:"slotTypeValues"` + SlotTypeValues []V2modelsSlotTypeSlotTypeValuesSlotTypeValue `pulumi:"slotTypeValues"` // Additional values related to the slot type entry. See `sampleValue` argument reference below. Synonyms []V2modelsSlotTypeSlotTypeValuesSynonym `pulumi:"synonyms"` } @@ -64696,7 +64807,7 @@ type V2modelsSlotTypeSlotTypeValuesInput interface { type V2modelsSlotTypeSlotTypeValuesArgs struct { // List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slotTypeValues` argument reference below. - SlotTypeValues pulumi.ArrayInput `pulumi:"slotTypeValues"` + SlotTypeValues V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayInput `pulumi:"slotTypeValues"` // Additional values related to the slot type entry. See `sampleValue` argument reference below. Synonyms V2modelsSlotTypeSlotTypeValuesSynonymArrayInput `pulumi:"synonyms"` } @@ -64779,8 +64890,10 @@ func (o V2modelsSlotTypeSlotTypeValuesOutput) ToV2modelsSlotTypeSlotTypeValuesPt } // List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slotTypeValues` argument reference below. -func (o V2modelsSlotTypeSlotTypeValuesOutput) SlotTypeValues() pulumi.ArrayOutput { - return o.ApplyT(func(v V2modelsSlotTypeSlotTypeValues) []interface{} { return v.SlotTypeValues }).(pulumi.ArrayOutput) +func (o V2modelsSlotTypeSlotTypeValuesOutput) SlotTypeValues() V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput { + return o.ApplyT(func(v V2modelsSlotTypeSlotTypeValues) []V2modelsSlotTypeSlotTypeValuesSlotTypeValue { + return v.SlotTypeValues + }).(V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput) } // Additional values related to the slot type entry. See `sampleValue` argument reference below. @@ -64813,13 +64926,13 @@ func (o V2modelsSlotTypeSlotTypeValuesPtrOutput) Elem() V2modelsSlotTypeSlotType } // List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slotTypeValues` argument reference below. -func (o V2modelsSlotTypeSlotTypeValuesPtrOutput) SlotTypeValues() pulumi.ArrayOutput { - return o.ApplyT(func(v *V2modelsSlotTypeSlotTypeValues) []interface{} { +func (o V2modelsSlotTypeSlotTypeValuesPtrOutput) SlotTypeValues() V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput { + return o.ApplyT(func(v *V2modelsSlotTypeSlotTypeValues) []V2modelsSlotTypeSlotTypeValuesSlotTypeValue { if v == nil { return nil } return v.SlotTypeValues - }).(pulumi.ArrayOutput) + }).(V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput) } // Additional values related to the slot type entry. See `sampleValue` argument reference below. @@ -64832,6 +64945,100 @@ func (o V2modelsSlotTypeSlotTypeValuesPtrOutput) Synonyms() V2modelsSlotTypeSlot }).(V2modelsSlotTypeSlotTypeValuesSynonymArrayOutput) } +type V2modelsSlotTypeSlotTypeValuesSlotTypeValue struct { + Value string `pulumi:"value"` +} + +// V2modelsSlotTypeSlotTypeValuesSlotTypeValueInput is an input type that accepts V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs and V2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput values. +// You can construct a concrete instance of `V2modelsSlotTypeSlotTypeValuesSlotTypeValueInput` via: +// +// V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs{...} +type V2modelsSlotTypeSlotTypeValuesSlotTypeValueInput interface { + pulumi.Input + + ToV2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput() V2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput + ToV2modelsSlotTypeSlotTypeValuesSlotTypeValueOutputWithContext(context.Context) V2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput +} + +type V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs struct { + Value pulumi.StringInput `pulumi:"value"` +} + +func (V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*V2modelsSlotTypeSlotTypeValuesSlotTypeValue)(nil)).Elem() +} + +func (i V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs) ToV2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput() V2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput { + return i.ToV2modelsSlotTypeSlotTypeValuesSlotTypeValueOutputWithContext(context.Background()) +} + +func (i V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs) ToV2modelsSlotTypeSlotTypeValuesSlotTypeValueOutputWithContext(ctx context.Context) V2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(V2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput) +} + +// V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayInput is an input type that accepts V2modelsSlotTypeSlotTypeValuesSlotTypeValueArray and V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput values. +// You can construct a concrete instance of `V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayInput` via: +// +// V2modelsSlotTypeSlotTypeValuesSlotTypeValueArray{ V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs{...} } +type V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayInput interface { + pulumi.Input + + ToV2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput() V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput + ToV2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutputWithContext(context.Context) V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput +} + +type V2modelsSlotTypeSlotTypeValuesSlotTypeValueArray []V2modelsSlotTypeSlotTypeValuesSlotTypeValueInput + +func (V2modelsSlotTypeSlotTypeValuesSlotTypeValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]V2modelsSlotTypeSlotTypeValuesSlotTypeValue)(nil)).Elem() +} + +func (i V2modelsSlotTypeSlotTypeValuesSlotTypeValueArray) ToV2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput() V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput { + return i.ToV2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutputWithContext(context.Background()) +} + +func (i V2modelsSlotTypeSlotTypeValuesSlotTypeValueArray) ToV2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutputWithContext(ctx context.Context) V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput) +} + +type V2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput struct{ *pulumi.OutputState } + +func (V2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*V2modelsSlotTypeSlotTypeValuesSlotTypeValue)(nil)).Elem() +} + +func (o V2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput) ToV2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput() V2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput { + return o +} + +func (o V2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput) ToV2modelsSlotTypeSlotTypeValuesSlotTypeValueOutputWithContext(ctx context.Context) V2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput { + return o +} + +func (o V2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v V2modelsSlotTypeSlotTypeValuesSlotTypeValue) string { return v.Value }).(pulumi.StringOutput) +} + +type V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput struct{ *pulumi.OutputState } + +func (V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]V2modelsSlotTypeSlotTypeValuesSlotTypeValue)(nil)).Elem() +} + +func (o V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput) ToV2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput() V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput { + return o +} + +func (o V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput) ToV2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutputWithContext(ctx context.Context) V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput { + return o +} + +func (o V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput) Index(i pulumi.IntInput) V2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) V2modelsSlotTypeSlotTypeValuesSlotTypeValue { + return vs[0].([]V2modelsSlotTypeSlotTypeValuesSlotTypeValue)[vs[1].(int)] + }).(V2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput) +} + type V2modelsSlotTypeSlotTypeValuesSynonym struct { Value string `pulumi:"value"` } @@ -69631,261 +69838,6 @@ func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueR }).(pulumi.StringPtrOutput) } -type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage struct { - Value string `pulumi:"value"` -} - -// V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageInput is an input type that accepts V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs and V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput values. -// You can construct a concrete instance of `V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageInput` via: -// -// V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs{...} -type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageInput interface { - pulumi.Input - - ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput - ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutputWithContext(context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput -} - -type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs struct { - Value pulumi.StringInput `pulumi:"value"` -} - -func (V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage)(nil)).Elem() -} - -func (i V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput { - return i.ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutputWithContext(context.Background()) -} - -func (i V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput { - return pulumi.ToOutputWithContext(ctx, i).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput) -} - -func (i V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput { - return i.ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(context.Background()) -} - -func (i V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput).ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(ctx) -} - -// V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrInput is an input type that accepts V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs, V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtr and V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput values. -// You can construct a concrete instance of `V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrInput` via: -// -// V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs{...} -// -// or: -// -// nil -type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrInput interface { - pulumi.Input - - ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput - ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput -} - -type v2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrType V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs - -func V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtr(v *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrInput { - return (*v2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrType)(v) -} - -func (*v2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage)(nil)).Elem() -} - -func (i *v2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrType) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput { - return i.ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(context.Background()) -} - -func (i *v2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrType) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput) -} - -type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput struct{ *pulumi.OutputState } - -func (V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage)(nil)).Elem() -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput { - return o -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput { - return o -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput { - return o.ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(context.Background()) -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage) *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage { - return &v - }).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput) -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage) string { - return v.Value - }).(pulumi.StringOutput) -} - -type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput struct{ *pulumi.OutputState } - -func (V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage)(nil)).Elem() -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput { - return o -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput { - return o -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput) Elem() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput { - return o.ApplyT(func(v *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage { - if v != nil { - return *v - } - var ret V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage - return ret - }).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput) -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage) *string { - if v == nil { - return nil - } - return &v.Value - }).(pulumi.StringPtrOutput) -} - -type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation struct { - CustomPayloads []V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayload `pulumi:"customPayloads"` - ImageResponseCard *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCard `pulumi:"imageResponseCard"` - PlainTextMessage *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationPlainTextMessage `pulumi:"plainTextMessage"` - SsmlMessage *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationSsmlMessage `pulumi:"ssmlMessage"` -} - -// V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationInput is an input type that accepts V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArgs and V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput values. -// You can construct a concrete instance of `V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationInput` via: -// -// V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArgs{...} -type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationInput interface { - pulumi.Input - - ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput - ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutputWithContext(context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput -} - -type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArgs struct { - CustomPayloads V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayloadArrayInput `pulumi:"customPayloads"` - ImageResponseCard V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardPtrInput `pulumi:"imageResponseCard"` - PlainTextMessage V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationPlainTextMessagePtrInput `pulumi:"plainTextMessage"` - SsmlMessage V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationSsmlMessagePtrInput `pulumi:"ssmlMessage"` -} - -func (V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation)(nil)).Elem() -} - -func (i V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArgs) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput { - return i.ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutputWithContext(context.Background()) -} - -func (i V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArgs) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput { - return pulumi.ToOutputWithContext(ctx, i).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) -} - -// V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayInput is an input type that accepts V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArray and V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput values. -// You can construct a concrete instance of `V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayInput` via: -// -// V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArray{ V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArgs{...} } -type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayInput interface { - pulumi.Input - - ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput - ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutputWithContext(context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput -} - -type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArray []V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationInput - -func (V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation)(nil)).Elem() -} - -func (i V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArray) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput { - return i.ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutputWithContext(context.Background()) -} - -func (i V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArray) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput) -} - -type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput struct{ *pulumi.OutputState } - -func (V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation)(nil)).Elem() -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput { - return o -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput { - return o -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) CustomPayloads() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayloadArrayOutput { - return o.ApplyT(func(v V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation) []V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayload { - return v.CustomPayloads - }).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayloadArrayOutput) -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) ImageResponseCard() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardPtrOutput { - return o.ApplyT(func(v V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation) *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCard { - return v.ImageResponseCard - }).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardPtrOutput) -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) PlainTextMessage() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationPlainTextMessagePtrOutput { - return o.ApplyT(func(v V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation) *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationPlainTextMessage { - return v.PlainTextMessage - }).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationPlainTextMessagePtrOutput) -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) SsmlMessage() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationSsmlMessagePtrOutput { - return o.ApplyT(func(v V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation) *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationSsmlMessage { - return v.SsmlMessage - }).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationSsmlMessagePtrOutput) -} - -type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput struct{ *pulumi.OutputState } - -func (V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation)(nil)).Elem() -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput { - return o -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput { - return o -} - -func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput) Index(i pulumi.IntInput) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation { - return vs[0].([]V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation)[vs[1].(int)] - }).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) -} - func init() { pulumi.RegisterInputType(reflect.TypeOf((*V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessageInput)(nil)).Elem(), V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessageArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessagePtrInput)(nil)).Elem(), V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessageArgs{}) @@ -70763,6 +70715,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotTimeoutsPtrInput)(nil)).Elem(), V2modelsSlotTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotTypeCompositeSlotTypeSettingInput)(nil)).Elem(), V2modelsSlotTypeCompositeSlotTypeSettingArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotTypeCompositeSlotTypeSettingPtrInput)(nil)).Elem(), V2modelsSlotTypeCompositeSlotTypeSettingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotTypeCompositeSlotTypeSettingSubSlotInput)(nil)).Elem(), V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayInput)(nil)).Elem(), V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArray{}) pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotTypeExternalSourceSettingInput)(nil)).Elem(), V2modelsSlotTypeExternalSourceSettingArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotTypeExternalSourceSettingPtrInput)(nil)).Elem(), V2modelsSlotTypeExternalSourceSettingArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingInput)(nil)).Elem(), V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingArgs{}) @@ -70771,6 +70725,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingSourcePtrInput)(nil)).Elem(), V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingSourceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotTypeSlotTypeValuesInput)(nil)).Elem(), V2modelsSlotTypeSlotTypeValuesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotTypeSlotTypeValuesPtrInput)(nil)).Elem(), V2modelsSlotTypeSlotTypeValuesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotTypeSlotTypeValuesSlotTypeValueInput)(nil)).Elem(), V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayInput)(nil)).Elem(), V2modelsSlotTypeSlotTypeValuesSlotTypeValueArray{}) pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotTypeSlotTypeValuesSynonymInput)(nil)).Elem(), V2modelsSlotTypeSlotTypeValuesSynonymArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotTypeSlotTypeValuesSynonymArrayInput)(nil)).Elem(), V2modelsSlotTypeSlotTypeValuesSynonymArray{}) pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotTypeTimeoutsInput)(nil)).Elem(), V2modelsSlotTypeTimeoutsArgs{}) @@ -70844,10 +70800,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArrayInput)(nil)).Elem(), V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArray{}) pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessagePlainTextMessageInput)(nil)).Elem(), V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessagePlainTextMessageArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessagePlainTextMessagePtrInput)(nil)).Elem(), V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessagePlainTextMessageArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageInput)(nil)).Elem(), V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrInput)(nil)).Elem(), V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationInput)(nil)).Elem(), V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayInput)(nil)).Elem(), V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArray{}) pulumi.RegisterOutputType(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessageOutput{}) pulumi.RegisterOutputType(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationStartResponseMessageGroupVariationSsmlMessagePtrOutput{}) pulumi.RegisterOutputType(V2modelsIntentFulfillmentCodeHookFulfillmentUpdatesSpecificationUpdateResponseOutput{}) @@ -71724,6 +71676,8 @@ func init() { pulumi.RegisterOutputType(V2modelsSlotTimeoutsPtrOutput{}) pulumi.RegisterOutputType(V2modelsSlotTypeCompositeSlotTypeSettingOutput{}) pulumi.RegisterOutputType(V2modelsSlotTypeCompositeSlotTypeSettingPtrOutput{}) + pulumi.RegisterOutputType(V2modelsSlotTypeCompositeSlotTypeSettingSubSlotOutput{}) + pulumi.RegisterOutputType(V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArrayOutput{}) pulumi.RegisterOutputType(V2modelsSlotTypeExternalSourceSettingOutput{}) pulumi.RegisterOutputType(V2modelsSlotTypeExternalSourceSettingPtrOutput{}) pulumi.RegisterOutputType(V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingOutput{}) @@ -71732,6 +71686,8 @@ func init() { pulumi.RegisterOutputType(V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingSourcePtrOutput{}) pulumi.RegisterOutputType(V2modelsSlotTypeSlotTypeValuesOutput{}) pulumi.RegisterOutputType(V2modelsSlotTypeSlotTypeValuesPtrOutput{}) + pulumi.RegisterOutputType(V2modelsSlotTypeSlotTypeValuesSlotTypeValueOutput{}) + pulumi.RegisterOutputType(V2modelsSlotTypeSlotTypeValuesSlotTypeValueArrayOutput{}) pulumi.RegisterOutputType(V2modelsSlotTypeSlotTypeValuesSynonymOutput{}) pulumi.RegisterOutputType(V2modelsSlotTypeSlotTypeValuesSynonymArrayOutput{}) pulumi.RegisterOutputType(V2modelsSlotTypeTimeoutsOutput{}) @@ -71805,8 +71761,4 @@ func init() { pulumi.RegisterOutputType(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageImageResponseCardButtonArrayOutput{}) pulumi.RegisterOutputType(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessagePlainTextMessageOutput{}) pulumi.RegisterOutputType(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessagePlainTextMessagePtrOutput{}) - pulumi.RegisterOutputType(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput{}) - pulumi.RegisterOutputType(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput{}) - pulumi.RegisterOutputType(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput{}) - pulumi.RegisterOutputType(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput{}) } diff --git a/sdk/go/aws/lex/pulumiTypes2.go b/sdk/go/aws/lex/pulumiTypes2.go index 01a5d357d4f..2c40a2e4332 100644 --- a/sdk/go/aws/lex/pulumiTypes2.go +++ b/sdk/go/aws/lex/pulumiTypes2.go @@ -13,6 +13,261 @@ import ( var _ = internal.GetEnvOrDefault +type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage struct { + Value string `pulumi:"value"` +} + +// V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageInput is an input type that accepts V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs and V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput values. +// You can construct a concrete instance of `V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageInput` via: +// +// V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs{...} +type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageInput interface { + pulumi.Input + + ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput + ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutputWithContext(context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput +} + +type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs struct { + Value pulumi.StringInput `pulumi:"value"` +} + +func (V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage)(nil)).Elem() +} + +func (i V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput { + return i.ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutputWithContext(context.Background()) +} + +func (i V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput { + return pulumi.ToOutputWithContext(ctx, i).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput) +} + +func (i V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput { + return i.ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(context.Background()) +} + +func (i V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput).ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(ctx) +} + +// V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrInput is an input type that accepts V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs, V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtr and V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput values. +// You can construct a concrete instance of `V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrInput` via: +// +// V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs{...} +// +// or: +// +// nil +type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrInput interface { + pulumi.Input + + ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput + ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput +} + +type v2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrType V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs + +func V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtr(v *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrInput { + return (*v2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrType)(v) +} + +func (*v2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage)(nil)).Elem() +} + +func (i *v2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrType) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput { + return i.ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(context.Background()) +} + +func (i *v2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrType) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput) +} + +type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput struct{ *pulumi.OutputState } + +func (V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage)(nil)).Elem() +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput { + return o +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput { + return o +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput { + return o.ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(context.Background()) +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage) *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage { + return &v + }).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput) +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage) string { + return v.Value + }).(pulumi.StringOutput) +} + +type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput struct{ *pulumi.OutputState } + +func (V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage)(nil)).Elem() +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput { + return o +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput { + return o +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput) Elem() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput { + return o.ApplyT(func(v *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage { + if v != nil { + return *v + } + var ret V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage + return ret + }).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput) +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessage) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation struct { + CustomPayloads []V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayload `pulumi:"customPayloads"` + ImageResponseCard *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCard `pulumi:"imageResponseCard"` + PlainTextMessage *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationPlainTextMessage `pulumi:"plainTextMessage"` + SsmlMessage *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationSsmlMessage `pulumi:"ssmlMessage"` +} + +// V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationInput is an input type that accepts V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArgs and V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput values. +// You can construct a concrete instance of `V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationInput` via: +// +// V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArgs{...} +type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationInput interface { + pulumi.Input + + ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput + ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutputWithContext(context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput +} + +type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArgs struct { + CustomPayloads V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayloadArrayInput `pulumi:"customPayloads"` + ImageResponseCard V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardPtrInput `pulumi:"imageResponseCard"` + PlainTextMessage V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationPlainTextMessagePtrInput `pulumi:"plainTextMessage"` + SsmlMessage V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationSsmlMessagePtrInput `pulumi:"ssmlMessage"` +} + +func (V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation)(nil)).Elem() +} + +func (i V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArgs) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput { + return i.ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutputWithContext(context.Background()) +} + +func (i V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArgs) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput { + return pulumi.ToOutputWithContext(ctx, i).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) +} + +// V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayInput is an input type that accepts V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArray and V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput values. +// You can construct a concrete instance of `V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayInput` via: +// +// V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArray{ V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArgs{...} } +type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayInput interface { + pulumi.Input + + ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput + ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutputWithContext(context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput +} + +type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArray []V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationInput + +func (V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation)(nil)).Elem() +} + +func (i V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArray) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput { + return i.ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutputWithContext(context.Background()) +} + +func (i V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArray) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput) +} + +type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput struct{ *pulumi.OutputState } + +func (V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation)(nil)).Elem() +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput { + return o +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput { + return o +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) CustomPayloads() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayloadArrayOutput { + return o.ApplyT(func(v V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation) []V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayload { + return v.CustomPayloads + }).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayloadArrayOutput) +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) ImageResponseCard() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardPtrOutput { + return o.ApplyT(func(v V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation) *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCard { + return v.ImageResponseCard + }).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardPtrOutput) +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) PlainTextMessage() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationPlainTextMessagePtrOutput { + return o.ApplyT(func(v V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation) *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationPlainTextMessage { + return v.PlainTextMessage + }).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationPlainTextMessagePtrOutput) +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) SsmlMessage() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationSsmlMessagePtrOutput { + return o.ApplyT(func(v V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation) *V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationSsmlMessage { + return v.SsmlMessage + }).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationSsmlMessagePtrOutput) +} + +type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput struct{ *pulumi.OutputState } + +func (V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation)(nil)).Elem() +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput() V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput { + return o +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput) ToV2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutputWithContext(ctx context.Context) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput { + return o +} + +func (o V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput) Index(i pulumi.IntInput) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation { + return vs[0].([]V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariation)[vs[1].(int)] + }).(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput) +} + type V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayload struct { Value string `pulumi:"value"` } @@ -4216,6 +4471,10 @@ func (o GetSlotTypeEnumerationValueArrayOutput) Index(i pulumi.IntInput) GetSlot } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageInput)(nil)).Elem(), V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrInput)(nil)).Elem(), V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationInput)(nil)).Elem(), V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayInput)(nil)).Elem(), V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayloadInput)(nil)).Elem(), V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayloadArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayloadArrayInput)(nil)).Elem(), V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayloadArray{}) pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardInput)(nil)).Elem(), V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardArgs{}) @@ -4282,6 +4541,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationSsmlMessagePtrInput)(nil)).Elem(), V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationWaitingResponseMessageGroupVariationSsmlMessageArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSlotTypeEnumerationValueInput)(nil)).Elem(), GetSlotTypeEnumerationValueArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSlotTypeEnumerationValueArrayInput)(nil)).Elem(), GetSlotTypeEnumerationValueArray{}) + pulumi.RegisterOutputType(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessageOutput{}) + pulumi.RegisterOutputType(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupMessageSsmlMessagePtrOutput{}) + pulumi.RegisterOutputType(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationOutput{}) + pulumi.RegisterOutputType(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationArrayOutput{}) pulumi.RegisterOutputType(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayloadOutput{}) pulumi.RegisterOutputType(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationCustomPayloadArrayOutput{}) pulumi.RegisterOutputType(V2modelsSlotValueElicitationSettingWaitAndContinueSpecificationContinueResponseMessageGroupVariationImageResponseCardOutput{}) diff --git a/sdk/go/aws/medialive/pulumiTypes.go b/sdk/go/aws/medialive/pulumiTypes.go index 40f58d35a45..a0f3cca18d2 100644 --- a/sdk/go/aws/medialive/pulumiTypes.go +++ b/sdk/go/aws/medialive/pulumiTypes.go @@ -31542,10 +31542,10 @@ func (o MultiplexProgramMultiplexProgramSettingsVideoSettingsStatmuxSettingsPtrO } type GetInputDestination struct { - Ip string `pulumi:"ip"` - Port string `pulumi:"port"` - Url string `pulumi:"url"` - Vpcs []interface{} `pulumi:"vpcs"` + Ip string `pulumi:"ip"` + Port string `pulumi:"port"` + Url string `pulumi:"url"` + Vpcs []GetInputDestinationVpc `pulumi:"vpcs"` } // GetInputDestinationInput is an input type that accepts GetInputDestinationArgs and GetInputDestinationOutput values. @@ -31560,10 +31560,10 @@ type GetInputDestinationInput interface { } type GetInputDestinationArgs struct { - Ip pulumi.StringInput `pulumi:"ip"` - Port pulumi.StringInput `pulumi:"port"` - Url pulumi.StringInput `pulumi:"url"` - Vpcs pulumi.ArrayInput `pulumi:"vpcs"` + Ip pulumi.StringInput `pulumi:"ip"` + Port pulumi.StringInput `pulumi:"port"` + Url pulumi.StringInput `pulumi:"url"` + Vpcs GetInputDestinationVpcArrayInput `pulumi:"vpcs"` } func (GetInputDestinationArgs) ElementType() reflect.Type { @@ -31629,8 +31629,8 @@ func (o GetInputDestinationOutput) Url() pulumi.StringOutput { return o.ApplyT(func(v GetInputDestination) string { return v.Url }).(pulumi.StringOutput) } -func (o GetInputDestinationOutput) Vpcs() pulumi.ArrayOutput { - return o.ApplyT(func(v GetInputDestination) []interface{} { return v.Vpcs }).(pulumi.ArrayOutput) +func (o GetInputDestinationOutput) Vpcs() GetInputDestinationVpcArrayOutput { + return o.ApplyT(func(v GetInputDestination) []GetInputDestinationVpc { return v.Vpcs }).(GetInputDestinationVpcArrayOutput) } type GetInputDestinationArrayOutput struct{ *pulumi.OutputState } @@ -31653,6 +31653,106 @@ func (o GetInputDestinationArrayOutput) Index(i pulumi.IntInput) GetInputDestina }).(GetInputDestinationOutput) } +type GetInputDestinationVpc struct { + AvailabilityZone string `pulumi:"availabilityZone"` + NetworkInterfaceId string `pulumi:"networkInterfaceId"` +} + +// GetInputDestinationVpcInput is an input type that accepts GetInputDestinationVpcArgs and GetInputDestinationVpcOutput values. +// You can construct a concrete instance of `GetInputDestinationVpcInput` via: +// +// GetInputDestinationVpcArgs{...} +type GetInputDestinationVpcInput interface { + pulumi.Input + + ToGetInputDestinationVpcOutput() GetInputDestinationVpcOutput + ToGetInputDestinationVpcOutputWithContext(context.Context) GetInputDestinationVpcOutput +} + +type GetInputDestinationVpcArgs struct { + AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` + NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"` +} + +func (GetInputDestinationVpcArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetInputDestinationVpc)(nil)).Elem() +} + +func (i GetInputDestinationVpcArgs) ToGetInputDestinationVpcOutput() GetInputDestinationVpcOutput { + return i.ToGetInputDestinationVpcOutputWithContext(context.Background()) +} + +func (i GetInputDestinationVpcArgs) ToGetInputDestinationVpcOutputWithContext(ctx context.Context) GetInputDestinationVpcOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInputDestinationVpcOutput) +} + +// GetInputDestinationVpcArrayInput is an input type that accepts GetInputDestinationVpcArray and GetInputDestinationVpcArrayOutput values. +// You can construct a concrete instance of `GetInputDestinationVpcArrayInput` via: +// +// GetInputDestinationVpcArray{ GetInputDestinationVpcArgs{...} } +type GetInputDestinationVpcArrayInput interface { + pulumi.Input + + ToGetInputDestinationVpcArrayOutput() GetInputDestinationVpcArrayOutput + ToGetInputDestinationVpcArrayOutputWithContext(context.Context) GetInputDestinationVpcArrayOutput +} + +type GetInputDestinationVpcArray []GetInputDestinationVpcInput + +func (GetInputDestinationVpcArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInputDestinationVpc)(nil)).Elem() +} + +func (i GetInputDestinationVpcArray) ToGetInputDestinationVpcArrayOutput() GetInputDestinationVpcArrayOutput { + return i.ToGetInputDestinationVpcArrayOutputWithContext(context.Background()) +} + +func (i GetInputDestinationVpcArray) ToGetInputDestinationVpcArrayOutputWithContext(ctx context.Context) GetInputDestinationVpcArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetInputDestinationVpcArrayOutput) +} + +type GetInputDestinationVpcOutput struct{ *pulumi.OutputState } + +func (GetInputDestinationVpcOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetInputDestinationVpc)(nil)).Elem() +} + +func (o GetInputDestinationVpcOutput) ToGetInputDestinationVpcOutput() GetInputDestinationVpcOutput { + return o +} + +func (o GetInputDestinationVpcOutput) ToGetInputDestinationVpcOutputWithContext(ctx context.Context) GetInputDestinationVpcOutput { + return o +} + +func (o GetInputDestinationVpcOutput) AvailabilityZone() pulumi.StringOutput { + return o.ApplyT(func(v GetInputDestinationVpc) string { return v.AvailabilityZone }).(pulumi.StringOutput) +} + +func (o GetInputDestinationVpcOutput) NetworkInterfaceId() pulumi.StringOutput { + return o.ApplyT(func(v GetInputDestinationVpc) string { return v.NetworkInterfaceId }).(pulumi.StringOutput) +} + +type GetInputDestinationVpcArrayOutput struct{ *pulumi.OutputState } + +func (GetInputDestinationVpcArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetInputDestinationVpc)(nil)).Elem() +} + +func (o GetInputDestinationVpcArrayOutput) ToGetInputDestinationVpcArrayOutput() GetInputDestinationVpcArrayOutput { + return o +} + +func (o GetInputDestinationVpcArrayOutput) ToGetInputDestinationVpcArrayOutputWithContext(ctx context.Context) GetInputDestinationVpcArrayOutput { + return o +} + +func (o GetInputDestinationVpcArrayOutput) Index(i pulumi.IntInput) GetInputDestinationVpcOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetInputDestinationVpc { + return vs[0].([]GetInputDestinationVpc)[vs[1].(int)] + }).(GetInputDestinationVpcOutput) +} + type GetInputInputDevice struct { // The ID of the Input. Id string `pulumi:"id"` @@ -32290,6 +32390,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*MultiplexProgramMultiplexProgramSettingsVideoSettingsStatmuxSettingsPtrInput)(nil)).Elem(), MultiplexProgramMultiplexProgramSettingsVideoSettingsStatmuxSettingsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetInputDestinationInput)(nil)).Elem(), GetInputDestinationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetInputDestinationArrayInput)(nil)).Elem(), GetInputDestinationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInputDestinationVpcInput)(nil)).Elem(), GetInputDestinationVpcArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetInputDestinationVpcArrayInput)(nil)).Elem(), GetInputDestinationVpcArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetInputInputDeviceInput)(nil)).Elem(), GetInputInputDeviceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetInputInputDeviceArrayInput)(nil)).Elem(), GetInputInputDeviceArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetInputMediaConnectFlowInput)(nil)).Elem(), GetInputMediaConnectFlowArgs{}) @@ -32635,6 +32737,8 @@ func init() { pulumi.RegisterOutputType(MultiplexProgramMultiplexProgramSettingsVideoSettingsStatmuxSettingsPtrOutput{}) pulumi.RegisterOutputType(GetInputDestinationOutput{}) pulumi.RegisterOutputType(GetInputDestinationArrayOutput{}) + pulumi.RegisterOutputType(GetInputDestinationVpcOutput{}) + pulumi.RegisterOutputType(GetInputDestinationVpcArrayOutput{}) pulumi.RegisterOutputType(GetInputInputDeviceOutput{}) pulumi.RegisterOutputType(GetInputInputDeviceArrayOutput{}) pulumi.RegisterOutputType(GetInputMediaConnectFlowOutput{}) diff --git a/sdk/go/aws/resourceexplorer/pulumiTypes.go b/sdk/go/aws/resourceexplorer/pulumiTypes.go index a6cb2aac887..33b00f51efe 100644 --- a/sdk/go/aws/resourceexplorer/pulumiTypes.go +++ b/sdk/go/aws/resourceexplorer/pulumiTypes.go @@ -196,7 +196,7 @@ type SearchResource struct { // Amazon Web Services account that owns the resource. OwningAccountId string `pulumi:"owningAccountId"` // Structure with additional type-specific details about the resource. See `properties` below. - Properties []interface{} `pulumi:"properties"` + Properties []SearchResourceProperty `pulumi:"properties"` // Amazon Web Services Region in which the resource was created and exists. Region string `pulumi:"region"` // Type of the resource. @@ -224,7 +224,7 @@ type SearchResourceArgs struct { // Amazon Web Services account that owns the resource. OwningAccountId pulumi.StringInput `pulumi:"owningAccountId"` // Structure with additional type-specific details about the resource. See `properties` below. - Properties pulumi.ArrayInput `pulumi:"properties"` + Properties SearchResourcePropertyArrayInput `pulumi:"properties"` // Amazon Web Services Region in which the resource was created and exists. Region pulumi.StringInput `pulumi:"region"` // Type of the resource. @@ -300,8 +300,8 @@ func (o SearchResourceOutput) OwningAccountId() pulumi.StringOutput { } // Structure with additional type-specific details about the resource. See `properties` below. -func (o SearchResourceOutput) Properties() pulumi.ArrayOutput { - return o.ApplyT(func(v SearchResource) []interface{} { return v.Properties }).(pulumi.ArrayOutput) +func (o SearchResourceOutput) Properties() SearchResourcePropertyArrayOutput { + return o.ApplyT(func(v SearchResource) []SearchResourceProperty { return v.Properties }).(SearchResourcePropertyArrayOutput) } // Amazon Web Services Region in which the resource was created and exists. @@ -445,6 +445,121 @@ func (o SearchResourceCountArrayOutput) Index(i pulumi.IntInput) SearchResourceC }).(SearchResourceCountOutput) } +type SearchResourceProperty struct { + // Details about this property. The content of this field is a JSON object that varies based on the resource type. + Data string `pulumi:"data"` + // The date and time that the information about this resource property was last updated. + LastReportedAt string `pulumi:"lastReportedAt"` + // Name of this property of the resource. + Name string `pulumi:"name"` +} + +// SearchResourcePropertyInput is an input type that accepts SearchResourcePropertyArgs and SearchResourcePropertyOutput values. +// You can construct a concrete instance of `SearchResourcePropertyInput` via: +// +// SearchResourcePropertyArgs{...} +type SearchResourcePropertyInput interface { + pulumi.Input + + ToSearchResourcePropertyOutput() SearchResourcePropertyOutput + ToSearchResourcePropertyOutputWithContext(context.Context) SearchResourcePropertyOutput +} + +type SearchResourcePropertyArgs struct { + // Details about this property. The content of this field is a JSON object that varies based on the resource type. + Data pulumi.StringInput `pulumi:"data"` + // The date and time that the information about this resource property was last updated. + LastReportedAt pulumi.StringInput `pulumi:"lastReportedAt"` + // Name of this property of the resource. + Name pulumi.StringInput `pulumi:"name"` +} + +func (SearchResourcePropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SearchResourceProperty)(nil)).Elem() +} + +func (i SearchResourcePropertyArgs) ToSearchResourcePropertyOutput() SearchResourcePropertyOutput { + return i.ToSearchResourcePropertyOutputWithContext(context.Background()) +} + +func (i SearchResourcePropertyArgs) ToSearchResourcePropertyOutputWithContext(ctx context.Context) SearchResourcePropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(SearchResourcePropertyOutput) +} + +// SearchResourcePropertyArrayInput is an input type that accepts SearchResourcePropertyArray and SearchResourcePropertyArrayOutput values. +// You can construct a concrete instance of `SearchResourcePropertyArrayInput` via: +// +// SearchResourcePropertyArray{ SearchResourcePropertyArgs{...} } +type SearchResourcePropertyArrayInput interface { + pulumi.Input + + ToSearchResourcePropertyArrayOutput() SearchResourcePropertyArrayOutput + ToSearchResourcePropertyArrayOutputWithContext(context.Context) SearchResourcePropertyArrayOutput +} + +type SearchResourcePropertyArray []SearchResourcePropertyInput + +func (SearchResourcePropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SearchResourceProperty)(nil)).Elem() +} + +func (i SearchResourcePropertyArray) ToSearchResourcePropertyArrayOutput() SearchResourcePropertyArrayOutput { + return i.ToSearchResourcePropertyArrayOutputWithContext(context.Background()) +} + +func (i SearchResourcePropertyArray) ToSearchResourcePropertyArrayOutputWithContext(ctx context.Context) SearchResourcePropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SearchResourcePropertyArrayOutput) +} + +type SearchResourcePropertyOutput struct{ *pulumi.OutputState } + +func (SearchResourcePropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SearchResourceProperty)(nil)).Elem() +} + +func (o SearchResourcePropertyOutput) ToSearchResourcePropertyOutput() SearchResourcePropertyOutput { + return o +} + +func (o SearchResourcePropertyOutput) ToSearchResourcePropertyOutputWithContext(ctx context.Context) SearchResourcePropertyOutput { + return o +} + +// Details about this property. The content of this field is a JSON object that varies based on the resource type. +func (o SearchResourcePropertyOutput) Data() pulumi.StringOutput { + return o.ApplyT(func(v SearchResourceProperty) string { return v.Data }).(pulumi.StringOutput) +} + +// The date and time that the information about this resource property was last updated. +func (o SearchResourcePropertyOutput) LastReportedAt() pulumi.StringOutput { + return o.ApplyT(func(v SearchResourceProperty) string { return v.LastReportedAt }).(pulumi.StringOutput) +} + +// Name of this property of the resource. +func (o SearchResourcePropertyOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v SearchResourceProperty) string { return v.Name }).(pulumi.StringOutput) +} + +type SearchResourcePropertyArrayOutput struct{ *pulumi.OutputState } + +func (SearchResourcePropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SearchResourceProperty)(nil)).Elem() +} + +func (o SearchResourcePropertyArrayOutput) ToSearchResourcePropertyArrayOutput() SearchResourcePropertyArrayOutput { + return o +} + +func (o SearchResourcePropertyArrayOutput) ToSearchResourcePropertyArrayOutputWithContext(ctx context.Context) SearchResourcePropertyArrayOutput { + return o +} + +func (o SearchResourcePropertyArrayOutput) Index(i pulumi.IntInput) SearchResourcePropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SearchResourceProperty { + return vs[0].([]SearchResourceProperty)[vs[1].(int)] + }).(SearchResourcePropertyOutput) +} + type ViewFilters struct { // The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a search operation. For more details, see [Search query syntax](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html). FilterString string `pulumi:"filterString"` @@ -686,6 +801,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*SearchResourceArrayInput)(nil)).Elem(), SearchResourceArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SearchResourceCountInput)(nil)).Elem(), SearchResourceCountArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SearchResourceCountArrayInput)(nil)).Elem(), SearchResourceCountArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SearchResourcePropertyInput)(nil)).Elem(), SearchResourcePropertyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SearchResourcePropertyArrayInput)(nil)).Elem(), SearchResourcePropertyArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ViewFiltersInput)(nil)).Elem(), ViewFiltersArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ViewFiltersPtrInput)(nil)).Elem(), ViewFiltersArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ViewIncludedPropertyInput)(nil)).Elem(), ViewIncludedPropertyArgs{}) @@ -696,6 +813,8 @@ func init() { pulumi.RegisterOutputType(SearchResourceArrayOutput{}) pulumi.RegisterOutputType(SearchResourceCountOutput{}) pulumi.RegisterOutputType(SearchResourceCountArrayOutput{}) + pulumi.RegisterOutputType(SearchResourcePropertyOutput{}) + pulumi.RegisterOutputType(SearchResourcePropertyArrayOutput{}) pulumi.RegisterOutputType(ViewFiltersOutput{}) pulumi.RegisterOutputType(ViewFiltersPtrOutput{}) pulumi.RegisterOutputType(ViewIncludedPropertyOutput{}) diff --git a/sdk/go/aws/ssm/pulumiTypes.go b/sdk/go/aws/ssm/pulumiTypes.go index de3d76290cd..23986a80c52 100644 --- a/sdk/go/aws/ssm/pulumiTypes.go +++ b/sdk/go/aws/ssm/pulumiTypes.go @@ -4391,12 +4391,12 @@ func (o ResourceDataSyncS3DestinationPtrOutput) SyncFormat() pulumi.StringPtrOut } type GetContactsRotationRecurrence struct { - DailySettings []interface{} `pulumi:"dailySettings"` - MonthlySettings []interface{} `pulumi:"monthlySettings"` - NumberOfOnCalls int `pulumi:"numberOfOnCalls"` - RecurrenceMultiplier int `pulumi:"recurrenceMultiplier"` - ShiftCoverages []interface{} `pulumi:"shiftCoverages"` - WeeklySettings []interface{} `pulumi:"weeklySettings"` + DailySettings []GetContactsRotationRecurrenceDailySetting `pulumi:"dailySettings"` + MonthlySettings []GetContactsRotationRecurrenceMonthlySetting `pulumi:"monthlySettings"` + NumberOfOnCalls int `pulumi:"numberOfOnCalls"` + RecurrenceMultiplier int `pulumi:"recurrenceMultiplier"` + ShiftCoverages []GetContactsRotationRecurrenceShiftCoverage `pulumi:"shiftCoverages"` + WeeklySettings []GetContactsRotationRecurrenceWeeklySetting `pulumi:"weeklySettings"` } // GetContactsRotationRecurrenceInput is an input type that accepts GetContactsRotationRecurrenceArgs and GetContactsRotationRecurrenceOutput values. @@ -4411,12 +4411,12 @@ type GetContactsRotationRecurrenceInput interface { } type GetContactsRotationRecurrenceArgs struct { - DailySettings pulumi.ArrayInput `pulumi:"dailySettings"` - MonthlySettings pulumi.ArrayInput `pulumi:"monthlySettings"` - NumberOfOnCalls pulumi.IntInput `pulumi:"numberOfOnCalls"` - RecurrenceMultiplier pulumi.IntInput `pulumi:"recurrenceMultiplier"` - ShiftCoverages pulumi.ArrayInput `pulumi:"shiftCoverages"` - WeeklySettings pulumi.ArrayInput `pulumi:"weeklySettings"` + DailySettings GetContactsRotationRecurrenceDailySettingArrayInput `pulumi:"dailySettings"` + MonthlySettings GetContactsRotationRecurrenceMonthlySettingArrayInput `pulumi:"monthlySettings"` + NumberOfOnCalls pulumi.IntInput `pulumi:"numberOfOnCalls"` + RecurrenceMultiplier pulumi.IntInput `pulumi:"recurrenceMultiplier"` + ShiftCoverages GetContactsRotationRecurrenceShiftCoverageArrayInput `pulumi:"shiftCoverages"` + WeeklySettings GetContactsRotationRecurrenceWeeklySettingArrayInput `pulumi:"weeklySettings"` } func (GetContactsRotationRecurrenceArgs) ElementType() reflect.Type { @@ -4470,12 +4470,16 @@ func (o GetContactsRotationRecurrenceOutput) ToGetContactsRotationRecurrenceOutp return o } -func (o GetContactsRotationRecurrenceOutput) DailySettings() pulumi.ArrayOutput { - return o.ApplyT(func(v GetContactsRotationRecurrence) []interface{} { return v.DailySettings }).(pulumi.ArrayOutput) +func (o GetContactsRotationRecurrenceOutput) DailySettings() GetContactsRotationRecurrenceDailySettingArrayOutput { + return o.ApplyT(func(v GetContactsRotationRecurrence) []GetContactsRotationRecurrenceDailySetting { + return v.DailySettings + }).(GetContactsRotationRecurrenceDailySettingArrayOutput) } -func (o GetContactsRotationRecurrenceOutput) MonthlySettings() pulumi.ArrayOutput { - return o.ApplyT(func(v GetContactsRotationRecurrence) []interface{} { return v.MonthlySettings }).(pulumi.ArrayOutput) +func (o GetContactsRotationRecurrenceOutput) MonthlySettings() GetContactsRotationRecurrenceMonthlySettingArrayOutput { + return o.ApplyT(func(v GetContactsRotationRecurrence) []GetContactsRotationRecurrenceMonthlySetting { + return v.MonthlySettings + }).(GetContactsRotationRecurrenceMonthlySettingArrayOutput) } func (o GetContactsRotationRecurrenceOutput) NumberOfOnCalls() pulumi.IntOutput { @@ -4486,12 +4490,16 @@ func (o GetContactsRotationRecurrenceOutput) RecurrenceMultiplier() pulumi.IntOu return o.ApplyT(func(v GetContactsRotationRecurrence) int { return v.RecurrenceMultiplier }).(pulumi.IntOutput) } -func (o GetContactsRotationRecurrenceOutput) ShiftCoverages() pulumi.ArrayOutput { - return o.ApplyT(func(v GetContactsRotationRecurrence) []interface{} { return v.ShiftCoverages }).(pulumi.ArrayOutput) +func (o GetContactsRotationRecurrenceOutput) ShiftCoverages() GetContactsRotationRecurrenceShiftCoverageArrayOutput { + return o.ApplyT(func(v GetContactsRotationRecurrence) []GetContactsRotationRecurrenceShiftCoverage { + return v.ShiftCoverages + }).(GetContactsRotationRecurrenceShiftCoverageArrayOutput) } -func (o GetContactsRotationRecurrenceOutput) WeeklySettings() pulumi.ArrayOutput { - return o.ApplyT(func(v GetContactsRotationRecurrence) []interface{} { return v.WeeklySettings }).(pulumi.ArrayOutput) +func (o GetContactsRotationRecurrenceOutput) WeeklySettings() GetContactsRotationRecurrenceWeeklySettingArrayOutput { + return o.ApplyT(func(v GetContactsRotationRecurrence) []GetContactsRotationRecurrenceWeeklySetting { + return v.WeeklySettings + }).(GetContactsRotationRecurrenceWeeklySettingArrayOutput) } type GetContactsRotationRecurrenceArrayOutput struct{ *pulumi.OutputState } @@ -4514,6 +4522,916 @@ func (o GetContactsRotationRecurrenceArrayOutput) Index(i pulumi.IntInput) GetCo }).(GetContactsRotationRecurrenceOutput) } +type GetContactsRotationRecurrenceDailySetting struct { + HourOfDay int `pulumi:"hourOfDay"` + MinuteOfHour int `pulumi:"minuteOfHour"` +} + +// GetContactsRotationRecurrenceDailySettingInput is an input type that accepts GetContactsRotationRecurrenceDailySettingArgs and GetContactsRotationRecurrenceDailySettingOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceDailySettingInput` via: +// +// GetContactsRotationRecurrenceDailySettingArgs{...} +type GetContactsRotationRecurrenceDailySettingInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceDailySettingOutput() GetContactsRotationRecurrenceDailySettingOutput + ToGetContactsRotationRecurrenceDailySettingOutputWithContext(context.Context) GetContactsRotationRecurrenceDailySettingOutput +} + +type GetContactsRotationRecurrenceDailySettingArgs struct { + HourOfDay pulumi.IntInput `pulumi:"hourOfDay"` + MinuteOfHour pulumi.IntInput `pulumi:"minuteOfHour"` +} + +func (GetContactsRotationRecurrenceDailySettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceDailySetting)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceDailySettingArgs) ToGetContactsRotationRecurrenceDailySettingOutput() GetContactsRotationRecurrenceDailySettingOutput { + return i.ToGetContactsRotationRecurrenceDailySettingOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceDailySettingArgs) ToGetContactsRotationRecurrenceDailySettingOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceDailySettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceDailySettingOutput) +} + +// GetContactsRotationRecurrenceDailySettingArrayInput is an input type that accepts GetContactsRotationRecurrenceDailySettingArray and GetContactsRotationRecurrenceDailySettingArrayOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceDailySettingArrayInput` via: +// +// GetContactsRotationRecurrenceDailySettingArray{ GetContactsRotationRecurrenceDailySettingArgs{...} } +type GetContactsRotationRecurrenceDailySettingArrayInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceDailySettingArrayOutput() GetContactsRotationRecurrenceDailySettingArrayOutput + ToGetContactsRotationRecurrenceDailySettingArrayOutputWithContext(context.Context) GetContactsRotationRecurrenceDailySettingArrayOutput +} + +type GetContactsRotationRecurrenceDailySettingArray []GetContactsRotationRecurrenceDailySettingInput + +func (GetContactsRotationRecurrenceDailySettingArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceDailySetting)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceDailySettingArray) ToGetContactsRotationRecurrenceDailySettingArrayOutput() GetContactsRotationRecurrenceDailySettingArrayOutput { + return i.ToGetContactsRotationRecurrenceDailySettingArrayOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceDailySettingArray) ToGetContactsRotationRecurrenceDailySettingArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceDailySettingArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceDailySettingArrayOutput) +} + +type GetContactsRotationRecurrenceDailySettingOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceDailySettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceDailySetting)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceDailySettingOutput) ToGetContactsRotationRecurrenceDailySettingOutput() GetContactsRotationRecurrenceDailySettingOutput { + return o +} + +func (o GetContactsRotationRecurrenceDailySettingOutput) ToGetContactsRotationRecurrenceDailySettingOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceDailySettingOutput { + return o +} + +func (o GetContactsRotationRecurrenceDailySettingOutput) HourOfDay() pulumi.IntOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceDailySetting) int { return v.HourOfDay }).(pulumi.IntOutput) +} + +func (o GetContactsRotationRecurrenceDailySettingOutput) MinuteOfHour() pulumi.IntOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceDailySetting) int { return v.MinuteOfHour }).(pulumi.IntOutput) +} + +type GetContactsRotationRecurrenceDailySettingArrayOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceDailySettingArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceDailySetting)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceDailySettingArrayOutput) ToGetContactsRotationRecurrenceDailySettingArrayOutput() GetContactsRotationRecurrenceDailySettingArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceDailySettingArrayOutput) ToGetContactsRotationRecurrenceDailySettingArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceDailySettingArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceDailySettingArrayOutput) Index(i pulumi.IntInput) GetContactsRotationRecurrenceDailySettingOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetContactsRotationRecurrenceDailySetting { + return vs[0].([]GetContactsRotationRecurrenceDailySetting)[vs[1].(int)] + }).(GetContactsRotationRecurrenceDailySettingOutput) +} + +type GetContactsRotationRecurrenceMonthlySetting struct { + DayOfMonth int `pulumi:"dayOfMonth"` + HandOffTimes []GetContactsRotationRecurrenceMonthlySettingHandOffTime `pulumi:"handOffTimes"` +} + +// GetContactsRotationRecurrenceMonthlySettingInput is an input type that accepts GetContactsRotationRecurrenceMonthlySettingArgs and GetContactsRotationRecurrenceMonthlySettingOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceMonthlySettingInput` via: +// +// GetContactsRotationRecurrenceMonthlySettingArgs{...} +type GetContactsRotationRecurrenceMonthlySettingInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceMonthlySettingOutput() GetContactsRotationRecurrenceMonthlySettingOutput + ToGetContactsRotationRecurrenceMonthlySettingOutputWithContext(context.Context) GetContactsRotationRecurrenceMonthlySettingOutput +} + +type GetContactsRotationRecurrenceMonthlySettingArgs struct { + DayOfMonth pulumi.IntInput `pulumi:"dayOfMonth"` + HandOffTimes GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayInput `pulumi:"handOffTimes"` +} + +func (GetContactsRotationRecurrenceMonthlySettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceMonthlySetting)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceMonthlySettingArgs) ToGetContactsRotationRecurrenceMonthlySettingOutput() GetContactsRotationRecurrenceMonthlySettingOutput { + return i.ToGetContactsRotationRecurrenceMonthlySettingOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceMonthlySettingArgs) ToGetContactsRotationRecurrenceMonthlySettingOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceMonthlySettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceMonthlySettingOutput) +} + +// GetContactsRotationRecurrenceMonthlySettingArrayInput is an input type that accepts GetContactsRotationRecurrenceMonthlySettingArray and GetContactsRotationRecurrenceMonthlySettingArrayOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceMonthlySettingArrayInput` via: +// +// GetContactsRotationRecurrenceMonthlySettingArray{ GetContactsRotationRecurrenceMonthlySettingArgs{...} } +type GetContactsRotationRecurrenceMonthlySettingArrayInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceMonthlySettingArrayOutput() GetContactsRotationRecurrenceMonthlySettingArrayOutput + ToGetContactsRotationRecurrenceMonthlySettingArrayOutputWithContext(context.Context) GetContactsRotationRecurrenceMonthlySettingArrayOutput +} + +type GetContactsRotationRecurrenceMonthlySettingArray []GetContactsRotationRecurrenceMonthlySettingInput + +func (GetContactsRotationRecurrenceMonthlySettingArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceMonthlySetting)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceMonthlySettingArray) ToGetContactsRotationRecurrenceMonthlySettingArrayOutput() GetContactsRotationRecurrenceMonthlySettingArrayOutput { + return i.ToGetContactsRotationRecurrenceMonthlySettingArrayOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceMonthlySettingArray) ToGetContactsRotationRecurrenceMonthlySettingArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceMonthlySettingArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceMonthlySettingArrayOutput) +} + +type GetContactsRotationRecurrenceMonthlySettingOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceMonthlySettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceMonthlySetting)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceMonthlySettingOutput) ToGetContactsRotationRecurrenceMonthlySettingOutput() GetContactsRotationRecurrenceMonthlySettingOutput { + return o +} + +func (o GetContactsRotationRecurrenceMonthlySettingOutput) ToGetContactsRotationRecurrenceMonthlySettingOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceMonthlySettingOutput { + return o +} + +func (o GetContactsRotationRecurrenceMonthlySettingOutput) DayOfMonth() pulumi.IntOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceMonthlySetting) int { return v.DayOfMonth }).(pulumi.IntOutput) +} + +func (o GetContactsRotationRecurrenceMonthlySettingOutput) HandOffTimes() GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceMonthlySetting) []GetContactsRotationRecurrenceMonthlySettingHandOffTime { + return v.HandOffTimes + }).(GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput) +} + +type GetContactsRotationRecurrenceMonthlySettingArrayOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceMonthlySettingArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceMonthlySetting)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceMonthlySettingArrayOutput) ToGetContactsRotationRecurrenceMonthlySettingArrayOutput() GetContactsRotationRecurrenceMonthlySettingArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceMonthlySettingArrayOutput) ToGetContactsRotationRecurrenceMonthlySettingArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceMonthlySettingArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceMonthlySettingArrayOutput) Index(i pulumi.IntInput) GetContactsRotationRecurrenceMonthlySettingOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetContactsRotationRecurrenceMonthlySetting { + return vs[0].([]GetContactsRotationRecurrenceMonthlySetting)[vs[1].(int)] + }).(GetContactsRotationRecurrenceMonthlySettingOutput) +} + +type GetContactsRotationRecurrenceMonthlySettingHandOffTime struct { + HourOfDay int `pulumi:"hourOfDay"` + MinuteOfHour int `pulumi:"minuteOfHour"` +} + +// GetContactsRotationRecurrenceMonthlySettingHandOffTimeInput is an input type that accepts GetContactsRotationRecurrenceMonthlySettingHandOffTimeArgs and GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceMonthlySettingHandOffTimeInput` via: +// +// GetContactsRotationRecurrenceMonthlySettingHandOffTimeArgs{...} +type GetContactsRotationRecurrenceMonthlySettingHandOffTimeInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput() GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput + ToGetContactsRotationRecurrenceMonthlySettingHandOffTimeOutputWithContext(context.Context) GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput +} + +type GetContactsRotationRecurrenceMonthlySettingHandOffTimeArgs struct { + HourOfDay pulumi.IntInput `pulumi:"hourOfDay"` + MinuteOfHour pulumi.IntInput `pulumi:"minuteOfHour"` +} + +func (GetContactsRotationRecurrenceMonthlySettingHandOffTimeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceMonthlySettingHandOffTime)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceMonthlySettingHandOffTimeArgs) ToGetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput() GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput { + return i.ToGetContactsRotationRecurrenceMonthlySettingHandOffTimeOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceMonthlySettingHandOffTimeArgs) ToGetContactsRotationRecurrenceMonthlySettingHandOffTimeOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput) +} + +// GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayInput is an input type that accepts GetContactsRotationRecurrenceMonthlySettingHandOffTimeArray and GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayInput` via: +// +// GetContactsRotationRecurrenceMonthlySettingHandOffTimeArray{ GetContactsRotationRecurrenceMonthlySettingHandOffTimeArgs{...} } +type GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput() GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput + ToGetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutputWithContext(context.Context) GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput +} + +type GetContactsRotationRecurrenceMonthlySettingHandOffTimeArray []GetContactsRotationRecurrenceMonthlySettingHandOffTimeInput + +func (GetContactsRotationRecurrenceMonthlySettingHandOffTimeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceMonthlySettingHandOffTime)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceMonthlySettingHandOffTimeArray) ToGetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput() GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput { + return i.ToGetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceMonthlySettingHandOffTimeArray) ToGetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput) +} + +type GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceMonthlySettingHandOffTime)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput) ToGetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput() GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput { + return o +} + +func (o GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput) ToGetContactsRotationRecurrenceMonthlySettingHandOffTimeOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput { + return o +} + +func (o GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput) HourOfDay() pulumi.IntOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceMonthlySettingHandOffTime) int { return v.HourOfDay }).(pulumi.IntOutput) +} + +func (o GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput) MinuteOfHour() pulumi.IntOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceMonthlySettingHandOffTime) int { return v.MinuteOfHour }).(pulumi.IntOutput) +} + +type GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceMonthlySettingHandOffTime)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput) ToGetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput() GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput) ToGetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput) Index(i pulumi.IntInput) GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetContactsRotationRecurrenceMonthlySettingHandOffTime { + return vs[0].([]GetContactsRotationRecurrenceMonthlySettingHandOffTime)[vs[1].(int)] + }).(GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput) +} + +type GetContactsRotationRecurrenceShiftCoverage struct { + CoverageTimes []GetContactsRotationRecurrenceShiftCoverageCoverageTime `pulumi:"coverageTimes"` + MapBlockKey string `pulumi:"mapBlockKey"` +} + +// GetContactsRotationRecurrenceShiftCoverageInput is an input type that accepts GetContactsRotationRecurrenceShiftCoverageArgs and GetContactsRotationRecurrenceShiftCoverageOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceShiftCoverageInput` via: +// +// GetContactsRotationRecurrenceShiftCoverageArgs{...} +type GetContactsRotationRecurrenceShiftCoverageInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceShiftCoverageOutput() GetContactsRotationRecurrenceShiftCoverageOutput + ToGetContactsRotationRecurrenceShiftCoverageOutputWithContext(context.Context) GetContactsRotationRecurrenceShiftCoverageOutput +} + +type GetContactsRotationRecurrenceShiftCoverageArgs struct { + CoverageTimes GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayInput `pulumi:"coverageTimes"` + MapBlockKey pulumi.StringInput `pulumi:"mapBlockKey"` +} + +func (GetContactsRotationRecurrenceShiftCoverageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceShiftCoverage)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceShiftCoverageArgs) ToGetContactsRotationRecurrenceShiftCoverageOutput() GetContactsRotationRecurrenceShiftCoverageOutput { + return i.ToGetContactsRotationRecurrenceShiftCoverageOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceShiftCoverageArgs) ToGetContactsRotationRecurrenceShiftCoverageOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceShiftCoverageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceShiftCoverageOutput) +} + +// GetContactsRotationRecurrenceShiftCoverageArrayInput is an input type that accepts GetContactsRotationRecurrenceShiftCoverageArray and GetContactsRotationRecurrenceShiftCoverageArrayOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceShiftCoverageArrayInput` via: +// +// GetContactsRotationRecurrenceShiftCoverageArray{ GetContactsRotationRecurrenceShiftCoverageArgs{...} } +type GetContactsRotationRecurrenceShiftCoverageArrayInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceShiftCoverageArrayOutput() GetContactsRotationRecurrenceShiftCoverageArrayOutput + ToGetContactsRotationRecurrenceShiftCoverageArrayOutputWithContext(context.Context) GetContactsRotationRecurrenceShiftCoverageArrayOutput +} + +type GetContactsRotationRecurrenceShiftCoverageArray []GetContactsRotationRecurrenceShiftCoverageInput + +func (GetContactsRotationRecurrenceShiftCoverageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceShiftCoverage)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceShiftCoverageArray) ToGetContactsRotationRecurrenceShiftCoverageArrayOutput() GetContactsRotationRecurrenceShiftCoverageArrayOutput { + return i.ToGetContactsRotationRecurrenceShiftCoverageArrayOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceShiftCoverageArray) ToGetContactsRotationRecurrenceShiftCoverageArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceShiftCoverageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceShiftCoverageArrayOutput) +} + +type GetContactsRotationRecurrenceShiftCoverageOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceShiftCoverageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceShiftCoverage)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceShiftCoverageOutput) ToGetContactsRotationRecurrenceShiftCoverageOutput() GetContactsRotationRecurrenceShiftCoverageOutput { + return o +} + +func (o GetContactsRotationRecurrenceShiftCoverageOutput) ToGetContactsRotationRecurrenceShiftCoverageOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceShiftCoverageOutput { + return o +} + +func (o GetContactsRotationRecurrenceShiftCoverageOutput) CoverageTimes() GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceShiftCoverage) []GetContactsRotationRecurrenceShiftCoverageCoverageTime { + return v.CoverageTimes + }).(GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput) +} + +func (o GetContactsRotationRecurrenceShiftCoverageOutput) MapBlockKey() pulumi.StringOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceShiftCoverage) string { return v.MapBlockKey }).(pulumi.StringOutput) +} + +type GetContactsRotationRecurrenceShiftCoverageArrayOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceShiftCoverageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceShiftCoverage)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceShiftCoverageArrayOutput) ToGetContactsRotationRecurrenceShiftCoverageArrayOutput() GetContactsRotationRecurrenceShiftCoverageArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceShiftCoverageArrayOutput) ToGetContactsRotationRecurrenceShiftCoverageArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceShiftCoverageArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceShiftCoverageArrayOutput) Index(i pulumi.IntInput) GetContactsRotationRecurrenceShiftCoverageOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetContactsRotationRecurrenceShiftCoverage { + return vs[0].([]GetContactsRotationRecurrenceShiftCoverage)[vs[1].(int)] + }).(GetContactsRotationRecurrenceShiftCoverageOutput) +} + +type GetContactsRotationRecurrenceShiftCoverageCoverageTime struct { + Ends []GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd `pulumi:"ends"` + Starts []GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart `pulumi:"starts"` +} + +// GetContactsRotationRecurrenceShiftCoverageCoverageTimeInput is an input type that accepts GetContactsRotationRecurrenceShiftCoverageCoverageTimeArgs and GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceShiftCoverageCoverageTimeInput` via: +// +// GetContactsRotationRecurrenceShiftCoverageCoverageTimeArgs{...} +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput + ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeOutputWithContext(context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput +} + +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeArgs struct { + Ends GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayInput `pulumi:"ends"` + Starts GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayInput `pulumi:"starts"` +} + +func (GetContactsRotationRecurrenceShiftCoverageCoverageTimeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceShiftCoverageCoverageTime)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceShiftCoverageCoverageTimeArgs) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput { + return i.ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceShiftCoverageCoverageTimeArgs) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput) +} + +// GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayInput is an input type that accepts GetContactsRotationRecurrenceShiftCoverageCoverageTimeArray and GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayInput` via: +// +// GetContactsRotationRecurrenceShiftCoverageCoverageTimeArray{ GetContactsRotationRecurrenceShiftCoverageCoverageTimeArgs{...} } +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput + ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutputWithContext(context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput +} + +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeArray []GetContactsRotationRecurrenceShiftCoverageCoverageTimeInput + +func (GetContactsRotationRecurrenceShiftCoverageCoverageTimeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceShiftCoverageCoverageTime)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceShiftCoverageCoverageTimeArray) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput { + return i.ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceShiftCoverageCoverageTimeArray) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput) +} + +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceShiftCoverageCoverageTime)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput { + return o +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput { + return o +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput) Ends() GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceShiftCoverageCoverageTime) []GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd { + return v.Ends + }).(GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput) +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput) Starts() GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceShiftCoverageCoverageTime) []GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart { + return v.Starts + }).(GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput) +} + +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceShiftCoverageCoverageTime)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput) Index(i pulumi.IntInput) GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetContactsRotationRecurrenceShiftCoverageCoverageTime { + return vs[0].([]GetContactsRotationRecurrenceShiftCoverageCoverageTime)[vs[1].(int)] + }).(GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput) +} + +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd struct { + HourOfDay int `pulumi:"hourOfDay"` + MinuteOfHour int `pulumi:"minuteOfHour"` +} + +// GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndInput is an input type that accepts GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs and GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndInput` via: +// +// GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs{...} +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput + ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutputWithContext(context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput +} + +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs struct { + HourOfDay pulumi.IntInput `pulumi:"hourOfDay"` + MinuteOfHour pulumi.IntInput `pulumi:"minuteOfHour"` +} + +func (GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput { + return i.ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput) +} + +// GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayInput is an input type that accepts GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArray and GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayInput` via: +// +// GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArray{ GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs{...} } +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput + ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutputWithContext(context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput +} + +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArray []GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndInput + +func (GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArray) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput { + return i.ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArray) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput) +} + +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput { + return o +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput { + return o +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput) HourOfDay() pulumi.IntOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd) int { return v.HourOfDay }).(pulumi.IntOutput) +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput) MinuteOfHour() pulumi.IntOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd) int { return v.MinuteOfHour }).(pulumi.IntOutput) +} + +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput) Index(i pulumi.IntInput) GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd { + return vs[0].([]GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd)[vs[1].(int)] + }).(GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput) +} + +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart struct { + HourOfDay int `pulumi:"hourOfDay"` + MinuteOfHour int `pulumi:"minuteOfHour"` +} + +// GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartInput is an input type that accepts GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArgs and GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartInput` via: +// +// GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArgs{...} +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput + ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutputWithContext(context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput +} + +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArgs struct { + HourOfDay pulumi.IntInput `pulumi:"hourOfDay"` + MinuteOfHour pulumi.IntInput `pulumi:"minuteOfHour"` +} + +func (GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArgs) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput { + return i.ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArgs) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput) +} + +// GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayInput is an input type that accepts GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArray and GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayInput` via: +// +// GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArray{ GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArgs{...} } +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput + ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutputWithContext(context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput +} + +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArray []GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartInput + +func (GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArray) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput { + return i.ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArray) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput) +} + +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput { + return o +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput { + return o +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput) HourOfDay() pulumi.IntOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart) int { return v.HourOfDay }).(pulumi.IntOutput) +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput) MinuteOfHour() pulumi.IntOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart) int { return v.MinuteOfHour }).(pulumi.IntOutput) +} + +type GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput() GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput) ToGetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput) Index(i pulumi.IntInput) GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart { + return vs[0].([]GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart)[vs[1].(int)] + }).(GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput) +} + +type GetContactsRotationRecurrenceWeeklySetting struct { + DayOfWeek string `pulumi:"dayOfWeek"` + HandOffTimes []GetContactsRotationRecurrenceWeeklySettingHandOffTime `pulumi:"handOffTimes"` +} + +// GetContactsRotationRecurrenceWeeklySettingInput is an input type that accepts GetContactsRotationRecurrenceWeeklySettingArgs and GetContactsRotationRecurrenceWeeklySettingOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceWeeklySettingInput` via: +// +// GetContactsRotationRecurrenceWeeklySettingArgs{...} +type GetContactsRotationRecurrenceWeeklySettingInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceWeeklySettingOutput() GetContactsRotationRecurrenceWeeklySettingOutput + ToGetContactsRotationRecurrenceWeeklySettingOutputWithContext(context.Context) GetContactsRotationRecurrenceWeeklySettingOutput +} + +type GetContactsRotationRecurrenceWeeklySettingArgs struct { + DayOfWeek pulumi.StringInput `pulumi:"dayOfWeek"` + HandOffTimes GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayInput `pulumi:"handOffTimes"` +} + +func (GetContactsRotationRecurrenceWeeklySettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceWeeklySetting)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceWeeklySettingArgs) ToGetContactsRotationRecurrenceWeeklySettingOutput() GetContactsRotationRecurrenceWeeklySettingOutput { + return i.ToGetContactsRotationRecurrenceWeeklySettingOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceWeeklySettingArgs) ToGetContactsRotationRecurrenceWeeklySettingOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceWeeklySettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceWeeklySettingOutput) +} + +// GetContactsRotationRecurrenceWeeklySettingArrayInput is an input type that accepts GetContactsRotationRecurrenceWeeklySettingArray and GetContactsRotationRecurrenceWeeklySettingArrayOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceWeeklySettingArrayInput` via: +// +// GetContactsRotationRecurrenceWeeklySettingArray{ GetContactsRotationRecurrenceWeeklySettingArgs{...} } +type GetContactsRotationRecurrenceWeeklySettingArrayInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceWeeklySettingArrayOutput() GetContactsRotationRecurrenceWeeklySettingArrayOutput + ToGetContactsRotationRecurrenceWeeklySettingArrayOutputWithContext(context.Context) GetContactsRotationRecurrenceWeeklySettingArrayOutput +} + +type GetContactsRotationRecurrenceWeeklySettingArray []GetContactsRotationRecurrenceWeeklySettingInput + +func (GetContactsRotationRecurrenceWeeklySettingArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceWeeklySetting)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceWeeklySettingArray) ToGetContactsRotationRecurrenceWeeklySettingArrayOutput() GetContactsRotationRecurrenceWeeklySettingArrayOutput { + return i.ToGetContactsRotationRecurrenceWeeklySettingArrayOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceWeeklySettingArray) ToGetContactsRotationRecurrenceWeeklySettingArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceWeeklySettingArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceWeeklySettingArrayOutput) +} + +type GetContactsRotationRecurrenceWeeklySettingOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceWeeklySettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceWeeklySetting)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceWeeklySettingOutput) ToGetContactsRotationRecurrenceWeeklySettingOutput() GetContactsRotationRecurrenceWeeklySettingOutput { + return o +} + +func (o GetContactsRotationRecurrenceWeeklySettingOutput) ToGetContactsRotationRecurrenceWeeklySettingOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceWeeklySettingOutput { + return o +} + +func (o GetContactsRotationRecurrenceWeeklySettingOutput) DayOfWeek() pulumi.StringOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceWeeklySetting) string { return v.DayOfWeek }).(pulumi.StringOutput) +} + +func (o GetContactsRotationRecurrenceWeeklySettingOutput) HandOffTimes() GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceWeeklySetting) []GetContactsRotationRecurrenceWeeklySettingHandOffTime { + return v.HandOffTimes + }).(GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput) +} + +type GetContactsRotationRecurrenceWeeklySettingArrayOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceWeeklySettingArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceWeeklySetting)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceWeeklySettingArrayOutput) ToGetContactsRotationRecurrenceWeeklySettingArrayOutput() GetContactsRotationRecurrenceWeeklySettingArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceWeeklySettingArrayOutput) ToGetContactsRotationRecurrenceWeeklySettingArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceWeeklySettingArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceWeeklySettingArrayOutput) Index(i pulumi.IntInput) GetContactsRotationRecurrenceWeeklySettingOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetContactsRotationRecurrenceWeeklySetting { + return vs[0].([]GetContactsRotationRecurrenceWeeklySetting)[vs[1].(int)] + }).(GetContactsRotationRecurrenceWeeklySettingOutput) +} + +type GetContactsRotationRecurrenceWeeklySettingHandOffTime struct { + HourOfDay int `pulumi:"hourOfDay"` + MinuteOfHour int `pulumi:"minuteOfHour"` +} + +// GetContactsRotationRecurrenceWeeklySettingHandOffTimeInput is an input type that accepts GetContactsRotationRecurrenceWeeklySettingHandOffTimeArgs and GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceWeeklySettingHandOffTimeInput` via: +// +// GetContactsRotationRecurrenceWeeklySettingHandOffTimeArgs{...} +type GetContactsRotationRecurrenceWeeklySettingHandOffTimeInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput() GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput + ToGetContactsRotationRecurrenceWeeklySettingHandOffTimeOutputWithContext(context.Context) GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput +} + +type GetContactsRotationRecurrenceWeeklySettingHandOffTimeArgs struct { + HourOfDay pulumi.IntInput `pulumi:"hourOfDay"` + MinuteOfHour pulumi.IntInput `pulumi:"minuteOfHour"` +} + +func (GetContactsRotationRecurrenceWeeklySettingHandOffTimeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceWeeklySettingHandOffTime)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceWeeklySettingHandOffTimeArgs) ToGetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput() GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput { + return i.ToGetContactsRotationRecurrenceWeeklySettingHandOffTimeOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceWeeklySettingHandOffTimeArgs) ToGetContactsRotationRecurrenceWeeklySettingHandOffTimeOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput) +} + +// GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayInput is an input type that accepts GetContactsRotationRecurrenceWeeklySettingHandOffTimeArray and GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput values. +// You can construct a concrete instance of `GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayInput` via: +// +// GetContactsRotationRecurrenceWeeklySettingHandOffTimeArray{ GetContactsRotationRecurrenceWeeklySettingHandOffTimeArgs{...} } +type GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayInput interface { + pulumi.Input + + ToGetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput() GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput + ToGetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutputWithContext(context.Context) GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput +} + +type GetContactsRotationRecurrenceWeeklySettingHandOffTimeArray []GetContactsRotationRecurrenceWeeklySettingHandOffTimeInput + +func (GetContactsRotationRecurrenceWeeklySettingHandOffTimeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceWeeklySettingHandOffTime)(nil)).Elem() +} + +func (i GetContactsRotationRecurrenceWeeklySettingHandOffTimeArray) ToGetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput() GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput { + return i.ToGetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutputWithContext(context.Background()) +} + +func (i GetContactsRotationRecurrenceWeeklySettingHandOffTimeArray) ToGetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput) +} + +type GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetContactsRotationRecurrenceWeeklySettingHandOffTime)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput) ToGetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput() GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput { + return o +} + +func (o GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput) ToGetContactsRotationRecurrenceWeeklySettingHandOffTimeOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput { + return o +} + +func (o GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput) HourOfDay() pulumi.IntOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceWeeklySettingHandOffTime) int { return v.HourOfDay }).(pulumi.IntOutput) +} + +func (o GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput) MinuteOfHour() pulumi.IntOutput { + return o.ApplyT(func(v GetContactsRotationRecurrenceWeeklySettingHandOffTime) int { return v.MinuteOfHour }).(pulumi.IntOutput) +} + +type GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput struct{ *pulumi.OutputState } + +func (GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetContactsRotationRecurrenceWeeklySettingHandOffTime)(nil)).Elem() +} + +func (o GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput) ToGetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput() GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput) ToGetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutputWithContext(ctx context.Context) GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput { + return o +} + +func (o GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput) Index(i pulumi.IntInput) GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetContactsRotationRecurrenceWeeklySettingHandOffTime { + return vs[0].([]GetContactsRotationRecurrenceWeeklySettingHandOffTime)[vs[1].(int)] + }).(GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput) +} + type GetInstancesFilter struct { // Name of the filter field. Valid values can be found in the [SSM InstanceInformationStringFilter API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_InstanceInformationStringFilter.html). Name string `pulumi:"name"` @@ -5249,6 +6167,24 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ResourceDataSyncS3DestinationPtrInput)(nil)).Elem(), ResourceDataSyncS3DestinationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceInput)(nil)).Elem(), GetContactsRotationRecurrenceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceArrayInput)(nil)).Elem(), GetContactsRotationRecurrenceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceDailySettingInput)(nil)).Elem(), GetContactsRotationRecurrenceDailySettingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceDailySettingArrayInput)(nil)).Elem(), GetContactsRotationRecurrenceDailySettingArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceMonthlySettingInput)(nil)).Elem(), GetContactsRotationRecurrenceMonthlySettingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceMonthlySettingArrayInput)(nil)).Elem(), GetContactsRotationRecurrenceMonthlySettingArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceMonthlySettingHandOffTimeInput)(nil)).Elem(), GetContactsRotationRecurrenceMonthlySettingHandOffTimeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayInput)(nil)).Elem(), GetContactsRotationRecurrenceMonthlySettingHandOffTimeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceShiftCoverageInput)(nil)).Elem(), GetContactsRotationRecurrenceShiftCoverageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceShiftCoverageArrayInput)(nil)).Elem(), GetContactsRotationRecurrenceShiftCoverageArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceShiftCoverageCoverageTimeInput)(nil)).Elem(), GetContactsRotationRecurrenceShiftCoverageCoverageTimeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayInput)(nil)).Elem(), GetContactsRotationRecurrenceShiftCoverageCoverageTimeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndInput)(nil)).Elem(), GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayInput)(nil)).Elem(), GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartInput)(nil)).Elem(), GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayInput)(nil)).Elem(), GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceWeeklySettingInput)(nil)).Elem(), GetContactsRotationRecurrenceWeeklySettingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceWeeklySettingArrayInput)(nil)).Elem(), GetContactsRotationRecurrenceWeeklySettingArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceWeeklySettingHandOffTimeInput)(nil)).Elem(), GetContactsRotationRecurrenceWeeklySettingHandOffTimeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayInput)(nil)).Elem(), GetContactsRotationRecurrenceWeeklySettingHandOffTimeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesFilterInput)(nil)).Elem(), GetInstancesFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetInstancesFilterArrayInput)(nil)).Elem(), GetInstancesFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMaintenanceWindowsFilterInput)(nil)).Elem(), GetMaintenanceWindowsFilterArgs{}) @@ -5323,6 +6259,24 @@ func init() { pulumi.RegisterOutputType(ResourceDataSyncS3DestinationPtrOutput{}) pulumi.RegisterOutputType(GetContactsRotationRecurrenceOutput{}) pulumi.RegisterOutputType(GetContactsRotationRecurrenceArrayOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceDailySettingOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceDailySettingArrayOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceMonthlySettingOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceMonthlySettingArrayOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceMonthlySettingHandOffTimeOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceMonthlySettingHandOffTimeArrayOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceShiftCoverageOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceShiftCoverageArrayOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceShiftCoverageCoverageTimeOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceShiftCoverageCoverageTimeArrayOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndArrayOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartArrayOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceWeeklySettingOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceWeeklySettingArrayOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceWeeklySettingHandOffTimeOutput{}) + pulumi.RegisterOutputType(GetContactsRotationRecurrenceWeeklySettingHandOffTimeArrayOutput{}) pulumi.RegisterOutputType(GetInstancesFilterOutput{}) pulumi.RegisterOutputType(GetInstancesFilterArrayOutput{}) pulumi.RegisterOutputType(GetMaintenanceWindowsFilterOutput{}) diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksProperty.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksProperty.java index 72ade4214bc..b37588ff1a5 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksProperty.java +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksProperty.java @@ -3,9 +3,9 @@ package com.pulumi.aws.batch.outputs; +import com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodProperty; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Object; import java.util.List; import java.util.Objects; @@ -15,14 +15,14 @@ public final class GetJobDefinitionEksProperty { * @return The properties for the Kubernetes pod resources of a job. * */ - private List podProperties; + private List podProperties; private GetJobDefinitionEksProperty() {} /** * @return The properties for the Kubernetes pod resources of a job. * */ - public List podProperties() { + public List podProperties() { return this.podProperties; } @@ -35,7 +35,7 @@ public static Builder builder(GetJobDefinitionEksProperty defaults) { } @CustomType.Builder public static final class Builder { - private List podProperties; + private List podProperties; public Builder() {} public Builder(GetJobDefinitionEksProperty defaults) { Objects.requireNonNull(defaults); @@ -43,14 +43,14 @@ public Builder(GetJobDefinitionEksProperty defaults) { } @CustomType.Setter - public Builder podProperties(List podProperties) { + public Builder podProperties(List podProperties) { if (podProperties == null) { throw new MissingRequiredPropertyException("GetJobDefinitionEksProperty", "podProperties"); } this.podProperties = podProperties; return this; } - public Builder podProperties(Object... podProperties) { + public Builder podProperties(GetJobDefinitionEksPropertyPodProperty... podProperties) { return podProperties(List.of(podProperties)); } public GetJobDefinitionEksProperty build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodProperty.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodProperty.java new file mode 100644 index 00000000000..87751aef47c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodProperty.java @@ -0,0 +1,187 @@ +// *** 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.batch.outputs; + +import com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyContainer; +import com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyMetadata; +import com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyVolume; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionEksPropertyPodProperty { + /** + * @return The properties of the container that's used on the Amazon EKS pod. Array of EksContainer objects. + * + */ + private List containers; + /** + * @return The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. + * + */ + private String dnsPolicy; + /** + * @return Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. + * + */ + private Boolean hostNetwork; + /** + * @return Metadata about the Kubernetes pod. + * + */ + private List metadatas; + /** + * @return The name of the service account that's used to run the pod. + * + */ + private Boolean serviceAccountName; + /** + * @return A list of data volumes used in a job. + * + */ + private List volumes; + + private GetJobDefinitionEksPropertyPodProperty() {} + /** + * @return The properties of the container that's used on the Amazon EKS pod. Array of EksContainer objects. + * + */ + public List containers() { + return this.containers; + } + /** + * @return The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. + * + */ + public String dnsPolicy() { + return this.dnsPolicy; + } + /** + * @return Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. + * + */ + public Boolean hostNetwork() { + return this.hostNetwork; + } + /** + * @return Metadata about the Kubernetes pod. + * + */ + public List metadatas() { + return this.metadatas; + } + /** + * @return The name of the service account that's used to run the pod. + * + */ + public Boolean serviceAccountName() { + return this.serviceAccountName; + } + /** + * @return A list of data volumes used in a job. + * + */ + public List volumes() { + return this.volumes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionEksPropertyPodProperty defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List containers; + private String dnsPolicy; + private Boolean hostNetwork; + private List metadatas; + private Boolean serviceAccountName; + private List volumes; + public Builder() {} + public Builder(GetJobDefinitionEksPropertyPodProperty defaults) { + Objects.requireNonNull(defaults); + this.containers = defaults.containers; + this.dnsPolicy = defaults.dnsPolicy; + this.hostNetwork = defaults.hostNetwork; + this.metadatas = defaults.metadatas; + this.serviceAccountName = defaults.serviceAccountName; + this.volumes = defaults.volumes; + } + + @CustomType.Setter + public Builder containers(List containers) { + if (containers == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodProperty", "containers"); + } + this.containers = containers; + return this; + } + public Builder containers(GetJobDefinitionEksPropertyPodPropertyContainer... containers) { + return containers(List.of(containers)); + } + @CustomType.Setter + public Builder dnsPolicy(String dnsPolicy) { + if (dnsPolicy == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodProperty", "dnsPolicy"); + } + this.dnsPolicy = dnsPolicy; + return this; + } + @CustomType.Setter + public Builder hostNetwork(Boolean hostNetwork) { + if (hostNetwork == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodProperty", "hostNetwork"); + } + this.hostNetwork = hostNetwork; + return this; + } + @CustomType.Setter + public Builder metadatas(List metadatas) { + if (metadatas == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodProperty", "metadatas"); + } + this.metadatas = metadatas; + return this; + } + public Builder metadatas(GetJobDefinitionEksPropertyPodPropertyMetadata... metadatas) { + return metadatas(List.of(metadatas)); + } + @CustomType.Setter + public Builder serviceAccountName(Boolean serviceAccountName) { + if (serviceAccountName == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodProperty", "serviceAccountName"); + } + this.serviceAccountName = serviceAccountName; + return this; + } + @CustomType.Setter + public Builder volumes(List volumes) { + if (volumes == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodProperty", "volumes"); + } + this.volumes = volumes; + return this; + } + public Builder volumes(GetJobDefinitionEksPropertyPodPropertyVolume... volumes) { + return volumes(List.of(volumes)); + } + public GetJobDefinitionEksPropertyPodProperty build() { + final var _resultValue = new GetJobDefinitionEksPropertyPodProperty(); + _resultValue.containers = containers; + _resultValue.dnsPolicy = dnsPolicy; + _resultValue.hostNetwork = hostNetwork; + _resultValue.metadatas = metadatas; + _resultValue.serviceAccountName = serviceAccountName; + _resultValue.volumes = volumes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyContainer.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyContainer.java new file mode 100644 index 00000000000..ca950a92f3e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyContainer.java @@ -0,0 +1,265 @@ +// *** 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.batch.outputs; + +import com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyContainerEnv; +import com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyContainerResource; +import com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext; +import com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionEksPropertyPodPropertyContainer { + /** + * @return An array of arguments to the entrypoint + * + */ + private List args; + /** + * @return The command that's passed to the container. + * + */ + private List commands; + /** + * @return The environment variables to pass to a container. Array of EksContainerEnvironmentVariable objects. + * + */ + private List envs; + /** + * @return The image used to start a container. + * + */ + private String image; + /** + * @return The image pull policy for the container. + * + */ + private String imagePullPolicy; + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + private String name; + /** + * @return The type and amount of resources to assign to a container. + * + */ + private List resources; + /** + * @return The security context for a job. + * + */ + private List securityContexts; + /** + * @return The volume mounts for the container. + * + */ + private List volumeMounts; + + private GetJobDefinitionEksPropertyPodPropertyContainer() {} + /** + * @return An array of arguments to the entrypoint + * + */ + public List args() { + return this.args; + } + /** + * @return The command that's passed to the container. + * + */ + public List commands() { + return this.commands; + } + /** + * @return The environment variables to pass to a container. Array of EksContainerEnvironmentVariable objects. + * + */ + public List envs() { + return this.envs; + } + /** + * @return The image used to start a container. + * + */ + public String image() { + return this.image; + } + /** + * @return The image pull policy for the container. + * + */ + public String imagePullPolicy() { + return this.imagePullPolicy; + } + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + public String name() { + return this.name; + } + /** + * @return The type and amount of resources to assign to a container. + * + */ + public List resources() { + return this.resources; + } + /** + * @return The security context for a job. + * + */ + public List securityContexts() { + return this.securityContexts; + } + /** + * @return The volume mounts for the container. + * + */ + public List volumeMounts() { + return this.volumeMounts; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionEksPropertyPodPropertyContainer defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List args; + private List commands; + private List envs; + private String image; + private String imagePullPolicy; + private String name; + private List resources; + private List securityContexts; + private List volumeMounts; + public Builder() {} + public Builder(GetJobDefinitionEksPropertyPodPropertyContainer defaults) { + Objects.requireNonNull(defaults); + this.args = defaults.args; + this.commands = defaults.commands; + this.envs = defaults.envs; + this.image = defaults.image; + this.imagePullPolicy = defaults.imagePullPolicy; + this.name = defaults.name; + this.resources = defaults.resources; + this.securityContexts = defaults.securityContexts; + this.volumeMounts = defaults.volumeMounts; + } + + @CustomType.Setter + public Builder args(List args) { + if (args == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainer", "args"); + } + this.args = args; + return this; + } + public Builder args(String... args) { + return args(List.of(args)); + } + @CustomType.Setter + public Builder commands(List commands) { + if (commands == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainer", "commands"); + } + this.commands = commands; + return this; + } + public Builder commands(String... commands) { + return commands(List.of(commands)); + } + @CustomType.Setter + public Builder envs(List envs) { + if (envs == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainer", "envs"); + } + this.envs = envs; + return this; + } + public Builder envs(GetJobDefinitionEksPropertyPodPropertyContainerEnv... envs) { + return envs(List.of(envs)); + } + @CustomType.Setter + public Builder image(String image) { + if (image == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainer", "image"); + } + this.image = image; + return this; + } + @CustomType.Setter + public Builder imagePullPolicy(String imagePullPolicy) { + if (imagePullPolicy == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainer", "imagePullPolicy"); + } + this.imagePullPolicy = imagePullPolicy; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainer", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder resources(List resources) { + if (resources == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainer", "resources"); + } + this.resources = resources; + return this; + } + public Builder resources(GetJobDefinitionEksPropertyPodPropertyContainerResource... resources) { + return resources(List.of(resources)); + } + @CustomType.Setter + public Builder securityContexts(List securityContexts) { + if (securityContexts == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainer", "securityContexts"); + } + this.securityContexts = securityContexts; + return this; + } + public Builder securityContexts(GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext... securityContexts) { + return securityContexts(List.of(securityContexts)); + } + @CustomType.Setter + public Builder volumeMounts(List volumeMounts) { + if (volumeMounts == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainer", "volumeMounts"); + } + this.volumeMounts = volumeMounts; + return this; + } + public Builder volumeMounts(GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount... volumeMounts) { + return volumeMounts(List.of(volumeMounts)); + } + public GetJobDefinitionEksPropertyPodPropertyContainer build() { + final var _resultValue = new GetJobDefinitionEksPropertyPodPropertyContainer(); + _resultValue.args = args; + _resultValue.commands = commands; + _resultValue.envs = envs; + _resultValue.image = image; + _resultValue.imagePullPolicy = imagePullPolicy; + _resultValue.name = name; + _resultValue.resources = resources; + _resultValue.securityContexts = securityContexts; + _resultValue.volumeMounts = volumeMounts; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyContainerEnv.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyContainerEnv.java new file mode 100644 index 00000000000..f68bdf8837b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyContainerEnv.java @@ -0,0 +1,81 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionEksPropertyPodPropertyContainerEnv { + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + private String name; + /** + * @return The quantity of the specified resource to reserve for the container. + * + */ + private String value; + + private GetJobDefinitionEksPropertyPodPropertyContainerEnv() {} + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + public String name() { + return this.name; + } + /** + * @return The quantity of the specified resource to reserve for the container. + * + */ + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionEksPropertyPodPropertyContainerEnv defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String value; + public Builder() {} + public Builder(GetJobDefinitionEksPropertyPodPropertyContainerEnv defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainerEnv", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainerEnv", "value"); + } + this.value = value; + return this; + } + public GetJobDefinitionEksPropertyPodPropertyContainerEnv build() { + final var _resultValue = new GetJobDefinitionEksPropertyPodPropertyContainerEnv(); + _resultValue.name = name; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyContainerResource.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyContainerResource.java new file mode 100644 index 00000000000..1bd76d58584 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyContainerResource.java @@ -0,0 +1,83 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Object; +import java.lang.String; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionEksPropertyPodPropertyContainerResource { + /** + * @return The type and quantity of the resources to reserve for the container. + * + */ + private Map limits; + /** + * @return The type and quantity of the resources to request for the container. + * + */ + private Map requests; + + private GetJobDefinitionEksPropertyPodPropertyContainerResource() {} + /** + * @return The type and quantity of the resources to reserve for the container. + * + */ + public Map limits() { + return this.limits; + } + /** + * @return The type and quantity of the resources to request for the container. + * + */ + public Map requests() { + return this.requests; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionEksPropertyPodPropertyContainerResource defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Map limits; + private Map requests; + public Builder() {} + public Builder(GetJobDefinitionEksPropertyPodPropertyContainerResource defaults) { + Objects.requireNonNull(defaults); + this.limits = defaults.limits; + this.requests = defaults.requests; + } + + @CustomType.Setter + public Builder limits(Map limits) { + if (limits == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainerResource", "limits"); + } + this.limits = limits; + return this; + } + @CustomType.Setter + public Builder requests(Map requests) { + if (requests == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainerResource", "requests"); + } + this.requests = requests; + return this; + } + public GetJobDefinitionEksPropertyPodPropertyContainerResource build() { + final var _resultValue = new GetJobDefinitionEksPropertyPodPropertyContainerResource(); + _resultValue.limits = limits; + _resultValue.requests = requests; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext.java new file mode 100644 index 00000000000..cf330df9131 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext.java @@ -0,0 +1,143 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.Integer; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext { + /** + * @return When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). + * + */ + private Boolean privileged; + private Boolean readOnlyRootFileSystem; + /** + * @return When this parameter is specified, the container is run as the specified group ID (gid). If this parameter isn't specified, the default is the group that's specified in the image metadata. + * + */ + private Integer runAsGroup; + /** + * @return When this parameter is specified, the container is run as a user with a uid other than 0. If this parameter isn't specified, so such rule is enforced. + * + */ + private Boolean runAsNonRoot; + /** + * @return When this parameter is specified, the container is run as the specified user ID (uid). If this parameter isn't specified, the default is the user that's specified in the image metadata. + * + */ + private Integer runAsUser; + + private GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext() {} + /** + * @return When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). + * + */ + public Boolean privileged() { + return this.privileged; + } + public Boolean readOnlyRootFileSystem() { + return this.readOnlyRootFileSystem; + } + /** + * @return When this parameter is specified, the container is run as the specified group ID (gid). If this parameter isn't specified, the default is the group that's specified in the image metadata. + * + */ + public Integer runAsGroup() { + return this.runAsGroup; + } + /** + * @return When this parameter is specified, the container is run as a user with a uid other than 0. If this parameter isn't specified, so such rule is enforced. + * + */ + public Boolean runAsNonRoot() { + return this.runAsNonRoot; + } + /** + * @return When this parameter is specified, the container is run as the specified user ID (uid). If this parameter isn't specified, the default is the user that's specified in the image metadata. + * + */ + public Integer runAsUser() { + return this.runAsUser; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean privileged; + private Boolean readOnlyRootFileSystem; + private Integer runAsGroup; + private Boolean runAsNonRoot; + private Integer runAsUser; + public Builder() {} + public Builder(GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext defaults) { + Objects.requireNonNull(defaults); + this.privileged = defaults.privileged; + this.readOnlyRootFileSystem = defaults.readOnlyRootFileSystem; + this.runAsGroup = defaults.runAsGroup; + this.runAsNonRoot = defaults.runAsNonRoot; + this.runAsUser = defaults.runAsUser; + } + + @CustomType.Setter + public Builder privileged(Boolean privileged) { + if (privileged == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext", "privileged"); + } + this.privileged = privileged; + return this; + } + @CustomType.Setter + public Builder readOnlyRootFileSystem(Boolean readOnlyRootFileSystem) { + if (readOnlyRootFileSystem == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext", "readOnlyRootFileSystem"); + } + this.readOnlyRootFileSystem = readOnlyRootFileSystem; + return this; + } + @CustomType.Setter + public Builder runAsGroup(Integer runAsGroup) { + if (runAsGroup == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext", "runAsGroup"); + } + this.runAsGroup = runAsGroup; + return this; + } + @CustomType.Setter + public Builder runAsNonRoot(Boolean runAsNonRoot) { + if (runAsNonRoot == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext", "runAsNonRoot"); + } + this.runAsNonRoot = runAsNonRoot; + return this; + } + @CustomType.Setter + public Builder runAsUser(Integer runAsUser) { + if (runAsUser == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext", "runAsUser"); + } + this.runAsUser = runAsUser; + return this; + } + public GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext build() { + final var _resultValue = new GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext(); + _resultValue.privileged = privileged; + _resultValue.readOnlyRootFileSystem = readOnlyRootFileSystem; + _resultValue.runAsGroup = runAsGroup; + _resultValue.runAsNonRoot = runAsNonRoot; + _resultValue.runAsUser = runAsUser; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount.java new file mode 100644 index 00000000000..febc8a70bf3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount.java @@ -0,0 +1,105 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount { + /** + * @return The path on the container where the volume is mounted. + * + */ + private String mountPath; + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + private String name; + /** + * @return If this value is true, the container has read-only access to the volume. + * + */ + private Boolean readOnly; + + private GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount() {} + /** + * @return The path on the container where the volume is mounted. + * + */ + public String mountPath() { + return this.mountPath; + } + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + public String name() { + return this.name; + } + /** + * @return If this value is true, the container has read-only access to the volume. + * + */ + public Boolean readOnly() { + return this.readOnly; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String mountPath; + private String name; + private Boolean readOnly; + public Builder() {} + public Builder(GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount defaults) { + Objects.requireNonNull(defaults); + this.mountPath = defaults.mountPath; + this.name = defaults.name; + this.readOnly = defaults.readOnly; + } + + @CustomType.Setter + public Builder mountPath(String mountPath) { + if (mountPath == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount", "mountPath"); + } + this.mountPath = mountPath; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder readOnly(Boolean readOnly) { + if (readOnly == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount", "readOnly"); + } + this.readOnly = readOnly; + return this; + } + public GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount build() { + final var _resultValue = new GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount(); + _resultValue.mountPath = mountPath; + _resultValue.name = name; + _resultValue.readOnly = readOnly; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyMetadata.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyMetadata.java new file mode 100644 index 00000000000..d198db9995f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyMetadata.java @@ -0,0 +1,60 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Object; +import java.lang.String; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionEksPropertyPodPropertyMetadata { + /** + * @return Key-value pairs used to identify, sort, and organize cube resources. + * + */ + private Map labels; + + private GetJobDefinitionEksPropertyPodPropertyMetadata() {} + /** + * @return Key-value pairs used to identify, sort, and organize cube resources. + * + */ + public Map labels() { + return this.labels; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionEksPropertyPodPropertyMetadata defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Map labels; + public Builder() {} + public Builder(GetJobDefinitionEksPropertyPodPropertyMetadata defaults) { + Objects.requireNonNull(defaults); + this.labels = defaults.labels; + } + + @CustomType.Setter + public Builder labels(Map labels) { + if (labels == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyMetadata", "labels"); + } + this.labels = labels; + return this; + } + public GetJobDefinitionEksPropertyPodPropertyMetadata build() { + final var _resultValue = new GetJobDefinitionEksPropertyPodPropertyMetadata(); + _resultValue.labels = labels; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyVolume.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyVolume.java new file mode 100644 index 00000000000..601f83be17f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyVolume.java @@ -0,0 +1,140 @@ +// *** 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.batch.outputs; + +import com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir; +import com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyVolumeHostPath; +import com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyVolumeSecret; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionEksPropertyPodPropertyVolume { + /** + * @return Specifies the configuration of a Kubernetes emptyDir volume. + * + */ + private List emptyDirs; + /** + * @return The path for the device on the host container instance. + * + */ + private List hostPaths; + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + private String name; + /** + * @return Specifies the configuration of a Kubernetes secret volume. + * + */ + private List secrets; + + private GetJobDefinitionEksPropertyPodPropertyVolume() {} + /** + * @return Specifies the configuration of a Kubernetes emptyDir volume. + * + */ + public List emptyDirs() { + return this.emptyDirs; + } + /** + * @return The path for the device on the host container instance. + * + */ + public List hostPaths() { + return this.hostPaths; + } + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + public String name() { + return this.name; + } + /** + * @return Specifies the configuration of a Kubernetes secret volume. + * + */ + public List secrets() { + return this.secrets; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionEksPropertyPodPropertyVolume defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List emptyDirs; + private List hostPaths; + private String name; + private List secrets; + public Builder() {} + public Builder(GetJobDefinitionEksPropertyPodPropertyVolume defaults) { + Objects.requireNonNull(defaults); + this.emptyDirs = defaults.emptyDirs; + this.hostPaths = defaults.hostPaths; + this.name = defaults.name; + this.secrets = defaults.secrets; + } + + @CustomType.Setter + public Builder emptyDirs(List emptyDirs) { + if (emptyDirs == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyVolume", "emptyDirs"); + } + this.emptyDirs = emptyDirs; + return this; + } + public Builder emptyDirs(GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir... emptyDirs) { + return emptyDirs(List.of(emptyDirs)); + } + @CustomType.Setter + public Builder hostPaths(List hostPaths) { + if (hostPaths == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyVolume", "hostPaths"); + } + this.hostPaths = hostPaths; + return this; + } + public Builder hostPaths(GetJobDefinitionEksPropertyPodPropertyVolumeHostPath... hostPaths) { + return hostPaths(List.of(hostPaths)); + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyVolume", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder secrets(List secrets) { + if (secrets == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyVolume", "secrets"); + } + this.secrets = secrets; + return this; + } + public Builder secrets(GetJobDefinitionEksPropertyPodPropertyVolumeSecret... secrets) { + return secrets(List.of(secrets)); + } + public GetJobDefinitionEksPropertyPodPropertyVolume build() { + final var _resultValue = new GetJobDefinitionEksPropertyPodPropertyVolume(); + _resultValue.emptyDirs = emptyDirs; + _resultValue.hostPaths = hostPaths; + _resultValue.name = name; + _resultValue.secrets = secrets; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir.java new file mode 100644 index 00000000000..224c9c0284f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir.java @@ -0,0 +1,81 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir { + /** + * @return The medium to store the volume. + * + */ + private String medium; + /** + * @return The maximum size of the volume. By default, there's no maximum size defined. + * + */ + private String sizeLimit; + + private GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir() {} + /** + * @return The medium to store the volume. + * + */ + public String medium() { + return this.medium; + } + /** + * @return The maximum size of the volume. By default, there's no maximum size defined. + * + */ + public String sizeLimit() { + return this.sizeLimit; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String medium; + private String sizeLimit; + public Builder() {} + public Builder(GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir defaults) { + Objects.requireNonNull(defaults); + this.medium = defaults.medium; + this.sizeLimit = defaults.sizeLimit; + } + + @CustomType.Setter + public Builder medium(String medium) { + if (medium == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir", "medium"); + } + this.medium = medium; + return this; + } + @CustomType.Setter + public Builder sizeLimit(String sizeLimit) { + if (sizeLimit == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir", "sizeLimit"); + } + this.sizeLimit = sizeLimit; + return this; + } + public GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir build() { + final var _resultValue = new GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir(); + _resultValue.medium = medium; + _resultValue.sizeLimit = sizeLimit; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyVolumeHostPath.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyVolumeHostPath.java new file mode 100644 index 00000000000..db454fc5e02 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyVolumeHostPath.java @@ -0,0 +1,58 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionEksPropertyPodPropertyVolumeHostPath { + /** + * @return The path of the file or directory on the host to mount into containers on the pod. + * + */ + private String path; + + private GetJobDefinitionEksPropertyPodPropertyVolumeHostPath() {} + /** + * @return The path of the file or directory on the host to mount into containers on the pod. + * + */ + public String path() { + return this.path; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionEksPropertyPodPropertyVolumeHostPath defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String path; + public Builder() {} + public Builder(GetJobDefinitionEksPropertyPodPropertyVolumeHostPath defaults) { + Objects.requireNonNull(defaults); + this.path = defaults.path; + } + + @CustomType.Setter + public Builder path(String path) { + if (path == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyVolumeHostPath", "path"); + } + this.path = path; + return this; + } + public GetJobDefinitionEksPropertyPodPropertyVolumeHostPath build() { + final var _resultValue = new GetJobDefinitionEksPropertyPodPropertyVolumeHostPath(); + _resultValue.path = path; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyVolumeSecret.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyVolumeSecret.java new file mode 100644 index 00000000000..1e3052e37c7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionEksPropertyPodPropertyVolumeSecret.java @@ -0,0 +1,82 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionEksPropertyPodPropertyVolumeSecret { + /** + * @return Specifies whether the secret or the secret's keys must be defined. + * + */ + private Boolean optional; + /** + * @return The name of the secret. The name must be allowed as a DNS subdomain name + * + */ + private String secretName; + + private GetJobDefinitionEksPropertyPodPropertyVolumeSecret() {} + /** + * @return Specifies whether the secret or the secret's keys must be defined. + * + */ + public Boolean optional() { + return this.optional; + } + /** + * @return The name of the secret. The name must be allowed as a DNS subdomain name + * + */ + public String secretName() { + return this.secretName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionEksPropertyPodPropertyVolumeSecret defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean optional; + private String secretName; + public Builder() {} + public Builder(GetJobDefinitionEksPropertyPodPropertyVolumeSecret defaults) { + Objects.requireNonNull(defaults); + this.optional = defaults.optional; + this.secretName = defaults.secretName; + } + + @CustomType.Setter + public Builder optional(Boolean optional) { + if (optional == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyVolumeSecret", "optional"); + } + this.optional = optional; + return this; + } + @CustomType.Setter + public Builder secretName(String secretName) { + if (secretName == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyVolumeSecret", "secretName"); + } + this.secretName = secretName; + return this; + } + public GetJobDefinitionEksPropertyPodPropertyVolumeSecret build() { + final var _resultValue = new GetJobDefinitionEksPropertyPodPropertyVolumeSecret(); + _resultValue.optional = optional; + _resultValue.secretName = secretName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodeProperty.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodeProperty.java index 6d547038dc3..e735b4a9b08 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodeProperty.java +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodeProperty.java @@ -3,10 +3,10 @@ package com.pulumi.aws.batch.outputs; +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangeProperty; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; -import java.lang.Object; import java.util.List; import java.util.Objects; @@ -21,7 +21,7 @@ public final class GetJobDefinitionNodeProperty { * @return A list of node ranges and their properties that are associated with a multi-node parallel job. * */ - private List nodeRangeProperties; + private List nodeRangeProperties; /** * @return The number of nodes that are associated with a multi-node parallel job. * @@ -40,7 +40,7 @@ public Integer mainNode() { * @return A list of node ranges and their properties that are associated with a multi-node parallel job. * */ - public List nodeRangeProperties() { + public List nodeRangeProperties() { return this.nodeRangeProperties; } /** @@ -61,7 +61,7 @@ public static Builder builder(GetJobDefinitionNodeProperty defaults) { @CustomType.Builder public static final class Builder { private Integer mainNode; - private List nodeRangeProperties; + private List nodeRangeProperties; private Integer numNodes; public Builder() {} public Builder(GetJobDefinitionNodeProperty defaults) { @@ -80,14 +80,14 @@ public Builder mainNode(Integer mainNode) { return this; } @CustomType.Setter - public Builder nodeRangeProperties(List nodeRangeProperties) { + public Builder nodeRangeProperties(List nodeRangeProperties) { if (nodeRangeProperties == null) { throw new MissingRequiredPropertyException("GetJobDefinitionNodeProperty", "nodeRangeProperties"); } this.nodeRangeProperties = nodeRangeProperties; return this; } - public Builder nodeRangeProperties(Object... nodeRangeProperties) { + public Builder nodeRangeProperties(GetJobDefinitionNodePropertyNodeRangeProperty... nodeRangeProperties) { return nodeRangeProperties(List.of(nodeRangeProperties)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangeProperty.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangeProperty.java new file mode 100644 index 00000000000..52a310d964a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangeProperty.java @@ -0,0 +1,86 @@ +// *** 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.batch.outputs; + +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainer; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangeProperty { + /** + * @return The container details for the node range. + * + */ + private List containers; + /** + * @return The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. I + * + */ + private String targetNodes; + + private GetJobDefinitionNodePropertyNodeRangeProperty() {} + /** + * @return The container details for the node range. + * + */ + public List containers() { + return this.containers; + } + /** + * @return The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. I + * + */ + public String targetNodes() { + return this.targetNodes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangeProperty defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List containers; + private String targetNodes; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangeProperty defaults) { + Objects.requireNonNull(defaults); + this.containers = defaults.containers; + this.targetNodes = defaults.targetNodes; + } + + @CustomType.Setter + public Builder containers(List containers) { + if (containers == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangeProperty", "containers"); + } + this.containers = containers; + return this; + } + public Builder containers(GetJobDefinitionNodePropertyNodeRangePropertyContainer... containers) { + return containers(List.of(containers)); + } + @CustomType.Setter + public Builder targetNodes(String targetNodes) { + if (targetNodes == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangeProperty", "targetNodes"); + } + this.targetNodes = targetNodes; + return this; + } + public GetJobDefinitionNodePropertyNodeRangeProperty build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangeProperty(); + _resultValue.containers = containers; + _resultValue.targetNodes = targetNodes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainer.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainer.java new file mode 100644 index 00000000000..c690d80378c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainer.java @@ -0,0 +1,548 @@ +// *** 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.batch.outputs; + +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment; +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage; +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration; +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter; +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration; +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint; +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration; +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement; +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform; +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret; +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit; +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainer { + /** + * @return The command that's passed to the container. + * + */ + private List commands; + /** + * @return The environment variables to pass to a container. + * + */ + private List environments; + /** + * @return The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. + * + */ + private List ephemeralStorages; + /** + * @return The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. + * + */ + private String executionRoleArn; + /** + * @return The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter. + * + */ + private List fargatePlatformConfigurations; + /** + * @return The image used to start a container. + * + */ + private String image; + /** + * @return The instance type to use for a multi-node parallel job. + * + */ + private String instanceType; + /** + * @return The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. + * + */ + private String jobRoleArn; + /** + * @return Linux-specific modifications that are applied to the container. + * + */ + private List linuxParameters; + /** + * @return The log configuration specification for the container. + * + */ + private List logConfigurations; + /** + * @return The mount points for data volumes in your container. + * + */ + private List mountPoints; + /** + * @return The network configuration for jobs that are running on Fargate resources. + * + */ + private List networkConfigurations; + /** + * @return When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). + * + */ + private Boolean privileged; + /** + * @return When this parameter is true, the container is given read-only access to its root file system. + * + */ + private Boolean readonlyRootFilesystem; + /** + * @return The type and amount of resources to assign to a container. + * + */ + private List resourceRequirements; + /** + * @return An object that represents the compute environment architecture for AWS Batch jobs on Fargate. + * + */ + private List runtimePlatforms; + /** + * @return The secrets for the container. + * + */ + private List secrets; + /** + * @return A list of ulimits to set in the container. + * + */ + private List ulimits; + /** + * @return The user name to use inside the container. + * + */ + private String user; + /** + * @return A list of data volumes used in a job. + * + */ + private List volumes; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainer() {} + /** + * @return The command that's passed to the container. + * + */ + public List commands() { + return this.commands; + } + /** + * @return The environment variables to pass to a container. + * + */ + public List environments() { + return this.environments; + } + /** + * @return The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. + * + */ + public List ephemeralStorages() { + return this.ephemeralStorages; + } + /** + * @return The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. + * + */ + public String executionRoleArn() { + return this.executionRoleArn; + } + /** + * @return The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter. + * + */ + public List fargatePlatformConfigurations() { + return this.fargatePlatformConfigurations; + } + /** + * @return The image used to start a container. + * + */ + public String image() { + return this.image; + } + /** + * @return The instance type to use for a multi-node parallel job. + * + */ + public String instanceType() { + return this.instanceType; + } + /** + * @return The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. + * + */ + public String jobRoleArn() { + return this.jobRoleArn; + } + /** + * @return Linux-specific modifications that are applied to the container. + * + */ + public List linuxParameters() { + return this.linuxParameters; + } + /** + * @return The log configuration specification for the container. + * + */ + public List logConfigurations() { + return this.logConfigurations; + } + /** + * @return The mount points for data volumes in your container. + * + */ + public List mountPoints() { + return this.mountPoints; + } + /** + * @return The network configuration for jobs that are running on Fargate resources. + * + */ + public List networkConfigurations() { + return this.networkConfigurations; + } + /** + * @return When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). + * + */ + public Boolean privileged() { + return this.privileged; + } + /** + * @return When this parameter is true, the container is given read-only access to its root file system. + * + */ + public Boolean readonlyRootFilesystem() { + return this.readonlyRootFilesystem; + } + /** + * @return The type and amount of resources to assign to a container. + * + */ + public List resourceRequirements() { + return this.resourceRequirements; + } + /** + * @return An object that represents the compute environment architecture for AWS Batch jobs on Fargate. + * + */ + public List runtimePlatforms() { + return this.runtimePlatforms; + } + /** + * @return The secrets for the container. + * + */ + public List secrets() { + return this.secrets; + } + /** + * @return A list of ulimits to set in the container. + * + */ + public List ulimits() { + return this.ulimits; + } + /** + * @return The user name to use inside the container. + * + */ + public String user() { + return this.user; + } + /** + * @return A list of data volumes used in a job. + * + */ + public List volumes() { + return this.volumes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainer defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List commands; + private List environments; + private List ephemeralStorages; + private String executionRoleArn; + private List fargatePlatformConfigurations; + private String image; + private String instanceType; + private String jobRoleArn; + private List linuxParameters; + private List logConfigurations; + private List mountPoints; + private List networkConfigurations; + private Boolean privileged; + private Boolean readonlyRootFilesystem; + private List resourceRequirements; + private List runtimePlatforms; + private List secrets; + private List ulimits; + private String user; + private List volumes; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainer defaults) { + Objects.requireNonNull(defaults); + this.commands = defaults.commands; + this.environments = defaults.environments; + this.ephemeralStorages = defaults.ephemeralStorages; + this.executionRoleArn = defaults.executionRoleArn; + this.fargatePlatformConfigurations = defaults.fargatePlatformConfigurations; + this.image = defaults.image; + this.instanceType = defaults.instanceType; + this.jobRoleArn = defaults.jobRoleArn; + this.linuxParameters = defaults.linuxParameters; + this.logConfigurations = defaults.logConfigurations; + this.mountPoints = defaults.mountPoints; + this.networkConfigurations = defaults.networkConfigurations; + this.privileged = defaults.privileged; + this.readonlyRootFilesystem = defaults.readonlyRootFilesystem; + this.resourceRequirements = defaults.resourceRequirements; + this.runtimePlatforms = defaults.runtimePlatforms; + this.secrets = defaults.secrets; + this.ulimits = defaults.ulimits; + this.user = defaults.user; + this.volumes = defaults.volumes; + } + + @CustomType.Setter + public Builder commands(List commands) { + if (commands == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "commands"); + } + this.commands = commands; + return this; + } + public Builder commands(String... commands) { + return commands(List.of(commands)); + } + @CustomType.Setter + public Builder environments(List environments) { + if (environments == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "environments"); + } + this.environments = environments; + return this; + } + public Builder environments(GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment... environments) { + return environments(List.of(environments)); + } + @CustomType.Setter + public Builder ephemeralStorages(List ephemeralStorages) { + if (ephemeralStorages == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "ephemeralStorages"); + } + this.ephemeralStorages = ephemeralStorages; + return this; + } + public Builder ephemeralStorages(GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage... ephemeralStorages) { + return ephemeralStorages(List.of(ephemeralStorages)); + } + @CustomType.Setter + public Builder executionRoleArn(String executionRoleArn) { + if (executionRoleArn == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "executionRoleArn"); + } + this.executionRoleArn = executionRoleArn; + return this; + } + @CustomType.Setter + public Builder fargatePlatformConfigurations(List fargatePlatformConfigurations) { + if (fargatePlatformConfigurations == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "fargatePlatformConfigurations"); + } + this.fargatePlatformConfigurations = fargatePlatformConfigurations; + return this; + } + public Builder fargatePlatformConfigurations(GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration... fargatePlatformConfigurations) { + return fargatePlatformConfigurations(List.of(fargatePlatformConfigurations)); + } + @CustomType.Setter + public Builder image(String image) { + if (image == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "image"); + } + this.image = image; + return this; + } + @CustomType.Setter + public Builder instanceType(String instanceType) { + if (instanceType == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "instanceType"); + } + this.instanceType = instanceType; + return this; + } + @CustomType.Setter + public Builder jobRoleArn(String jobRoleArn) { + if (jobRoleArn == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "jobRoleArn"); + } + this.jobRoleArn = jobRoleArn; + return this; + } + @CustomType.Setter + public Builder linuxParameters(List linuxParameters) { + if (linuxParameters == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "linuxParameters"); + } + this.linuxParameters = linuxParameters; + return this; + } + public Builder linuxParameters(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter... linuxParameters) { + return linuxParameters(List.of(linuxParameters)); + } + @CustomType.Setter + public Builder logConfigurations(List logConfigurations) { + if (logConfigurations == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "logConfigurations"); + } + this.logConfigurations = logConfigurations; + return this; + } + public Builder logConfigurations(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration... logConfigurations) { + return logConfigurations(List.of(logConfigurations)); + } + @CustomType.Setter + public Builder mountPoints(List mountPoints) { + if (mountPoints == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "mountPoints"); + } + this.mountPoints = mountPoints; + return this; + } + public Builder mountPoints(GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint... mountPoints) { + return mountPoints(List.of(mountPoints)); + } + @CustomType.Setter + public Builder networkConfigurations(List networkConfigurations) { + if (networkConfigurations == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "networkConfigurations"); + } + this.networkConfigurations = networkConfigurations; + return this; + } + public Builder networkConfigurations(GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration... networkConfigurations) { + return networkConfigurations(List.of(networkConfigurations)); + } + @CustomType.Setter + public Builder privileged(Boolean privileged) { + if (privileged == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "privileged"); + } + this.privileged = privileged; + return this; + } + @CustomType.Setter + public Builder readonlyRootFilesystem(Boolean readonlyRootFilesystem) { + if (readonlyRootFilesystem == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "readonlyRootFilesystem"); + } + this.readonlyRootFilesystem = readonlyRootFilesystem; + return this; + } + @CustomType.Setter + public Builder resourceRequirements(List resourceRequirements) { + if (resourceRequirements == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "resourceRequirements"); + } + this.resourceRequirements = resourceRequirements; + return this; + } + public Builder resourceRequirements(GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement... resourceRequirements) { + return resourceRequirements(List.of(resourceRequirements)); + } + @CustomType.Setter + public Builder runtimePlatforms(List runtimePlatforms) { + if (runtimePlatforms == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "runtimePlatforms"); + } + this.runtimePlatforms = runtimePlatforms; + return this; + } + public Builder runtimePlatforms(GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform... runtimePlatforms) { + return runtimePlatforms(List.of(runtimePlatforms)); + } + @CustomType.Setter + public Builder secrets(List secrets) { + if (secrets == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "secrets"); + } + this.secrets = secrets; + return this; + } + public Builder secrets(GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret... secrets) { + return secrets(List.of(secrets)); + } + @CustomType.Setter + public Builder ulimits(List ulimits) { + if (ulimits == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "ulimits"); + } + this.ulimits = ulimits; + return this; + } + public Builder ulimits(GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit... ulimits) { + return ulimits(List.of(ulimits)); + } + @CustomType.Setter + public Builder user(String user) { + if (user == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "user"); + } + this.user = user; + return this; + } + @CustomType.Setter + public Builder volumes(List volumes) { + if (volumes == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainer", "volumes"); + } + this.volumes = volumes; + return this; + } + public Builder volumes(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume... volumes) { + return volumes(List.of(volumes)); + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainer build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainer(); + _resultValue.commands = commands; + _resultValue.environments = environments; + _resultValue.ephemeralStorages = ephemeralStorages; + _resultValue.executionRoleArn = executionRoleArn; + _resultValue.fargatePlatformConfigurations = fargatePlatformConfigurations; + _resultValue.image = image; + _resultValue.instanceType = instanceType; + _resultValue.jobRoleArn = jobRoleArn; + _resultValue.linuxParameters = linuxParameters; + _resultValue.logConfigurations = logConfigurations; + _resultValue.mountPoints = mountPoints; + _resultValue.networkConfigurations = networkConfigurations; + _resultValue.privileged = privileged; + _resultValue.readonlyRootFilesystem = readonlyRootFilesystem; + _resultValue.resourceRequirements = resourceRequirements; + _resultValue.runtimePlatforms = runtimePlatforms; + _resultValue.secrets = secrets; + _resultValue.ulimits = ulimits; + _resultValue.user = user; + _resultValue.volumes = volumes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment.java new file mode 100644 index 00000000000..265efdd3196 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment.java @@ -0,0 +1,81 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment { + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + private String name; + /** + * @return The quantity of the specified resource to reserve for the container. + * + */ + private String value; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment() {} + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + public String name() { + return this.name; + } + /** + * @return The quantity of the specified resource to reserve for the container. + * + */ + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String value; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment", "value"); + } + this.value = value; + return this; + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment(); + _resultValue.name = name; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage.java new file mode 100644 index 00000000000..b1a9831565e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage.java @@ -0,0 +1,50 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage { + private Integer sizeInGib; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage() {} + public Integer sizeInGib() { + return this.sizeInGib; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer sizeInGib; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage defaults) { + Objects.requireNonNull(defaults); + this.sizeInGib = defaults.sizeInGib; + } + + @CustomType.Setter + public Builder sizeInGib(Integer sizeInGib) { + if (sizeInGib == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage", "sizeInGib"); + } + this.sizeInGib = sizeInGib; + return this; + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage(); + _resultValue.sizeInGib = sizeInGib; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration.java new file mode 100644 index 00000000000..823e11a17a5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration.java @@ -0,0 +1,58 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration { + /** + * @return The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. + * + */ + private String platformVersion; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration() {} + /** + * @return The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. + * + */ + public String platformVersion() { + return this.platformVersion; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String platformVersion; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration defaults) { + Objects.requireNonNull(defaults); + this.platformVersion = defaults.platformVersion; + } + + @CustomType.Setter + public Builder platformVersion(String platformVersion) { + if (platformVersion == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration", "platformVersion"); + } + this.platformVersion = platformVersion; + return this; + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration(); + _resultValue.platformVersion = platformVersion; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter.java new file mode 100644 index 00000000000..7fa13a68f77 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter.java @@ -0,0 +1,183 @@ +// *** 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.batch.outputs; + +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice; +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.Integer; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter { + /** + * @return Any of the host devices to expose to the container. + * + */ + private List devices; + /** + * @return If true, run an init process inside the container that forwards signals and reaps processes. + * + */ + private Boolean initProcessEnabled; + /** + * @return The total amount of swap memory (in MiB) a container can use. + * + */ + private Integer maxSwap; + /** + * @return The value for the size (in MiB) of the `/dev/shm` volume. + * + */ + private Integer sharedMemorySize; + /** + * @return You can use this parameter to tune a container's memory swappiness behavior. + * + */ + private Integer swappiness; + /** + * @return The container path, mount options, and size (in MiB) of the tmpfs mount. + * + */ + private List tmpfs; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter() {} + /** + * @return Any of the host devices to expose to the container. + * + */ + public List devices() { + return this.devices; + } + /** + * @return If true, run an init process inside the container that forwards signals and reaps processes. + * + */ + public Boolean initProcessEnabled() { + return this.initProcessEnabled; + } + /** + * @return The total amount of swap memory (in MiB) a container can use. + * + */ + public Integer maxSwap() { + return this.maxSwap; + } + /** + * @return The value for the size (in MiB) of the `/dev/shm` volume. + * + */ + public Integer sharedMemorySize() { + return this.sharedMemorySize; + } + /** + * @return You can use this parameter to tune a container's memory swappiness behavior. + * + */ + public Integer swappiness() { + return this.swappiness; + } + /** + * @return The container path, mount options, and size (in MiB) of the tmpfs mount. + * + */ + public List tmpfs() { + return this.tmpfs; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List devices; + private Boolean initProcessEnabled; + private Integer maxSwap; + private Integer sharedMemorySize; + private Integer swappiness; + private List tmpfs; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter defaults) { + Objects.requireNonNull(defaults); + this.devices = defaults.devices; + this.initProcessEnabled = defaults.initProcessEnabled; + this.maxSwap = defaults.maxSwap; + this.sharedMemorySize = defaults.sharedMemorySize; + this.swappiness = defaults.swappiness; + this.tmpfs = defaults.tmpfs; + } + + @CustomType.Setter + public Builder devices(List devices) { + if (devices == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter", "devices"); + } + this.devices = devices; + return this; + } + public Builder devices(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice... devices) { + return devices(List.of(devices)); + } + @CustomType.Setter + public Builder initProcessEnabled(Boolean initProcessEnabled) { + if (initProcessEnabled == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter", "initProcessEnabled"); + } + this.initProcessEnabled = initProcessEnabled; + return this; + } + @CustomType.Setter + public Builder maxSwap(Integer maxSwap) { + if (maxSwap == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter", "maxSwap"); + } + this.maxSwap = maxSwap; + return this; + } + @CustomType.Setter + public Builder sharedMemorySize(Integer sharedMemorySize) { + if (sharedMemorySize == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter", "sharedMemorySize"); + } + this.sharedMemorySize = sharedMemorySize; + return this; + } + @CustomType.Setter + public Builder swappiness(Integer swappiness) { + if (swappiness == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter", "swappiness"); + } + this.swappiness = swappiness; + return this; + } + @CustomType.Setter + public Builder tmpfs(List tmpfs) { + if (tmpfs == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter", "tmpfs"); + } + this.tmpfs = tmpfs; + return this; + } + public Builder tmpfs(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf... tmpfs) { + return tmpfs(List.of(tmpfs)); + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter(); + _resultValue.devices = devices; + _resultValue.initProcessEnabled = initProcessEnabled; + _resultValue.maxSwap = maxSwap; + _resultValue.sharedMemorySize = sharedMemorySize; + _resultValue.swappiness = swappiness; + _resultValue.tmpfs = tmpfs; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice.java new file mode 100644 index 00000000000..b852b9ef3a0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice.java @@ -0,0 +1,108 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice { + /** + * @return The absolute file path in the container where the tmpfs volume is mounted. + * + */ + private String containerPath; + /** + * @return The path for the device on the host container instance. + * + */ + private String hostPath; + /** + * @return The explicit permissions to provide to the container for the device. + * + */ + private List permissions; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice() {} + /** + * @return The absolute file path in the container where the tmpfs volume is mounted. + * + */ + public String containerPath() { + return this.containerPath; + } + /** + * @return The path for the device on the host container instance. + * + */ + public String hostPath() { + return this.hostPath; + } + /** + * @return The explicit permissions to provide to the container for the device. + * + */ + public List permissions() { + return this.permissions; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String containerPath; + private String hostPath; + private List permissions; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice defaults) { + Objects.requireNonNull(defaults); + this.containerPath = defaults.containerPath; + this.hostPath = defaults.hostPath; + this.permissions = defaults.permissions; + } + + @CustomType.Setter + public Builder containerPath(String containerPath) { + if (containerPath == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice", "containerPath"); + } + this.containerPath = containerPath; + return this; + } + @CustomType.Setter + public Builder hostPath(String hostPath) { + if (hostPath == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice", "hostPath"); + } + this.hostPath = hostPath; + return this; + } + @CustomType.Setter + public Builder permissions(List permissions) { + if (permissions == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice", "permissions"); + } + this.permissions = permissions; + return this; + } + public Builder permissions(String... permissions) { + return permissions(List.of(permissions)); + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice(); + _resultValue.containerPath = containerPath; + _resultValue.hostPath = hostPath; + _resultValue.permissions = permissions; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf.java new file mode 100644 index 00000000000..a1cf8ca0097 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf.java @@ -0,0 +1,109 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf { + /** + * @return The absolute file path in the container where the tmpfs volume is mounted. + * + */ + private String containerPath; + /** + * @return The list of tmpfs volume mount options. + * + */ + private List mountOptions; + /** + * @return The size (in MiB) of the tmpfs volume. + * + */ + private Integer size; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf() {} + /** + * @return The absolute file path in the container where the tmpfs volume is mounted. + * + */ + public String containerPath() { + return this.containerPath; + } + /** + * @return The list of tmpfs volume mount options. + * + */ + public List mountOptions() { + return this.mountOptions; + } + /** + * @return The size (in MiB) of the tmpfs volume. + * + */ + public Integer size() { + return this.size; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String containerPath; + private List mountOptions; + private Integer size; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf defaults) { + Objects.requireNonNull(defaults); + this.containerPath = defaults.containerPath; + this.mountOptions = defaults.mountOptions; + this.size = defaults.size; + } + + @CustomType.Setter + public Builder containerPath(String containerPath) { + if (containerPath == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf", "containerPath"); + } + this.containerPath = containerPath; + return this; + } + @CustomType.Setter + public Builder mountOptions(List mountOptions) { + if (mountOptions == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf", "mountOptions"); + } + this.mountOptions = mountOptions; + return this; + } + public Builder mountOptions(String... mountOptions) { + return mountOptions(List.of(mountOptions)); + } + @CustomType.Setter + public Builder size(Integer size) { + if (size == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf", "size"); + } + this.size = size; + return this; + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf(); + _resultValue.containerPath = containerPath; + _resultValue.mountOptions = mountOptions; + _resultValue.size = size; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration.java new file mode 100644 index 00000000000..ffafb50cfa6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration.java @@ -0,0 +1,111 @@ +// *** 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.batch.outputs; + +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration { + /** + * @return The log driver to use for the container. + * + */ + private String logDriver; + /** + * @return The configuration options to send to the log driver. + * + */ + private Map options; + /** + * @return The secrets to pass to the log configuration. + * + */ + private List secretOptions; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration() {} + /** + * @return The log driver to use for the container. + * + */ + public String logDriver() { + return this.logDriver; + } + /** + * @return The configuration options to send to the log driver. + * + */ + public Map options() { + return this.options; + } + /** + * @return The secrets to pass to the log configuration. + * + */ + public List secretOptions() { + return this.secretOptions; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String logDriver; + private Map options; + private List secretOptions; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration defaults) { + Objects.requireNonNull(defaults); + this.logDriver = defaults.logDriver; + this.options = defaults.options; + this.secretOptions = defaults.secretOptions; + } + + @CustomType.Setter + public Builder logDriver(String logDriver) { + if (logDriver == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration", "logDriver"); + } + this.logDriver = logDriver; + return this; + } + @CustomType.Setter + public Builder options(Map options) { + if (options == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration", "options"); + } + this.options = options; + return this; + } + @CustomType.Setter + public Builder secretOptions(List secretOptions) { + if (secretOptions == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration", "secretOptions"); + } + this.secretOptions = secretOptions; + return this; + } + public Builder secretOptions(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption... secretOptions) { + return secretOptions(List.of(secretOptions)); + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration(); + _resultValue.logDriver = logDriver; + _resultValue.options = options; + _resultValue.secretOptions = secretOptions; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption.java new file mode 100644 index 00000000000..e5b14f38cd5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption.java @@ -0,0 +1,81 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption { + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + private String name; + /** + * @return The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + * + */ + private String valueFrom; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption() {} + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + public String name() { + return this.name; + } + /** + * @return The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + * + */ + public String valueFrom() { + return this.valueFrom; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String valueFrom; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.valueFrom = defaults.valueFrom; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder valueFrom(String valueFrom) { + if (valueFrom == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption", "valueFrom"); + } + this.valueFrom = valueFrom; + return this; + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption(); + _resultValue.name = name; + _resultValue.valueFrom = valueFrom; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint.java new file mode 100644 index 00000000000..fa55407758f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint.java @@ -0,0 +1,105 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint { + /** + * @return The absolute file path in the container where the tmpfs volume is mounted. + * + */ + private String containerPath; + /** + * @return If this value is true, the container has read-only access to the volume. + * + */ + private Boolean readOnly; + /** + * @return The name of the volume to mount. + * + */ + private String sourceVolume; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint() {} + /** + * @return The absolute file path in the container where the tmpfs volume is mounted. + * + */ + public String containerPath() { + return this.containerPath; + } + /** + * @return If this value is true, the container has read-only access to the volume. + * + */ + public Boolean readOnly() { + return this.readOnly; + } + /** + * @return The name of the volume to mount. + * + */ + public String sourceVolume() { + return this.sourceVolume; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String containerPath; + private Boolean readOnly; + private String sourceVolume; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint defaults) { + Objects.requireNonNull(defaults); + this.containerPath = defaults.containerPath; + this.readOnly = defaults.readOnly; + this.sourceVolume = defaults.sourceVolume; + } + + @CustomType.Setter + public Builder containerPath(String containerPath) { + if (containerPath == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint", "containerPath"); + } + this.containerPath = containerPath; + return this; + } + @CustomType.Setter + public Builder readOnly(Boolean readOnly) { + if (readOnly == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint", "readOnly"); + } + this.readOnly = readOnly; + return this; + } + @CustomType.Setter + public Builder sourceVolume(String sourceVolume) { + if (sourceVolume == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint", "sourceVolume"); + } + this.sourceVolume = sourceVolume; + return this; + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint(); + _resultValue.containerPath = containerPath; + _resultValue.readOnly = readOnly; + _resultValue.sourceVolume = sourceVolume; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration.java new file mode 100644 index 00000000000..ecf5b6aba85 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration.java @@ -0,0 +1,58 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration { + /** + * @return Indicates whether the job has a public IP address. + * + */ + private Boolean assignPublicIp; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration() {} + /** + * @return Indicates whether the job has a public IP address. + * + */ + public Boolean assignPublicIp() { + return this.assignPublicIp; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean assignPublicIp; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration defaults) { + Objects.requireNonNull(defaults); + this.assignPublicIp = defaults.assignPublicIp; + } + + @CustomType.Setter + public Builder assignPublicIp(Boolean assignPublicIp) { + if (assignPublicIp == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration", "assignPublicIp"); + } + this.assignPublicIp = assignPublicIp; + return this; + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration(); + _resultValue.assignPublicIp = assignPublicIp; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement.java new file mode 100644 index 00000000000..193d2fbc9b9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement.java @@ -0,0 +1,81 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement { + /** + * @return The type of resource to assign to a container. The supported resources include `GPU`, `MEMORY`, and `VCPU`. + * + */ + private String type; + /** + * @return The quantity of the specified resource to reserve for the container. + * + */ + private String value; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement() {} + /** + * @return The type of resource to assign to a container. The supported resources include `GPU`, `MEMORY`, and `VCPU`. + * + */ + public String type() { + return this.type; + } + /** + * @return The quantity of the specified resource to reserve for the container. + * + */ + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String type; + private String value; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement defaults) { + Objects.requireNonNull(defaults); + this.type = defaults.type; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement", "type"); + } + this.type = type; + return this; + } + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement", "value"); + } + this.value = value; + return this; + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement(); + _resultValue.type = type; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform.java new file mode 100644 index 00000000000..9888fa589bb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform.java @@ -0,0 +1,81 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform { + /** + * @return The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64. + * + */ + private String cpuArchitecture; + /** + * @return The operating system for the compute environment. V + * + */ + private String operatingSystemFamily; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform() {} + /** + * @return The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64. + * + */ + public String cpuArchitecture() { + return this.cpuArchitecture; + } + /** + * @return The operating system for the compute environment. V + * + */ + public String operatingSystemFamily() { + return this.operatingSystemFamily; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String cpuArchitecture; + private String operatingSystemFamily; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform defaults) { + Objects.requireNonNull(defaults); + this.cpuArchitecture = defaults.cpuArchitecture; + this.operatingSystemFamily = defaults.operatingSystemFamily; + } + + @CustomType.Setter + public Builder cpuArchitecture(String cpuArchitecture) { + if (cpuArchitecture == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform", "cpuArchitecture"); + } + this.cpuArchitecture = cpuArchitecture; + return this; + } + @CustomType.Setter + public Builder operatingSystemFamily(String operatingSystemFamily) { + if (operatingSystemFamily == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform", "operatingSystemFamily"); + } + this.operatingSystemFamily = operatingSystemFamily; + return this; + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform(); + _resultValue.cpuArchitecture = cpuArchitecture; + _resultValue.operatingSystemFamily = operatingSystemFamily; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret.java new file mode 100644 index 00000000000..395371ce915 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret.java @@ -0,0 +1,81 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret { + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + private String name; + /** + * @return The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + * + */ + private String valueFrom; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret() {} + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + public String name() { + return this.name; + } + /** + * @return The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + * + */ + public String valueFrom() { + return this.valueFrom; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String valueFrom; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.valueFrom = defaults.valueFrom; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder valueFrom(String valueFrom) { + if (valueFrom == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret", "valueFrom"); + } + this.valueFrom = valueFrom; + return this; + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret(); + _resultValue.name = name; + _resultValue.valueFrom = valueFrom; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit.java new file mode 100644 index 00000000000..5891c28b0a5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit.java @@ -0,0 +1,105 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit { + /** + * @return The hard limit for the ulimit type. + * + */ + private Integer hardLimit; + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + private String name; + /** + * @return The soft limit for the ulimit type. + * + */ + private Integer softLimit; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit() {} + /** + * @return The hard limit for the ulimit type. + * + */ + public Integer hardLimit() { + return this.hardLimit; + } + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + public String name() { + return this.name; + } + /** + * @return The soft limit for the ulimit type. + * + */ + public Integer softLimit() { + return this.softLimit; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer hardLimit; + private String name; + private Integer softLimit; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit defaults) { + Objects.requireNonNull(defaults); + this.hardLimit = defaults.hardLimit; + this.name = defaults.name; + this.softLimit = defaults.softLimit; + } + + @CustomType.Setter + public Builder hardLimit(Integer hardLimit) { + if (hardLimit == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit", "hardLimit"); + } + this.hardLimit = hardLimit; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder softLimit(Integer softLimit) { + if (softLimit == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit", "softLimit"); + } + this.softLimit = softLimit; + return this; + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit(); + _resultValue.hardLimit = hardLimit; + _resultValue.name = name; + _resultValue.softLimit = softLimit; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume.java new file mode 100644 index 00000000000..6332c4ae0f8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume.java @@ -0,0 +1,113 @@ +// *** 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.batch.outputs; + +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration; +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume { + /** + * @return This parameter is specified when you're using an Amazon Elastic File System file system for job storage. + * + */ + private List efsVolumeConfigurations; + /** + * @return The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored. + * + */ + private List hosts; + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + private String name; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume() {} + /** + * @return This parameter is specified when you're using an Amazon Elastic File System file system for job storage. + * + */ + public List efsVolumeConfigurations() { + return this.efsVolumeConfigurations; + } + /** + * @return The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored. + * + */ + public List hosts() { + return this.hosts; + } + /** + * @return The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + * + */ + public String name() { + return this.name; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List efsVolumeConfigurations; + private List hosts; + private String name; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume defaults) { + Objects.requireNonNull(defaults); + this.efsVolumeConfigurations = defaults.efsVolumeConfigurations; + this.hosts = defaults.hosts; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder efsVolumeConfigurations(List efsVolumeConfigurations) { + if (efsVolumeConfigurations == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume", "efsVolumeConfigurations"); + } + this.efsVolumeConfigurations = efsVolumeConfigurations; + return this; + } + public Builder efsVolumeConfigurations(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration... efsVolumeConfigurations) { + return efsVolumeConfigurations(List.of(efsVolumeConfigurations)); + } + @CustomType.Setter + public Builder hosts(List hosts) { + if (hosts == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume", "hosts"); + } + this.hosts = hosts; + return this; + } + public Builder hosts(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost... hosts) { + return hosts(List.of(hosts)); + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume", "name"); + } + this.name = name; + return this; + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume(); + _resultValue.efsVolumeConfigurations = efsVolumeConfigurations; + _resultValue.hosts = hosts; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration.java new file mode 100644 index 00000000000..6c7bc226008 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration.java @@ -0,0 +1,156 @@ +// *** 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.batch.outputs; + +import com.pulumi.aws.batch.outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration { + /** + * @return The authorization configuration details for the Amazon EFS file system. + * + */ + private List authorizationConfigs; + /** + * @return The Amazon EFS file system ID to use. + * + */ + private String fileSystemId; + /** + * @return The directory within the Amazon EFS file system to mount as the root directory inside the host. + * + */ + private String rootDirectory; + /** + * @return Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server + * + */ + private String transitEncryption; + /** + * @return The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. + * + */ + private Integer transitEncryptionPort; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration() {} + /** + * @return The authorization configuration details for the Amazon EFS file system. + * + */ + public List authorizationConfigs() { + return this.authorizationConfigs; + } + /** + * @return The Amazon EFS file system ID to use. + * + */ + public String fileSystemId() { + return this.fileSystemId; + } + /** + * @return The directory within the Amazon EFS file system to mount as the root directory inside the host. + * + */ + public String rootDirectory() { + return this.rootDirectory; + } + /** + * @return Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server + * + */ + public String transitEncryption() { + return this.transitEncryption; + } + /** + * @return The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. + * + */ + public Integer transitEncryptionPort() { + return this.transitEncryptionPort; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List authorizationConfigs; + private String fileSystemId; + private String rootDirectory; + private String transitEncryption; + private Integer transitEncryptionPort; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration defaults) { + Objects.requireNonNull(defaults); + this.authorizationConfigs = defaults.authorizationConfigs; + this.fileSystemId = defaults.fileSystemId; + this.rootDirectory = defaults.rootDirectory; + this.transitEncryption = defaults.transitEncryption; + this.transitEncryptionPort = defaults.transitEncryptionPort; + } + + @CustomType.Setter + public Builder authorizationConfigs(List authorizationConfigs) { + if (authorizationConfigs == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration", "authorizationConfigs"); + } + this.authorizationConfigs = authorizationConfigs; + return this; + } + public Builder authorizationConfigs(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig... authorizationConfigs) { + return authorizationConfigs(List.of(authorizationConfigs)); + } + @CustomType.Setter + public Builder fileSystemId(String fileSystemId) { + if (fileSystemId == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration", "fileSystemId"); + } + this.fileSystemId = fileSystemId; + return this; + } + @CustomType.Setter + public Builder rootDirectory(String rootDirectory) { + if (rootDirectory == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration", "rootDirectory"); + } + this.rootDirectory = rootDirectory; + return this; + } + @CustomType.Setter + public Builder transitEncryption(String transitEncryption) { + if (transitEncryption == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration", "transitEncryption"); + } + this.transitEncryption = transitEncryption; + return this; + } + @CustomType.Setter + public Builder transitEncryptionPort(Integer transitEncryptionPort) { + if (transitEncryptionPort == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration", "transitEncryptionPort"); + } + this.transitEncryptionPort = transitEncryptionPort; + return this; + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration(); + _resultValue.authorizationConfigs = authorizationConfigs; + _resultValue.fileSystemId = fileSystemId; + _resultValue.rootDirectory = rootDirectory; + _resultValue.transitEncryption = transitEncryption; + _resultValue.transitEncryptionPort = transitEncryptionPort; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig.java new file mode 100644 index 00000000000..67a77256ed5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig.java @@ -0,0 +1,81 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig { + /** + * @return The Amazon EFS access point ID to use. + * + */ + private String accessPointId; + /** + * @return Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. + * + */ + private String iam; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig() {} + /** + * @return The Amazon EFS access point ID to use. + * + */ + public String accessPointId() { + return this.accessPointId; + } + /** + * @return Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. + * + */ + public String iam() { + return this.iam; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String accessPointId; + private String iam; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig defaults) { + Objects.requireNonNull(defaults); + this.accessPointId = defaults.accessPointId; + this.iam = defaults.iam; + } + + @CustomType.Setter + public Builder accessPointId(String accessPointId) { + if (accessPointId == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig", "accessPointId"); + } + this.accessPointId = accessPointId; + return this; + } + @CustomType.Setter + public Builder iam(String iam) { + if (iam == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig", "iam"); + } + this.iam = iam; + return this; + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig(); + _resultValue.accessPointId = accessPointId; + _resultValue.iam = iam; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost.java new file mode 100644 index 00000000000..cd1d59b1251 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost.java @@ -0,0 +1,58 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost { + /** + * @return The path on the host container instance that's presented to the container. + * + */ + private String sourcePath; + + private GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost() {} + /** + * @return The path on the host container instance that's presented to the container. + * + */ + public String sourcePath() { + return this.sourcePath; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String sourcePath; + public Builder() {} + public Builder(GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost defaults) { + Objects.requireNonNull(defaults); + this.sourcePath = defaults.sourcePath; + } + + @CustomType.Setter + public Builder sourcePath(String sourcePath) { + if (sourcePath == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost", "sourcePath"); + } + this.sourcePath = sourcePath; + return this; + } + public GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost build() { + final var _resultValue = new GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost(); + _resultValue.sourcePath = sourcePath; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionRetryStrategy.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionRetryStrategy.java index fd8dad927c8..14a9fdf6cdc 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionRetryStrategy.java +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionRetryStrategy.java @@ -3,10 +3,10 @@ package com.pulumi.aws.batch.outputs; +import com.pulumi.aws.batch.outputs.GetJobDefinitionRetryStrategyEvaluateOnExit; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; -import java.lang.Object; import java.util.List; import java.util.Objects; @@ -21,7 +21,7 @@ public final class GetJobDefinitionRetryStrategy { * @return Array of up to 5 objects that specify the conditions where jobs are retried or failed. * */ - private List evaluateOnExits; + private List evaluateOnExits; private GetJobDefinitionRetryStrategy() {} /** @@ -35,7 +35,7 @@ public Integer attempts() { * @return Array of up to 5 objects that specify the conditions where jobs are retried or failed. * */ - public List evaluateOnExits() { + public List evaluateOnExits() { return this.evaluateOnExits; } @@ -49,7 +49,7 @@ public static Builder builder(GetJobDefinitionRetryStrategy defaults) { @CustomType.Builder public static final class Builder { private Integer attempts; - private List evaluateOnExits; + private List evaluateOnExits; public Builder() {} public Builder(GetJobDefinitionRetryStrategy defaults) { Objects.requireNonNull(defaults); @@ -66,14 +66,14 @@ public Builder attempts(Integer attempts) { return this; } @CustomType.Setter - public Builder evaluateOnExits(List evaluateOnExits) { + public Builder evaluateOnExits(List evaluateOnExits) { if (evaluateOnExits == null) { throw new MissingRequiredPropertyException("GetJobDefinitionRetryStrategy", "evaluateOnExits"); } this.evaluateOnExits = evaluateOnExits; return this; } - public Builder evaluateOnExits(Object... evaluateOnExits) { + public Builder evaluateOnExits(GetJobDefinitionRetryStrategyEvaluateOnExit... evaluateOnExits) { return evaluateOnExits(List.of(evaluateOnExits)); } public GetJobDefinitionRetryStrategy build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionRetryStrategyEvaluateOnExit.java b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionRetryStrategyEvaluateOnExit.java new file mode 100644 index 00000000000..6d750e1b979 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/batch/outputs/GetJobDefinitionRetryStrategyEvaluateOnExit.java @@ -0,0 +1,127 @@ +// *** 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.batch.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetJobDefinitionRetryStrategyEvaluateOnExit { + /** + * @return Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive. + * + */ + private String action; + /** + * @return Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job. + * + */ + private String onExitCode; + /** + * @return Contains a glob pattern to match against the Reason returned for a job. + * + */ + private String onReason; + /** + * @return Contains a glob pattern to match against the StatusReason returned for a job. + * + */ + private String onStatusReason; + + private GetJobDefinitionRetryStrategyEvaluateOnExit() {} + /** + * @return Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive. + * + */ + public String action() { + return this.action; + } + /** + * @return Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job. + * + */ + public String onExitCode() { + return this.onExitCode; + } + /** + * @return Contains a glob pattern to match against the Reason returned for a job. + * + */ + public String onReason() { + return this.onReason; + } + /** + * @return Contains a glob pattern to match against the StatusReason returned for a job. + * + */ + public String onStatusReason() { + return this.onStatusReason; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetJobDefinitionRetryStrategyEvaluateOnExit defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String action; + private String onExitCode; + private String onReason; + private String onStatusReason; + public Builder() {} + public Builder(GetJobDefinitionRetryStrategyEvaluateOnExit defaults) { + Objects.requireNonNull(defaults); + this.action = defaults.action; + this.onExitCode = defaults.onExitCode; + this.onReason = defaults.onReason; + this.onStatusReason = defaults.onStatusReason; + } + + @CustomType.Setter + public Builder action(String action) { + if (action == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionRetryStrategyEvaluateOnExit", "action"); + } + this.action = action; + return this; + } + @CustomType.Setter + public Builder onExitCode(String onExitCode) { + if (onExitCode == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionRetryStrategyEvaluateOnExit", "onExitCode"); + } + this.onExitCode = onExitCode; + return this; + } + @CustomType.Setter + public Builder onReason(String onReason) { + if (onReason == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionRetryStrategyEvaluateOnExit", "onReason"); + } + this.onReason = onReason; + return this; + } + @CustomType.Setter + public Builder onStatusReason(String onStatusReason) { + if (onStatusReason == null) { + throw new MissingRequiredPropertyException("GetJobDefinitionRetryStrategyEvaluateOnExit", "onStatusReason"); + } + this.onStatusReason = onStatusReason; + return this; + } + public GetJobDefinitionRetryStrategyEvaluateOnExit build() { + final var _resultValue = new GetJobDefinitionRetryStrategyEvaluateOnExit(); + _resultValue.action = action; + _resultValue.onExitCode = onExitCode; + _resultValue.onReason = onReason; + _resultValue.onStatusReason = onStatusReason; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrock/inputs/AgentAgentPromptOverrideConfigurationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/bedrock/inputs/AgentAgentPromptOverrideConfigurationArgs.java index 38cd5c36b75..02ce00b55b1 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/bedrock/inputs/AgentAgentPromptOverrideConfigurationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrock/inputs/AgentAgentPromptOverrideConfigurationArgs.java @@ -3,10 +3,10 @@ package com.pulumi.aws.bedrock.inputs; +import com.pulumi.aws.bedrock.inputs.AgentAgentPromptOverrideConfigurationPromptConfigurationArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Object; import java.lang.String; import java.util.List; import java.util.Objects; @@ -36,13 +36,13 @@ public Output overrideLambda() { * */ @Import(name="promptConfigurations", required=true) - private Output> promptConfigurations; + private Output> promptConfigurations; /** * @return Configurations to override a prompt template in one part of an agent sequence. See `prompt_configurations` block for details. * */ - public Output> promptConfigurations() { + public Output> promptConfigurations() { return this.promptConfigurations; } @@ -98,7 +98,7 @@ public Builder overrideLambda(String overrideLambda) { * @return builder * */ - public Builder promptConfigurations(Output> promptConfigurations) { + public Builder promptConfigurations(Output> promptConfigurations) { $.promptConfigurations = promptConfigurations; return this; } @@ -109,7 +109,7 @@ public Builder promptConfigurations(Output> promptConfigurations) { * @return builder * */ - public Builder promptConfigurations(List promptConfigurations) { + public Builder promptConfigurations(List promptConfigurations) { return promptConfigurations(Output.of(promptConfigurations)); } @@ -119,7 +119,7 @@ public Builder promptConfigurations(List promptConfigurations) { * @return builder * */ - public Builder promptConfigurations(Object... promptConfigurations) { + public Builder promptConfigurations(AgentAgentPromptOverrideConfigurationPromptConfigurationArgs... promptConfigurations) { return promptConfigurations(List.of(promptConfigurations)); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrock/inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/bedrock/inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationArgs.java new file mode 100644 index 00000000000..ead32bcde9d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrock/inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationArgs.java @@ -0,0 +1,297 @@ +// *** 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.bedrock.inputs; + +import com.pulumi.aws.bedrock.inputs.AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class AgentAgentPromptOverrideConfigurationPromptConfigurationArgs extends com.pulumi.resources.ResourceArgs { + + public static final AgentAgentPromptOverrideConfigurationPromptConfigurationArgs Empty = new AgentAgentPromptOverrideConfigurationPromptConfigurationArgs(); + + /** + * prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + * + */ + @Import(name="basePromptTemplate", required=true) + private Output basePromptTemplate; + + /** + * @return prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + * + */ + public Output basePromptTemplate() { + return this.basePromptTemplate; + } + + /** + * Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `prompt_type`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inference_configuration` block for details. + * + */ + @Import(name="inferenceConfigurations", required=true) + private Output> inferenceConfigurations; + + /** + * @return Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `prompt_type`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inference_configuration` block for details. + * + */ + public Output> inferenceConfigurations() { + return this.inferenceConfigurations; + } + + /** + * Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `prompt_type`. If you set the argument as `OVERRIDDEN`, the `override_lambda` argument in the `prompt_override_configuration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + * + */ + @Import(name="parserMode", required=true) + private Output parserMode; + + /** + * @return Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `prompt_type`. If you set the argument as `OVERRIDDEN`, the `override_lambda` argument in the `prompt_override_configuration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + * + */ + public Output parserMode() { + return this.parserMode; + } + + /** + * Whether to override the default prompt template for this `prompt_type`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `base_prompt_template`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + * + */ + @Import(name="promptCreationMode", required=true) + private Output promptCreationMode; + + /** + * @return Whether to override the default prompt template for this `prompt_type`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `base_prompt_template`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + * + */ + public Output promptCreationMode() { + return this.promptCreationMode; + } + + /** + * Whether to allow the agent to carry out the step specified in the `prompt_type`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + * + */ + @Import(name="promptState", required=true) + private Output promptState; + + /** + * @return Whether to allow the agent to carry out the step specified in the `prompt_type`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + * + */ + public Output promptState() { + return this.promptState; + } + + /** + * Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + * + */ + @Import(name="promptType", required=true) + private Output promptType; + + /** + * @return Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + * + */ + public Output promptType() { + return this.promptType; + } + + private AgentAgentPromptOverrideConfigurationPromptConfigurationArgs() {} + + private AgentAgentPromptOverrideConfigurationPromptConfigurationArgs(AgentAgentPromptOverrideConfigurationPromptConfigurationArgs $) { + this.basePromptTemplate = $.basePromptTemplate; + this.inferenceConfigurations = $.inferenceConfigurations; + this.parserMode = $.parserMode; + this.promptCreationMode = $.promptCreationMode; + this.promptState = $.promptState; + this.promptType = $.promptType; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AgentAgentPromptOverrideConfigurationPromptConfigurationArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AgentAgentPromptOverrideConfigurationPromptConfigurationArgs $; + + public Builder() { + $ = new AgentAgentPromptOverrideConfigurationPromptConfigurationArgs(); + } + + public Builder(AgentAgentPromptOverrideConfigurationPromptConfigurationArgs defaults) { + $ = new AgentAgentPromptOverrideConfigurationPromptConfigurationArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param basePromptTemplate prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + * + * @return builder + * + */ + public Builder basePromptTemplate(Output basePromptTemplate) { + $.basePromptTemplate = basePromptTemplate; + return this; + } + + /** + * @param basePromptTemplate prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + * + * @return builder + * + */ + public Builder basePromptTemplate(String basePromptTemplate) { + return basePromptTemplate(Output.of(basePromptTemplate)); + } + + /** + * @param inferenceConfigurations Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `prompt_type`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inference_configuration` block for details. + * + * @return builder + * + */ + public Builder inferenceConfigurations(Output> inferenceConfigurations) { + $.inferenceConfigurations = inferenceConfigurations; + return this; + } + + /** + * @param inferenceConfigurations Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `prompt_type`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inference_configuration` block for details. + * + * @return builder + * + */ + public Builder inferenceConfigurations(List inferenceConfigurations) { + return inferenceConfigurations(Output.of(inferenceConfigurations)); + } + + /** + * @param inferenceConfigurations Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `prompt_type`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inference_configuration` block for details. + * + * @return builder + * + */ + public Builder inferenceConfigurations(AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs... inferenceConfigurations) { + return inferenceConfigurations(List.of(inferenceConfigurations)); + } + + /** + * @param parserMode Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `prompt_type`. If you set the argument as `OVERRIDDEN`, the `override_lambda` argument in the `prompt_override_configuration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + * + * @return builder + * + */ + public Builder parserMode(Output parserMode) { + $.parserMode = parserMode; + return this; + } + + /** + * @param parserMode Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `prompt_type`. If you set the argument as `OVERRIDDEN`, the `override_lambda` argument in the `prompt_override_configuration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + * + * @return builder + * + */ + public Builder parserMode(String parserMode) { + return parserMode(Output.of(parserMode)); + } + + /** + * @param promptCreationMode Whether to override the default prompt template for this `prompt_type`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `base_prompt_template`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + * + * @return builder + * + */ + public Builder promptCreationMode(Output promptCreationMode) { + $.promptCreationMode = promptCreationMode; + return this; + } + + /** + * @param promptCreationMode Whether to override the default prompt template for this `prompt_type`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `base_prompt_template`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + * + * @return builder + * + */ + public Builder promptCreationMode(String promptCreationMode) { + return promptCreationMode(Output.of(promptCreationMode)); + } + + /** + * @param promptState Whether to allow the agent to carry out the step specified in the `prompt_type`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + * + * @return builder + * + */ + public Builder promptState(Output promptState) { + $.promptState = promptState; + return this; + } + + /** + * @param promptState Whether to allow the agent to carry out the step specified in the `prompt_type`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + * + * @return builder + * + */ + public Builder promptState(String promptState) { + return promptState(Output.of(promptState)); + } + + /** + * @param promptType Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + * + * @return builder + * + */ + public Builder promptType(Output promptType) { + $.promptType = promptType; + return this; + } + + /** + * @param promptType Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + * + * @return builder + * + */ + public Builder promptType(String promptType) { + return promptType(Output.of(promptType)); + } + + public AgentAgentPromptOverrideConfigurationPromptConfigurationArgs build() { + if ($.basePromptTemplate == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfigurationArgs", "basePromptTemplate"); + } + if ($.inferenceConfigurations == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfigurationArgs", "inferenceConfigurations"); + } + if ($.parserMode == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfigurationArgs", "parserMode"); + } + if ($.promptCreationMode == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfigurationArgs", "promptCreationMode"); + } + if ($.promptState == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfigurationArgs", "promptState"); + } + if ($.promptType == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfigurationArgs", "promptType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrock/inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.java b/sdk/java/src/main/java/com/pulumi/aws/bedrock/inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.java new file mode 100644 index 00000000000..239955db375 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrock/inputs/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.java @@ -0,0 +1,258 @@ +// *** 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.bedrock.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Double; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs extends com.pulumi.resources.ResourceArgs { + + public static final AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs Empty = new AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs(); + + /** + * Maximum number of tokens to allow in the generated response. + * + */ + @Import(name="maxLength", required=true) + private Output maxLength; + + /** + * @return Maximum number of tokens to allow in the generated response. + * + */ + public Output maxLength() { + return this.maxLength; + } + + /** + * List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + * + */ + @Import(name="stopSequences", required=true) + private Output> stopSequences; + + /** + * @return List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + * + */ + public Output> stopSequences() { + return this.stopSequences; + } + + /** + * Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + * + */ + @Import(name="temperature", required=true) + private Output temperature; + + /** + * @return Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + * + */ + public Output temperature() { + return this.temperature; + } + + /** + * Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + * + */ + @Import(name="topK", required=true) + private Output topK; + + /** + * @return Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + * + */ + public Output topK() { + return this.topK; + } + + /** + * Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + * + */ + @Import(name="topP", required=true) + private Output topP; + + /** + * @return Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + * + */ + public Output topP() { + return this.topP; + } + + private AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs() {} + + private AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs(AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs $) { + this.maxLength = $.maxLength; + this.stopSequences = $.stopSequences; + this.temperature = $.temperature; + this.topK = $.topK; + this.topP = $.topP; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs $; + + public Builder() { + $ = new AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs(); + } + + public Builder(AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs defaults) { + $ = new AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param maxLength Maximum number of tokens to allow in the generated response. + * + * @return builder + * + */ + public Builder maxLength(Output maxLength) { + $.maxLength = maxLength; + return this; + } + + /** + * @param maxLength Maximum number of tokens to allow in the generated response. + * + * @return builder + * + */ + public Builder maxLength(Integer maxLength) { + return maxLength(Output.of(maxLength)); + } + + /** + * @param stopSequences List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + * + * @return builder + * + */ + public Builder stopSequences(Output> stopSequences) { + $.stopSequences = stopSequences; + return this; + } + + /** + * @param stopSequences List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + * + * @return builder + * + */ + public Builder stopSequences(List stopSequences) { + return stopSequences(Output.of(stopSequences)); + } + + /** + * @param stopSequences List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + * + * @return builder + * + */ + public Builder stopSequences(String... stopSequences) { + return stopSequences(List.of(stopSequences)); + } + + /** + * @param temperature Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + * + * @return builder + * + */ + public Builder temperature(Output temperature) { + $.temperature = temperature; + return this; + } + + /** + * @param temperature Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + * + * @return builder + * + */ + public Builder temperature(Double temperature) { + return temperature(Output.of(temperature)); + } + + /** + * @param topK Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + * + * @return builder + * + */ + public Builder topK(Output topK) { + $.topK = topK; + return this; + } + + /** + * @param topK Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + * + * @return builder + * + */ + public Builder topK(Integer topK) { + return topK(Output.of(topK)); + } + + /** + * @param topP Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + * + * @return builder + * + */ + public Builder topP(Output topP) { + $.topP = topP; + return this; + } + + /** + * @param topP Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + * + * @return builder + * + */ + public Builder topP(Double topP) { + return topP(Output.of(topP)); + } + + public AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs build() { + if ($.maxLength == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs", "maxLength"); + } + if ($.stopSequences == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs", "stopSequences"); + } + if ($.temperature == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs", "temperature"); + } + if ($.topK == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs", "topK"); + } + if ($.topP == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs", "topP"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/AgentAgentPromptOverrideConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/AgentAgentPromptOverrideConfiguration.java index 0e78accac08..3c8bddd91ec 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/AgentAgentPromptOverrideConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/AgentAgentPromptOverrideConfiguration.java @@ -3,9 +3,9 @@ package com.pulumi.aws.bedrock.outputs; +import com.pulumi.aws.bedrock.outputs.AgentAgentPromptOverrideConfigurationPromptConfiguration; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Object; import java.lang.String; import java.util.List; import java.util.Objects; @@ -21,7 +21,7 @@ public final class AgentAgentPromptOverrideConfiguration { * @return Configurations to override a prompt template in one part of an agent sequence. See `prompt_configurations` block for details. * */ - private List promptConfigurations; + private List promptConfigurations; private AgentAgentPromptOverrideConfiguration() {} /** @@ -35,7 +35,7 @@ public String overrideLambda() { * @return Configurations to override a prompt template in one part of an agent sequence. See `prompt_configurations` block for details. * */ - public List promptConfigurations() { + public List promptConfigurations() { return this.promptConfigurations; } @@ -49,7 +49,7 @@ public static Builder builder(AgentAgentPromptOverrideConfiguration defaults) { @CustomType.Builder public static final class Builder { private String overrideLambda; - private List promptConfigurations; + private List promptConfigurations; public Builder() {} public Builder(AgentAgentPromptOverrideConfiguration defaults) { Objects.requireNonNull(defaults); @@ -66,14 +66,14 @@ public Builder overrideLambda(String overrideLambda) { return this; } @CustomType.Setter - public Builder promptConfigurations(List promptConfigurations) { + public Builder promptConfigurations(List promptConfigurations) { if (promptConfigurations == null) { throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfiguration", "promptConfigurations"); } this.promptConfigurations = promptConfigurations; return this; } - public Builder promptConfigurations(Object... promptConfigurations) { + public Builder promptConfigurations(AgentAgentPromptOverrideConfigurationPromptConfiguration... promptConfigurations) { return promptConfigurations(List.of(promptConfigurations)); } public AgentAgentPromptOverrideConfiguration build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/AgentAgentPromptOverrideConfigurationPromptConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/AgentAgentPromptOverrideConfigurationPromptConfiguration.java new file mode 100644 index 00000000000..af23cab7ae8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/AgentAgentPromptOverrideConfigurationPromptConfiguration.java @@ -0,0 +1,178 @@ +// *** 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.bedrock.outputs; + +import com.pulumi.aws.bedrock.outputs.AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class AgentAgentPromptOverrideConfigurationPromptConfiguration { + /** + * @return prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + * + */ + private String basePromptTemplate; + /** + * @return Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `prompt_type`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inference_configuration` block for details. + * + */ + private List inferenceConfigurations; + /** + * @return Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `prompt_type`. If you set the argument as `OVERRIDDEN`, the `override_lambda` argument in the `prompt_override_configuration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + * + */ + private String parserMode; + /** + * @return Whether to override the default prompt template for this `prompt_type`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `base_prompt_template`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + * + */ + private String promptCreationMode; + /** + * @return Whether to allow the agent to carry out the step specified in the `prompt_type`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + * + */ + private String promptState; + /** + * @return Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + * + */ + private String promptType; + + private AgentAgentPromptOverrideConfigurationPromptConfiguration() {} + /** + * @return prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + * + */ + public String basePromptTemplate() { + return this.basePromptTemplate; + } + /** + * @return Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `prompt_type`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inference_configuration` block for details. + * + */ + public List inferenceConfigurations() { + return this.inferenceConfigurations; + } + /** + * @return Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `prompt_type`. If you set the argument as `OVERRIDDEN`, the `override_lambda` argument in the `prompt_override_configuration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + * + */ + public String parserMode() { + return this.parserMode; + } + /** + * @return Whether to override the default prompt template for this `prompt_type`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `base_prompt_template`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + * + */ + public String promptCreationMode() { + return this.promptCreationMode; + } + /** + * @return Whether to allow the agent to carry out the step specified in the `prompt_type`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + * + */ + public String promptState() { + return this.promptState; + } + /** + * @return Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + * + */ + public String promptType() { + return this.promptType; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AgentAgentPromptOverrideConfigurationPromptConfiguration defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String basePromptTemplate; + private List inferenceConfigurations; + private String parserMode; + private String promptCreationMode; + private String promptState; + private String promptType; + public Builder() {} + public Builder(AgentAgentPromptOverrideConfigurationPromptConfiguration defaults) { + Objects.requireNonNull(defaults); + this.basePromptTemplate = defaults.basePromptTemplate; + this.inferenceConfigurations = defaults.inferenceConfigurations; + this.parserMode = defaults.parserMode; + this.promptCreationMode = defaults.promptCreationMode; + this.promptState = defaults.promptState; + this.promptType = defaults.promptType; + } + + @CustomType.Setter + public Builder basePromptTemplate(String basePromptTemplate) { + if (basePromptTemplate == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfiguration", "basePromptTemplate"); + } + this.basePromptTemplate = basePromptTemplate; + return this; + } + @CustomType.Setter + public Builder inferenceConfigurations(List inferenceConfigurations) { + if (inferenceConfigurations == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfiguration", "inferenceConfigurations"); + } + this.inferenceConfigurations = inferenceConfigurations; + return this; + } + public Builder inferenceConfigurations(AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration... inferenceConfigurations) { + return inferenceConfigurations(List.of(inferenceConfigurations)); + } + @CustomType.Setter + public Builder parserMode(String parserMode) { + if (parserMode == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfiguration", "parserMode"); + } + this.parserMode = parserMode; + return this; + } + @CustomType.Setter + public Builder promptCreationMode(String promptCreationMode) { + if (promptCreationMode == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfiguration", "promptCreationMode"); + } + this.promptCreationMode = promptCreationMode; + return this; + } + @CustomType.Setter + public Builder promptState(String promptState) { + if (promptState == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfiguration", "promptState"); + } + this.promptState = promptState; + return this; + } + @CustomType.Setter + public Builder promptType(String promptType) { + if (promptType == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfiguration", "promptType"); + } + this.promptType = promptType; + return this; + } + public AgentAgentPromptOverrideConfigurationPromptConfiguration build() { + final var _resultValue = new AgentAgentPromptOverrideConfigurationPromptConfiguration(); + _resultValue.basePromptTemplate = basePromptTemplate; + _resultValue.inferenceConfigurations = inferenceConfigurations; + _resultValue.parserMode = parserMode; + _resultValue.promptCreationMode = promptCreationMode; + _resultValue.promptState = promptState; + _resultValue.promptType = promptType; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration.java b/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration.java new file mode 100644 index 00000000000..c0e3930e099 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration.java @@ -0,0 +1,156 @@ +// *** 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.bedrock.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Double; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration { + /** + * @return Maximum number of tokens to allow in the generated response. + * + */ + private Integer maxLength; + /** + * @return List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + * + */ + private List stopSequences; + /** + * @return Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + * + */ + private Double temperature; + /** + * @return Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + * + */ + private Integer topK; + /** + * @return Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + * + */ + private Double topP; + + private AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration() {} + /** + * @return Maximum number of tokens to allow in the generated response. + * + */ + public Integer maxLength() { + return this.maxLength; + } + /** + * @return List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + * + */ + public List stopSequences() { + return this.stopSequences; + } + /** + * @return Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + * + */ + public Double temperature() { + return this.temperature; + } + /** + * @return Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + * + */ + public Integer topK() { + return this.topK; + } + /** + * @return Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + * + */ + public Double topP() { + return this.topP; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer maxLength; + private List stopSequences; + private Double temperature; + private Integer topK; + private Double topP; + public Builder() {} + public Builder(AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration defaults) { + Objects.requireNonNull(defaults); + this.maxLength = defaults.maxLength; + this.stopSequences = defaults.stopSequences; + this.temperature = defaults.temperature; + this.topK = defaults.topK; + this.topP = defaults.topP; + } + + @CustomType.Setter + public Builder maxLength(Integer maxLength) { + if (maxLength == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration", "maxLength"); + } + this.maxLength = maxLength; + return this; + } + @CustomType.Setter + public Builder stopSequences(List stopSequences) { + if (stopSequences == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration", "stopSequences"); + } + this.stopSequences = stopSequences; + return this; + } + public Builder stopSequences(String... stopSequences) { + return stopSequences(List.of(stopSequences)); + } + @CustomType.Setter + public Builder temperature(Double temperature) { + if (temperature == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration", "temperature"); + } + this.temperature = temperature; + return this; + } + @CustomType.Setter + public Builder topK(Integer topK) { + if (topK == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration", "topK"); + } + this.topK = topK; + return this; + } + @CustomType.Setter + public Builder topP(Double topP) { + if (topP == null) { + throw new MissingRequiredPropertyException("AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration", "topP"); + } + this.topP = topP; + return this; + } + public AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration build() { + final var _resultValue = new AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration(); + _resultValue.maxLength = maxLength; + _resultValue.stopSequences = stopSequences; + _resultValue.temperature = temperature; + _resultValue.topK = topK; + _resultValue.topP = topP; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/GetCustomModelValidationDataConfig.java b/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/GetCustomModelValidationDataConfig.java index 37a4d9658c2..c5ca8202240 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/GetCustomModelValidationDataConfig.java +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/GetCustomModelValidationDataConfig.java @@ -3,9 +3,9 @@ package com.pulumi.aws.bedrock.outputs; +import com.pulumi.aws.bedrock.outputs.GetCustomModelValidationDataConfigValidator; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Object; import java.util.List; import java.util.Objects; @@ -15,14 +15,14 @@ public final class GetCustomModelValidationDataConfig { * @return Information about the validators. * */ - private List validators; + private List validators; private GetCustomModelValidationDataConfig() {} /** * @return Information about the validators. * */ - public List validators() { + public List validators() { return this.validators; } @@ -35,7 +35,7 @@ public static Builder builder(GetCustomModelValidationDataConfig defaults) { } @CustomType.Builder public static final class Builder { - private List validators; + private List validators; public Builder() {} public Builder(GetCustomModelValidationDataConfig defaults) { Objects.requireNonNull(defaults); @@ -43,14 +43,14 @@ public Builder(GetCustomModelValidationDataConfig defaults) { } @CustomType.Setter - public Builder validators(List validators) { + public Builder validators(List validators) { if (validators == null) { throw new MissingRequiredPropertyException("GetCustomModelValidationDataConfig", "validators"); } this.validators = validators; return this; } - public Builder validators(Object... validators) { + public Builder validators(GetCustomModelValidationDataConfigValidator... validators) { return validators(List.of(validators)); } public GetCustomModelValidationDataConfig build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/GetCustomModelValidationDataConfigValidator.java b/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/GetCustomModelValidationDataConfigValidator.java new file mode 100644 index 00000000000..b10f50597e3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrock/outputs/GetCustomModelValidationDataConfigValidator.java @@ -0,0 +1,58 @@ +// *** 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.bedrock.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetCustomModelValidationDataConfigValidator { + /** + * @return The S3 URI where the validation data is stored.. + * + */ + private String s3Uri; + + private GetCustomModelValidationDataConfigValidator() {} + /** + * @return The S3 URI where the validation data is stored.. + * + */ + public String s3Uri() { + return this.s3Uri; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetCustomModelValidationDataConfigValidator defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String s3Uri; + public Builder() {} + public Builder(GetCustomModelValidationDataConfigValidator defaults) { + Objects.requireNonNull(defaults); + this.s3Uri = defaults.s3Uri; + } + + @CustomType.Setter + public Builder s3Uri(String s3Uri) { + if (s3Uri == null) { + throw new MissingRequiredPropertyException("GetCustomModelValidationDataConfigValidator", "s3Uri"); + } + this.s3Uri = s3Uri; + return this; + } + public GetCustomModelValidationDataConfigValidator build() { + final var _resultValue = new GetCustomModelValidationDataConfigValidator(); + _resultValue.s3Uri = s3Uri; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/bedrockfoundation/outputs/GetModelsModelSummary.java b/sdk/java/src/main/java/com/pulumi/aws/bedrockfoundation/outputs/GetModelsModelSummary.java index 231f6d216f7..d8090b579e0 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/bedrockfoundation/outputs/GetModelsModelSummary.java +++ b/sdk/java/src/main/java/com/pulumi/aws/bedrockfoundation/outputs/GetModelsModelSummary.java @@ -6,7 +6,6 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; -import java.lang.Object; import java.lang.String; import java.util.List; import java.util.Objects; @@ -17,17 +16,17 @@ public final class GetModelsModelSummary { * @return Customizations that the model supports. * */ - private List customizationsSupporteds; + private List customizationsSupporteds; /** * @return Inference types that the model supports. * */ - private List inferenceTypesSupporteds; + private List inferenceTypesSupporteds; /** * @return Input modalities that the model supports. * */ - private List inputModalities; + private List inputModalities; /** * @return Model ARN. * @@ -47,7 +46,7 @@ public final class GetModelsModelSummary { * @return Output modalities that the model supports. * */ - private List outputModalities; + private List outputModalities; /** * @return Model provider name. * @@ -64,21 +63,21 @@ private GetModelsModelSummary() {} * @return Customizations that the model supports. * */ - public List customizationsSupporteds() { + public List customizationsSupporteds() { return this.customizationsSupporteds; } /** * @return Inference types that the model supports. * */ - public List inferenceTypesSupporteds() { + public List inferenceTypesSupporteds() { return this.inferenceTypesSupporteds; } /** * @return Input modalities that the model supports. * */ - public List inputModalities() { + public List inputModalities() { return this.inputModalities; } /** @@ -106,7 +105,7 @@ public String modelName() { * @return Output modalities that the model supports. * */ - public List outputModalities() { + public List outputModalities() { return this.outputModalities; } /** @@ -133,13 +132,13 @@ public static Builder builder(GetModelsModelSummary defaults) { } @CustomType.Builder public static final class Builder { - private List customizationsSupporteds; - private List inferenceTypesSupporteds; - private List inputModalities; + private List customizationsSupporteds; + private List inferenceTypesSupporteds; + private List inputModalities; private String modelArn; private String modelId; private String modelName; - private List outputModalities; + private List outputModalities; private String providerName; private Boolean responseStreamingSupported; public Builder() {} @@ -157,36 +156,36 @@ public Builder(GetModelsModelSummary defaults) { } @CustomType.Setter - public Builder customizationsSupporteds(List customizationsSupporteds) { + public Builder customizationsSupporteds(List customizationsSupporteds) { if (customizationsSupporteds == null) { throw new MissingRequiredPropertyException("GetModelsModelSummary", "customizationsSupporteds"); } this.customizationsSupporteds = customizationsSupporteds; return this; } - public Builder customizationsSupporteds(Object... customizationsSupporteds) { + public Builder customizationsSupporteds(String... customizationsSupporteds) { return customizationsSupporteds(List.of(customizationsSupporteds)); } @CustomType.Setter - public Builder inferenceTypesSupporteds(List inferenceTypesSupporteds) { + public Builder inferenceTypesSupporteds(List inferenceTypesSupporteds) { if (inferenceTypesSupporteds == null) { throw new MissingRequiredPropertyException("GetModelsModelSummary", "inferenceTypesSupporteds"); } this.inferenceTypesSupporteds = inferenceTypesSupporteds; return this; } - public Builder inferenceTypesSupporteds(Object... inferenceTypesSupporteds) { + public Builder inferenceTypesSupporteds(String... inferenceTypesSupporteds) { return inferenceTypesSupporteds(List.of(inferenceTypesSupporteds)); } @CustomType.Setter - public Builder inputModalities(List inputModalities) { + public Builder inputModalities(List inputModalities) { if (inputModalities == null) { throw new MissingRequiredPropertyException("GetModelsModelSummary", "inputModalities"); } this.inputModalities = inputModalities; return this; } - public Builder inputModalities(Object... inputModalities) { + public Builder inputModalities(String... inputModalities) { return inputModalities(List.of(inputModalities)); } @CustomType.Setter @@ -214,14 +213,14 @@ public Builder modelName(String modelName) { return this; } @CustomType.Setter - public Builder outputModalities(List outputModalities) { + public Builder outputModalities(List outputModalities) { if (outputModalities == null) { throw new MissingRequiredPropertyException("GetModelsModelSummary", "outputModalities"); } this.outputModalities = outputModalities; return this; } - public Builder outputModalities(Object... outputModalities) { + public Builder outputModalities(String... outputModalities) { return outputModalities(List.of(outputModalities)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/codeguruprofiler/outputs/GetProfilingGroupProfilingStatus.java b/sdk/java/src/main/java/com/pulumi/aws/codeguruprofiler/outputs/GetProfilingGroupProfilingStatus.java index 988d56edd28..67d4b6cf27f 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/codeguruprofiler/outputs/GetProfilingGroupProfilingStatus.java +++ b/sdk/java/src/main/java/com/pulumi/aws/codeguruprofiler/outputs/GetProfilingGroupProfilingStatus.java @@ -3,9 +3,9 @@ package com.pulumi.aws.codeguruprofiler.outputs; +import com.pulumi.aws.codeguruprofiler.outputs.GetProfilingGroupProfilingStatusLatestAggregatedProfile; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Object; import java.lang.String; import java.util.List; import java.util.Objects; @@ -14,7 +14,7 @@ public final class GetProfilingGroupProfilingStatus { private String latestAgentOrchestratedAt; private String latestAgentProfileReportedAt; - private List latestAggregatedProfiles; + private List latestAggregatedProfiles; private GetProfilingGroupProfilingStatus() {} public String latestAgentOrchestratedAt() { @@ -23,7 +23,7 @@ public String latestAgentOrchestratedAt() { public String latestAgentProfileReportedAt() { return this.latestAgentProfileReportedAt; } - public List latestAggregatedProfiles() { + public List latestAggregatedProfiles() { return this.latestAggregatedProfiles; } @@ -38,7 +38,7 @@ public static Builder builder(GetProfilingGroupProfilingStatus defaults) { public static final class Builder { private String latestAgentOrchestratedAt; private String latestAgentProfileReportedAt; - private List latestAggregatedProfiles; + private List latestAggregatedProfiles; public Builder() {} public Builder(GetProfilingGroupProfilingStatus defaults) { Objects.requireNonNull(defaults); @@ -64,14 +64,14 @@ public Builder latestAgentProfileReportedAt(String latestAgentProfileReportedAt) return this; } @CustomType.Setter - public Builder latestAggregatedProfiles(List latestAggregatedProfiles) { + public Builder latestAggregatedProfiles(List latestAggregatedProfiles) { if (latestAggregatedProfiles == null) { throw new MissingRequiredPropertyException("GetProfilingGroupProfilingStatus", "latestAggregatedProfiles"); } this.latestAggregatedProfiles = latestAggregatedProfiles; return this; } - public Builder latestAggregatedProfiles(Object... latestAggregatedProfiles) { + public Builder latestAggregatedProfiles(GetProfilingGroupProfilingStatusLatestAggregatedProfile... latestAggregatedProfiles) { return latestAggregatedProfiles(List.of(latestAggregatedProfiles)); } public GetProfilingGroupProfilingStatus build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/codeguruprofiler/outputs/GetProfilingGroupProfilingStatusLatestAggregatedProfile.java b/sdk/java/src/main/java/com/pulumi/aws/codeguruprofiler/outputs/GetProfilingGroupProfilingStatusLatestAggregatedProfile.java new file mode 100644 index 00000000000..ef1b962fe66 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/codeguruprofiler/outputs/GetProfilingGroupProfilingStatusLatestAggregatedProfile.java @@ -0,0 +1,65 @@ +// *** 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.codeguruprofiler.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetProfilingGroupProfilingStatusLatestAggregatedProfile { + private String period; + private String start; + + private GetProfilingGroupProfilingStatusLatestAggregatedProfile() {} + public String period() { + return this.period; + } + public String start() { + return this.start; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetProfilingGroupProfilingStatusLatestAggregatedProfile defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String period; + private String start; + public Builder() {} + public Builder(GetProfilingGroupProfilingStatusLatestAggregatedProfile defaults) { + Objects.requireNonNull(defaults); + this.period = defaults.period; + this.start = defaults.start; + } + + @CustomType.Setter + public Builder period(String period) { + if (period == null) { + throw new MissingRequiredPropertyException("GetProfilingGroupProfilingStatusLatestAggregatedProfile", "period"); + } + this.period = period; + return this; + } + @CustomType.Setter + public Builder start(String start) { + if (start == null) { + throw new MissingRequiredPropertyException("GetProfilingGroupProfilingStatusLatestAggregatedProfile", "start"); + } + this.start = start; + return this; + } + public GetProfilingGroupProfilingStatusLatestAggregatedProfile build() { + final var _resultValue = new GetProfilingGroupProfilingStatusLatestAggregatedProfile(); + _resultValue.period = period; + _resultValue.start = start; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/guardduty/inputs/MalwareProtectionPlanActionArgs.java b/sdk/java/src/main/java/com/pulumi/aws/guardduty/inputs/MalwareProtectionPlanActionArgs.java index 703654893d6..3d1df306582 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/guardduty/inputs/MalwareProtectionPlanActionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/guardduty/inputs/MalwareProtectionPlanActionArgs.java @@ -3,10 +3,10 @@ package com.pulumi.aws.guardduty.inputs; +import com.pulumi.aws.guardduty.inputs.MalwareProtectionPlanActionTaggingArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Object; import java.util.List; import java.util.Objects; @@ -20,13 +20,13 @@ public final class MalwareProtectionPlanActionArgs extends com.pulumi.resources. * */ @Import(name="taggings", required=true) - private Output> taggings; + private Output> taggings; /** * @return Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. * */ - public Output> taggings() { + public Output> taggings() { return this.taggings; } @@ -60,7 +60,7 @@ public Builder(MalwareProtectionPlanActionArgs defaults) { * @return builder * */ - public Builder taggings(Output> taggings) { + public Builder taggings(Output> taggings) { $.taggings = taggings; return this; } @@ -71,7 +71,7 @@ public Builder taggings(Output> taggings) { * @return builder * */ - public Builder taggings(List taggings) { + public Builder taggings(List taggings) { return taggings(Output.of(taggings)); } @@ -81,7 +81,7 @@ public Builder taggings(List taggings) { * @return builder * */ - public Builder taggings(Object... taggings) { + public Builder taggings(MalwareProtectionPlanActionTaggingArgs... taggings) { return taggings(List.of(taggings)); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/guardduty/inputs/MalwareProtectionPlanActionTaggingArgs.java b/sdk/java/src/main/java/com/pulumi/aws/guardduty/inputs/MalwareProtectionPlanActionTaggingArgs.java new file mode 100644 index 00000000000..f3170ba0acb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/guardduty/inputs/MalwareProtectionPlanActionTaggingArgs.java @@ -0,0 +1,85 @@ +// *** 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.guardduty.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 MalwareProtectionPlanActionTaggingArgs extends com.pulumi.resources.ResourceArgs { + + public static final MalwareProtectionPlanActionTaggingArgs Empty = new MalwareProtectionPlanActionTaggingArgs(); + + /** + * Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + * + */ + @Import(name="status", required=true) + private Output status; + + /** + * @return Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + * + */ + public Output status() { + return this.status; + } + + private MalwareProtectionPlanActionTaggingArgs() {} + + private MalwareProtectionPlanActionTaggingArgs(MalwareProtectionPlanActionTaggingArgs $) { + this.status = $.status; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(MalwareProtectionPlanActionTaggingArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private MalwareProtectionPlanActionTaggingArgs $; + + public Builder() { + $ = new MalwareProtectionPlanActionTaggingArgs(); + } + + public Builder(MalwareProtectionPlanActionTaggingArgs defaults) { + $ = new MalwareProtectionPlanActionTaggingArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param status Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + * + * @return builder + * + */ + public Builder status(Output status) { + $.status = status; + return this; + } + + /** + * @param status Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + * + * @return builder + * + */ + public Builder status(String status) { + return status(Output.of(status)); + } + + public MalwareProtectionPlanActionTaggingArgs build() { + if ($.status == null) { + throw new MissingRequiredPropertyException("MalwareProtectionPlanActionTaggingArgs", "status"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/guardduty/outputs/MalwareProtectionPlanAction.java b/sdk/java/src/main/java/com/pulumi/aws/guardduty/outputs/MalwareProtectionPlanAction.java index 725aaca38a4..d8dd6895031 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/guardduty/outputs/MalwareProtectionPlanAction.java +++ b/sdk/java/src/main/java/com/pulumi/aws/guardduty/outputs/MalwareProtectionPlanAction.java @@ -3,9 +3,9 @@ package com.pulumi.aws.guardduty.outputs; +import com.pulumi.aws.guardduty.outputs.MalwareProtectionPlanActionTagging; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Object; import java.util.List; import java.util.Objects; @@ -15,14 +15,14 @@ public final class MalwareProtectionPlanAction { * @return Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. * */ - private List taggings; + private List taggings; private MalwareProtectionPlanAction() {} /** * @return Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. * */ - public List taggings() { + public List taggings() { return this.taggings; } @@ -35,7 +35,7 @@ public static Builder builder(MalwareProtectionPlanAction defaults) { } @CustomType.Builder public static final class Builder { - private List taggings; + private List taggings; public Builder() {} public Builder(MalwareProtectionPlanAction defaults) { Objects.requireNonNull(defaults); @@ -43,14 +43,14 @@ public Builder(MalwareProtectionPlanAction defaults) { } @CustomType.Setter - public Builder taggings(List taggings) { + public Builder taggings(List taggings) { if (taggings == null) { throw new MissingRequiredPropertyException("MalwareProtectionPlanAction", "taggings"); } this.taggings = taggings; return this; } - public Builder taggings(Object... taggings) { + public Builder taggings(MalwareProtectionPlanActionTagging... taggings) { return taggings(List.of(taggings)); } public MalwareProtectionPlanAction build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/guardduty/outputs/MalwareProtectionPlanActionTagging.java b/sdk/java/src/main/java/com/pulumi/aws/guardduty/outputs/MalwareProtectionPlanActionTagging.java new file mode 100644 index 00000000000..b6579563bfc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/guardduty/outputs/MalwareProtectionPlanActionTagging.java @@ -0,0 +1,58 @@ +// *** 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.guardduty.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class MalwareProtectionPlanActionTagging { + /** + * @return Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + * + */ + private String status; + + private MalwareProtectionPlanActionTagging() {} + /** + * @return Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + * + */ + public String status() { + return this.status; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(MalwareProtectionPlanActionTagging defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String status; + public Builder() {} + public Builder(MalwareProtectionPlanActionTagging defaults) { + Objects.requireNonNull(defaults); + this.status = defaults.status; + } + + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("MalwareProtectionPlanActionTagging", "status"); + } + this.status = status; + return this; + } + public MalwareProtectionPlanActionTagging build() { + final var _resultValue = new MalwareProtectionPlanActionTagging(); + _resultValue.status = status; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/identitystore/outputs/GetGroupsGroup.java b/sdk/java/src/main/java/com/pulumi/aws/identitystore/outputs/GetGroupsGroup.java index 263362a5574..1eef7c510d6 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/identitystore/outputs/GetGroupsGroup.java +++ b/sdk/java/src/main/java/com/pulumi/aws/identitystore/outputs/GetGroupsGroup.java @@ -3,9 +3,9 @@ package com.pulumi.aws.identitystore.outputs; +import com.pulumi.aws.identitystore.outputs.GetGroupsGroupExternalId; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Object; import java.lang.String; import java.util.List; import java.util.Objects; @@ -26,7 +26,7 @@ public final class GetGroupsGroup { * @return List of identifiers issued to this resource by an external identity provider. * */ - private List externalIds; + private List externalIds; /** * @return Identifier of the group in the Identity Store. * @@ -57,7 +57,7 @@ public String displayName() { * @return List of identifiers issued to this resource by an external identity provider. * */ - public List externalIds() { + public List externalIds() { return this.externalIds; } /** @@ -86,7 +86,7 @@ public static Builder builder(GetGroupsGroup defaults) { public static final class Builder { private String description; private String displayName; - private List externalIds; + private List externalIds; private String groupId; private String identityStoreId; public Builder() {} @@ -116,14 +116,14 @@ public Builder displayName(String displayName) { return this; } @CustomType.Setter - public Builder externalIds(List externalIds) { + public Builder externalIds(List externalIds) { if (externalIds == null) { throw new MissingRequiredPropertyException("GetGroupsGroup", "externalIds"); } this.externalIds = externalIds; return this; } - public Builder externalIds(Object... externalIds) { + public Builder externalIds(GetGroupsGroupExternalId... externalIds) { return externalIds(List.of(externalIds)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/identitystore/outputs/GetGroupsGroupExternalId.java b/sdk/java/src/main/java/com/pulumi/aws/identitystore/outputs/GetGroupsGroupExternalId.java new file mode 100644 index 00000000000..aea36b5a6ab --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/identitystore/outputs/GetGroupsGroupExternalId.java @@ -0,0 +1,81 @@ +// *** 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.identitystore.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetGroupsGroupExternalId { + /** + * @return Identifier issued to this resource by an external identity provider. + * + */ + private String id; + /** + * @return Issuer for an external identifier. + * + */ + private String issuer; + + private GetGroupsGroupExternalId() {} + /** + * @return Identifier issued to this resource by an external identity provider. + * + */ + public String id() { + return this.id; + } + /** + * @return Issuer for an external identifier. + * + */ + public String issuer() { + return this.issuer; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetGroupsGroupExternalId defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + private String issuer; + public Builder() {} + public Builder(GetGroupsGroupExternalId defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + this.issuer = defaults.issuer; + } + + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetGroupsGroupExternalId", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder issuer(String issuer) { + if (issuer == null) { + throw new MissingRequiredPropertyException("GetGroupsGroupExternalId", "issuer"); + } + this.issuer = issuer; + return this; + } + public GetGroupsGroupExternalId build() { + final var _resultValue = new GetGroupsGroupExternalId(); + _resultValue.id = id; + _resultValue.issuer = issuer; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotTypeCompositeSlotTypeSettingArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotTypeCompositeSlotTypeSettingArgs.java index 95082aaf113..93fde68c7bf 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotTypeCompositeSlotTypeSettingArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotTypeCompositeSlotTypeSettingArgs.java @@ -3,10 +3,10 @@ package com.pulumi.aws.lex.inputs; +import com.pulumi.aws.lex.inputs.V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Object; import java.util.List; import java.util.Objects; @@ -20,13 +20,13 @@ public final class V2modelsSlotTypeCompositeSlotTypeSettingArgs extends com.pulu * */ @Import(name="subSlots", required=true) - private Output> subSlots; + private Output> subSlots; /** * @return Subslots in the composite slot. Contains filtered or unexported fields. See [`sub_slot_type_composition` argument reference] below. * */ - public Output> subSlots() { + public Output> subSlots() { return this.subSlots; } @@ -60,7 +60,7 @@ public Builder(V2modelsSlotTypeCompositeSlotTypeSettingArgs defaults) { * @return builder * */ - public Builder subSlots(Output> subSlots) { + public Builder subSlots(Output> subSlots) { $.subSlots = subSlots; return this; } @@ -71,7 +71,7 @@ public Builder subSlots(Output> subSlots) { * @return builder * */ - public Builder subSlots(List subSlots) { + public Builder subSlots(List subSlots) { return subSlots(Output.of(subSlots)); } @@ -81,7 +81,7 @@ public Builder subSlots(List subSlots) { * @return builder * */ - public Builder subSlots(Object... subSlots) { + public Builder subSlots(V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs... subSlots) { return subSlots(List.of(subSlots)); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs.java new file mode 100644 index 00000000000..283b22d3217 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs.java @@ -0,0 +1,113 @@ +// *** 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.lex.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 V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs extends com.pulumi.resources.ResourceArgs { + + public static final V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs Empty = new V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs(); + + /** + * Name of the slot type + * + * The following arguments are optional: + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Name of the slot type + * + * The following arguments are optional: + * + */ + public Output name() { + return this.name; + } + + @Import(name="subSlotId", required=true) + private Output subSlotId; + + public Output subSlotId() { + return this.subSlotId; + } + + private V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs() {} + + private V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs(V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs $) { + this.name = $.name; + this.subSlotId = $.subSlotId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs $; + + public Builder() { + $ = new V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs(); + } + + public Builder(V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs defaults) { + $ = new V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name Name of the slot type + * + * The following arguments are optional: + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Name of the slot type + * + * The following arguments are optional: + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public Builder subSlotId(Output subSlotId) { + $.subSlotId = subSlotId; + return this; + } + + public Builder subSlotId(String subSlotId) { + return subSlotId(Output.of(subSlotId)); + } + + public V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs", "name"); + } + if ($.subSlotId == null) { + throw new MissingRequiredPropertyException("V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs", "subSlotId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotTypeSlotTypeValuesArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotTypeSlotTypeValuesArgs.java index dca50b4e086..fffcba36c24 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotTypeSlotTypeValuesArgs.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotTypeSlotTypeValuesArgs.java @@ -3,11 +3,11 @@ package com.pulumi.aws.lex.inputs; +import com.pulumi.aws.lex.inputs.V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs; import com.pulumi.aws.lex.inputs.V2modelsSlotTypeSlotTypeValuesSynonymArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Object; import java.util.List; import java.util.Objects; import java.util.Optional; @@ -23,13 +23,13 @@ public final class V2modelsSlotTypeSlotTypeValuesArgs extends com.pulumi.resourc * */ @Import(name="slotTypeValues", required=true) - private Output> slotTypeValues; + private Output> slotTypeValues; /** * @return List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slot_type_values` argument reference below. * */ - public Output> slotTypeValues() { + public Output> slotTypeValues() { return this.slotTypeValues; } @@ -79,7 +79,7 @@ public Builder(V2modelsSlotTypeSlotTypeValuesArgs defaults) { * @return builder * */ - public Builder slotTypeValues(Output> slotTypeValues) { + public Builder slotTypeValues(Output> slotTypeValues) { $.slotTypeValues = slotTypeValues; return this; } @@ -90,7 +90,7 @@ public Builder slotTypeValues(Output> slotTypeValues) { * @return builder * */ - public Builder slotTypeValues(List slotTypeValues) { + public Builder slotTypeValues(List slotTypeValues) { return slotTypeValues(Output.of(slotTypeValues)); } @@ -100,7 +100,7 @@ public Builder slotTypeValues(List slotTypeValues) { * @return builder * */ - public Builder slotTypeValues(Object... slotTypeValues) { + public Builder slotTypeValues(V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs... slotTypeValues) { return slotTypeValues(List.of(slotTypeValues)); } diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs.java b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs.java new file mode 100644 index 00000000000..67c0466818c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/inputs/V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs.java @@ -0,0 +1,65 @@ +// *** 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.lex.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 V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs extends com.pulumi.resources.ResourceArgs { + + public static final V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs Empty = new V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs(); + + @Import(name="value", required=true) + private Output value; + + public Output value() { + return this.value; + } + + private V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs() {} + + private V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs(V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs $) { + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs $; + + public Builder() { + $ = new V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs(); + } + + public Builder(V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs defaults) { + $ = new V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs(Objects.requireNonNull(defaults)); + } + + public Builder value(Output value) { + $.value = value; + return this; + } + + public Builder value(String value) { + return value(Output.of(value)); + } + + public V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs build() { + if ($.value == null) { + throw new MissingRequiredPropertyException("V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotTypeCompositeSlotTypeSetting.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotTypeCompositeSlotTypeSetting.java index 4b009857539..06a41182084 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotTypeCompositeSlotTypeSetting.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotTypeCompositeSlotTypeSetting.java @@ -3,9 +3,9 @@ package com.pulumi.aws.lex.outputs; +import com.pulumi.aws.lex.outputs.V2modelsSlotTypeCompositeSlotTypeSettingSubSlot; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Object; import java.util.List; import java.util.Objects; @@ -15,14 +15,14 @@ public final class V2modelsSlotTypeCompositeSlotTypeSetting { * @return Subslots in the composite slot. Contains filtered or unexported fields. See [`sub_slot_type_composition` argument reference] below. * */ - private List subSlots; + private List subSlots; private V2modelsSlotTypeCompositeSlotTypeSetting() {} /** * @return Subslots in the composite slot. Contains filtered or unexported fields. See [`sub_slot_type_composition` argument reference] below. * */ - public List subSlots() { + public List subSlots() { return this.subSlots; } @@ -35,7 +35,7 @@ public static Builder builder(V2modelsSlotTypeCompositeSlotTypeSetting defaults) } @CustomType.Builder public static final class Builder { - private List subSlots; + private List subSlots; public Builder() {} public Builder(V2modelsSlotTypeCompositeSlotTypeSetting defaults) { Objects.requireNonNull(defaults); @@ -43,14 +43,14 @@ public Builder(V2modelsSlotTypeCompositeSlotTypeSetting defaults) { } @CustomType.Setter - public Builder subSlots(List subSlots) { + public Builder subSlots(List subSlots) { if (subSlots == null) { throw new MissingRequiredPropertyException("V2modelsSlotTypeCompositeSlotTypeSetting", "subSlots"); } this.subSlots = subSlots; return this; } - public Builder subSlots(Object... subSlots) { + public Builder subSlots(V2modelsSlotTypeCompositeSlotTypeSettingSubSlot... subSlots) { return subSlots(List.of(subSlots)); } public V2modelsSlotTypeCompositeSlotTypeSetting build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotTypeCompositeSlotTypeSettingSubSlot.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotTypeCompositeSlotTypeSettingSubSlot.java new file mode 100644 index 00000000000..8c59b615d73 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotTypeCompositeSlotTypeSettingSubSlot.java @@ -0,0 +1,77 @@ +// *** 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.lex.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class V2modelsSlotTypeCompositeSlotTypeSettingSubSlot { + /** + * @return Name of the slot type + * + * The following arguments are optional: + * + */ + private String name; + private String subSlotId; + + private V2modelsSlotTypeCompositeSlotTypeSettingSubSlot() {} + /** + * @return Name of the slot type + * + * The following arguments are optional: + * + */ + public String name() { + return this.name; + } + public String subSlotId() { + return this.subSlotId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(V2modelsSlotTypeCompositeSlotTypeSettingSubSlot defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String subSlotId; + public Builder() {} + public Builder(V2modelsSlotTypeCompositeSlotTypeSettingSubSlot defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.subSlotId = defaults.subSlotId; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("V2modelsSlotTypeCompositeSlotTypeSettingSubSlot", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder subSlotId(String subSlotId) { + if (subSlotId == null) { + throw new MissingRequiredPropertyException("V2modelsSlotTypeCompositeSlotTypeSettingSubSlot", "subSlotId"); + } + this.subSlotId = subSlotId; + return this; + } + public V2modelsSlotTypeCompositeSlotTypeSettingSubSlot build() { + final var _resultValue = new V2modelsSlotTypeCompositeSlotTypeSettingSubSlot(); + _resultValue.name = name; + _resultValue.subSlotId = subSlotId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotTypeSlotTypeValues.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotTypeSlotTypeValues.java index 7728c78c234..4bb75f96f5a 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotTypeSlotTypeValues.java +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotTypeSlotTypeValues.java @@ -3,10 +3,10 @@ package com.pulumi.aws.lex.outputs; +import com.pulumi.aws.lex.outputs.V2modelsSlotTypeSlotTypeValuesSlotTypeValue; import com.pulumi.aws.lex.outputs.V2modelsSlotTypeSlotTypeValuesSynonym; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Object; import java.util.List; import java.util.Objects; import javax.annotation.Nullable; @@ -17,7 +17,7 @@ public final class V2modelsSlotTypeSlotTypeValues { * @return List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slot_type_values` argument reference below. * */ - private List slotTypeValues; + private List slotTypeValues; /** * @return Additional values related to the slot type entry. See `sample_value` argument reference below. * @@ -29,7 +29,7 @@ private V2modelsSlotTypeSlotTypeValues() {} * @return List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slot_type_values` argument reference below. * */ - public List slotTypeValues() { + public List slotTypeValues() { return this.slotTypeValues; } /** @@ -49,7 +49,7 @@ public static Builder builder(V2modelsSlotTypeSlotTypeValues defaults) { } @CustomType.Builder public static final class Builder { - private List slotTypeValues; + private List slotTypeValues; private @Nullable List synonyms; public Builder() {} public Builder(V2modelsSlotTypeSlotTypeValues defaults) { @@ -59,14 +59,14 @@ public Builder(V2modelsSlotTypeSlotTypeValues defaults) { } @CustomType.Setter - public Builder slotTypeValues(List slotTypeValues) { + public Builder slotTypeValues(List slotTypeValues) { if (slotTypeValues == null) { throw new MissingRequiredPropertyException("V2modelsSlotTypeSlotTypeValues", "slotTypeValues"); } this.slotTypeValues = slotTypeValues; return this; } - public Builder slotTypeValues(Object... slotTypeValues) { + public Builder slotTypeValues(V2modelsSlotTypeSlotTypeValuesSlotTypeValue... slotTypeValues) { return slotTypeValues(List.of(slotTypeValues)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotTypeSlotTypeValuesSlotTypeValue.java b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotTypeSlotTypeValuesSlotTypeValue.java new file mode 100644 index 00000000000..e0d7331355e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/lex/outputs/V2modelsSlotTypeSlotTypeValuesSlotTypeValue.java @@ -0,0 +1,50 @@ +// *** 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.lex.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class V2modelsSlotTypeSlotTypeValuesSlotTypeValue { + private String value; + + private V2modelsSlotTypeSlotTypeValuesSlotTypeValue() {} + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(V2modelsSlotTypeSlotTypeValuesSlotTypeValue defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String value; + public Builder() {} + public Builder(V2modelsSlotTypeSlotTypeValuesSlotTypeValue defaults) { + Objects.requireNonNull(defaults); + this.value = defaults.value; + } + + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("V2modelsSlotTypeSlotTypeValuesSlotTypeValue", "value"); + } + this.value = value; + return this; + } + public V2modelsSlotTypeSlotTypeValuesSlotTypeValue build() { + final var _resultValue = new V2modelsSlotTypeSlotTypeValuesSlotTypeValue(); + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/GetInputDestination.java b/sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/GetInputDestination.java index 6b85e9729d6..b13bf43e653 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/GetInputDestination.java +++ b/sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/GetInputDestination.java @@ -3,9 +3,9 @@ package com.pulumi.aws.medialive.outputs; +import com.pulumi.aws.medialive.outputs.GetInputDestinationVpc; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Object; import java.lang.String; import java.util.List; import java.util.Objects; @@ -15,7 +15,7 @@ public final class GetInputDestination { private String ip; private String port; private String url; - private List vpcs; + private List vpcs; private GetInputDestination() {} public String ip() { @@ -27,7 +27,7 @@ public String port() { public String url() { return this.url; } - public List vpcs() { + public List vpcs() { return this.vpcs; } @@ -43,7 +43,7 @@ public static final class Builder { private String ip; private String port; private String url; - private List vpcs; + private List vpcs; public Builder() {} public Builder(GetInputDestination defaults) { Objects.requireNonNull(defaults); @@ -78,14 +78,14 @@ public Builder url(String url) { return this; } @CustomType.Setter - public Builder vpcs(List vpcs) { + public Builder vpcs(List vpcs) { if (vpcs == null) { throw new MissingRequiredPropertyException("GetInputDestination", "vpcs"); } this.vpcs = vpcs; return this; } - public Builder vpcs(Object... vpcs) { + public Builder vpcs(GetInputDestinationVpc... vpcs) { return vpcs(List.of(vpcs)); } public GetInputDestination build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/GetInputDestinationVpc.java b/sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/GetInputDestinationVpc.java new file mode 100644 index 00000000000..89fee7685a4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/medialive/outputs/GetInputDestinationVpc.java @@ -0,0 +1,65 @@ +// *** 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.medialive.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetInputDestinationVpc { + private String availabilityZone; + private String networkInterfaceId; + + private GetInputDestinationVpc() {} + public String availabilityZone() { + return this.availabilityZone; + } + public String networkInterfaceId() { + return this.networkInterfaceId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetInputDestinationVpc defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String availabilityZone; + private String networkInterfaceId; + public Builder() {} + public Builder(GetInputDestinationVpc defaults) { + Objects.requireNonNull(defaults); + this.availabilityZone = defaults.availabilityZone; + this.networkInterfaceId = defaults.networkInterfaceId; + } + + @CustomType.Setter + public Builder availabilityZone(String availabilityZone) { + if (availabilityZone == null) { + throw new MissingRequiredPropertyException("GetInputDestinationVpc", "availabilityZone"); + } + this.availabilityZone = availabilityZone; + return this; + } + @CustomType.Setter + public Builder networkInterfaceId(String networkInterfaceId) { + if (networkInterfaceId == null) { + throw new MissingRequiredPropertyException("GetInputDestinationVpc", "networkInterfaceId"); + } + this.networkInterfaceId = networkInterfaceId; + return this; + } + public GetInputDestinationVpc build() { + final var _resultValue = new GetInputDestinationVpc(); + _resultValue.availabilityZone = availabilityZone; + _resultValue.networkInterfaceId = networkInterfaceId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/outputs/SearchResource.java b/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/outputs/SearchResource.java index b43dea05675..127553e9310 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/outputs/SearchResource.java +++ b/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/outputs/SearchResource.java @@ -3,9 +3,9 @@ package com.pulumi.aws.resourceexplorer.outputs; +import com.pulumi.aws.resourceexplorer.outputs.SearchResourceProperty; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Object; import java.lang.String; import java.util.List; import java.util.Objects; @@ -31,7 +31,7 @@ public final class SearchResource { * @return Structure with additional type-specific details about the resource. See `properties` below. * */ - private List properties; + private List properties; /** * @return Amazon Web Services Region in which the resource was created and exists. * @@ -74,7 +74,7 @@ public String owningAccountId() { * @return Structure with additional type-specific details about the resource. See `properties` below. * */ - public List properties() { + public List properties() { return this.properties; } /** @@ -111,7 +111,7 @@ public static final class Builder { private String arn; private String lastReportedAt; private String owningAccountId; - private List properties; + private List properties; private String region; private String resourceType; private String service; @@ -152,14 +152,14 @@ public Builder owningAccountId(String owningAccountId) { return this; } @CustomType.Setter - public Builder properties(List properties) { + public Builder properties(List properties) { if (properties == null) { throw new MissingRequiredPropertyException("SearchResource", "properties"); } this.properties = properties; return this; } - public Builder properties(Object... properties) { + public Builder properties(SearchResourceProperty... properties) { return properties(List.of(properties)); } @CustomType.Setter diff --git a/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/outputs/SearchResourceProperty.java b/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/outputs/SearchResourceProperty.java new file mode 100644 index 00000000000..868d7a18858 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/resourceexplorer/outputs/SearchResourceProperty.java @@ -0,0 +1,104 @@ +// *** 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.resourceexplorer.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class SearchResourceProperty { + /** + * @return Details about this property. The content of this field is a JSON object that varies based on the resource type. + * + */ + private String data; + /** + * @return The date and time that the information about this resource property was last updated. + * + */ + private String lastReportedAt; + /** + * @return Name of this property of the resource. + * + */ + private String name; + + private SearchResourceProperty() {} + /** + * @return Details about this property. The content of this field is a JSON object that varies based on the resource type. + * + */ + public String data() { + return this.data; + } + /** + * @return The date and time that the information about this resource property was last updated. + * + */ + public String lastReportedAt() { + return this.lastReportedAt; + } + /** + * @return Name of this property of the resource. + * + */ + public String name() { + return this.name; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(SearchResourceProperty defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String data; + private String lastReportedAt; + private String name; + public Builder() {} + public Builder(SearchResourceProperty defaults) { + Objects.requireNonNull(defaults); + this.data = defaults.data; + this.lastReportedAt = defaults.lastReportedAt; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder data(String data) { + if (data == null) { + throw new MissingRequiredPropertyException("SearchResourceProperty", "data"); + } + this.data = data; + return this; + } + @CustomType.Setter + public Builder lastReportedAt(String lastReportedAt) { + if (lastReportedAt == null) { + throw new MissingRequiredPropertyException("SearchResourceProperty", "lastReportedAt"); + } + this.lastReportedAt = lastReportedAt; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("SearchResourceProperty", "name"); + } + this.name = name; + return this; + } + public SearchResourceProperty build() { + final var _resultValue = new SearchResourceProperty(); + _resultValue.data = data; + _resultValue.lastReportedAt = lastReportedAt; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrence.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrence.java index 5e24878343f..d656f153a41 100644 --- a/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrence.java +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrence.java @@ -3,27 +3,30 @@ package com.pulumi.aws.ssm.outputs; +import com.pulumi.aws.ssm.outputs.GetContactsRotationRecurrenceDailySetting; +import com.pulumi.aws.ssm.outputs.GetContactsRotationRecurrenceMonthlySetting; +import com.pulumi.aws.ssm.outputs.GetContactsRotationRecurrenceShiftCoverage; +import com.pulumi.aws.ssm.outputs.GetContactsRotationRecurrenceWeeklySetting; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; -import java.lang.Object; import java.util.List; import java.util.Objects; @CustomType public final class GetContactsRotationRecurrence { - private List dailySettings; - private List monthlySettings; + private List dailySettings; + private List monthlySettings; private Integer numberOfOnCalls; private Integer recurrenceMultiplier; - private List shiftCoverages; - private List weeklySettings; + private List shiftCoverages; + private List weeklySettings; private GetContactsRotationRecurrence() {} - public List dailySettings() { + public List dailySettings() { return this.dailySettings; } - public List monthlySettings() { + public List monthlySettings() { return this.monthlySettings; } public Integer numberOfOnCalls() { @@ -32,10 +35,10 @@ public Integer numberOfOnCalls() { public Integer recurrenceMultiplier() { return this.recurrenceMultiplier; } - public List shiftCoverages() { + public List shiftCoverages() { return this.shiftCoverages; } - public List weeklySettings() { + public List weeklySettings() { return this.weeklySettings; } @@ -48,12 +51,12 @@ public static Builder builder(GetContactsRotationRecurrence defaults) { } @CustomType.Builder public static final class Builder { - private List dailySettings; - private List monthlySettings; + private List dailySettings; + private List monthlySettings; private Integer numberOfOnCalls; private Integer recurrenceMultiplier; - private List shiftCoverages; - private List weeklySettings; + private List shiftCoverages; + private List weeklySettings; public Builder() {} public Builder(GetContactsRotationRecurrence defaults) { Objects.requireNonNull(defaults); @@ -66,25 +69,25 @@ public Builder(GetContactsRotationRecurrence defaults) { } @CustomType.Setter - public Builder dailySettings(List dailySettings) { + public Builder dailySettings(List dailySettings) { if (dailySettings == null) { throw new MissingRequiredPropertyException("GetContactsRotationRecurrence", "dailySettings"); } this.dailySettings = dailySettings; return this; } - public Builder dailySettings(Object... dailySettings) { + public Builder dailySettings(GetContactsRotationRecurrenceDailySetting... dailySettings) { return dailySettings(List.of(dailySettings)); } @CustomType.Setter - public Builder monthlySettings(List monthlySettings) { + public Builder monthlySettings(List monthlySettings) { if (monthlySettings == null) { throw new MissingRequiredPropertyException("GetContactsRotationRecurrence", "monthlySettings"); } this.monthlySettings = monthlySettings; return this; } - public Builder monthlySettings(Object... monthlySettings) { + public Builder monthlySettings(GetContactsRotationRecurrenceMonthlySetting... monthlySettings) { return monthlySettings(List.of(monthlySettings)); } @CustomType.Setter @@ -104,25 +107,25 @@ public Builder recurrenceMultiplier(Integer recurrenceMultiplier) { return this; } @CustomType.Setter - public Builder shiftCoverages(List shiftCoverages) { + public Builder shiftCoverages(List shiftCoverages) { if (shiftCoverages == null) { throw new MissingRequiredPropertyException("GetContactsRotationRecurrence", "shiftCoverages"); } this.shiftCoverages = shiftCoverages; return this; } - public Builder shiftCoverages(Object... shiftCoverages) { + public Builder shiftCoverages(GetContactsRotationRecurrenceShiftCoverage... shiftCoverages) { return shiftCoverages(List.of(shiftCoverages)); } @CustomType.Setter - public Builder weeklySettings(List weeklySettings) { + public Builder weeklySettings(List weeklySettings) { if (weeklySettings == null) { throw new MissingRequiredPropertyException("GetContactsRotationRecurrence", "weeklySettings"); } this.weeklySettings = weeklySettings; return this; } - public Builder weeklySettings(Object... weeklySettings) { + public Builder weeklySettings(GetContactsRotationRecurrenceWeeklySetting... weeklySettings) { return weeklySettings(List.of(weeklySettings)); } public GetContactsRotationRecurrence build() { diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceDailySetting.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceDailySetting.java new file mode 100644 index 00000000000..45ed3485570 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceDailySetting.java @@ -0,0 +1,65 @@ +// *** 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.ssm.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.util.Objects; + +@CustomType +public final class GetContactsRotationRecurrenceDailySetting { + private Integer hourOfDay; + private Integer minuteOfHour; + + private GetContactsRotationRecurrenceDailySetting() {} + public Integer hourOfDay() { + return this.hourOfDay; + } + public Integer minuteOfHour() { + return this.minuteOfHour; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetContactsRotationRecurrenceDailySetting defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer hourOfDay; + private Integer minuteOfHour; + public Builder() {} + public Builder(GetContactsRotationRecurrenceDailySetting defaults) { + Objects.requireNonNull(defaults); + this.hourOfDay = defaults.hourOfDay; + this.minuteOfHour = defaults.minuteOfHour; + } + + @CustomType.Setter + public Builder hourOfDay(Integer hourOfDay) { + if (hourOfDay == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceDailySetting", "hourOfDay"); + } + this.hourOfDay = hourOfDay; + return this; + } + @CustomType.Setter + public Builder minuteOfHour(Integer minuteOfHour) { + if (minuteOfHour == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceDailySetting", "minuteOfHour"); + } + this.minuteOfHour = minuteOfHour; + return this; + } + public GetContactsRotationRecurrenceDailySetting build() { + final var _resultValue = new GetContactsRotationRecurrenceDailySetting(); + _resultValue.hourOfDay = hourOfDay; + _resultValue.minuteOfHour = minuteOfHour; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceMonthlySetting.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceMonthlySetting.java new file mode 100644 index 00000000000..b1825b71c19 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceMonthlySetting.java @@ -0,0 +1,70 @@ +// *** 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.ssm.outputs; + +import com.pulumi.aws.ssm.outputs.GetContactsRotationRecurrenceMonthlySettingHandOffTime; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetContactsRotationRecurrenceMonthlySetting { + private Integer dayOfMonth; + private List handOffTimes; + + private GetContactsRotationRecurrenceMonthlySetting() {} + public Integer dayOfMonth() { + return this.dayOfMonth; + } + public List handOffTimes() { + return this.handOffTimes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetContactsRotationRecurrenceMonthlySetting defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer dayOfMonth; + private List handOffTimes; + public Builder() {} + public Builder(GetContactsRotationRecurrenceMonthlySetting defaults) { + Objects.requireNonNull(defaults); + this.dayOfMonth = defaults.dayOfMonth; + this.handOffTimes = defaults.handOffTimes; + } + + @CustomType.Setter + public Builder dayOfMonth(Integer dayOfMonth) { + if (dayOfMonth == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceMonthlySetting", "dayOfMonth"); + } + this.dayOfMonth = dayOfMonth; + return this; + } + @CustomType.Setter + public Builder handOffTimes(List handOffTimes) { + if (handOffTimes == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceMonthlySetting", "handOffTimes"); + } + this.handOffTimes = handOffTimes; + return this; + } + public Builder handOffTimes(GetContactsRotationRecurrenceMonthlySettingHandOffTime... handOffTimes) { + return handOffTimes(List.of(handOffTimes)); + } + public GetContactsRotationRecurrenceMonthlySetting build() { + final var _resultValue = new GetContactsRotationRecurrenceMonthlySetting(); + _resultValue.dayOfMonth = dayOfMonth; + _resultValue.handOffTimes = handOffTimes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceMonthlySettingHandOffTime.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceMonthlySettingHandOffTime.java new file mode 100644 index 00000000000..0e73b48fa83 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceMonthlySettingHandOffTime.java @@ -0,0 +1,65 @@ +// *** 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.ssm.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.util.Objects; + +@CustomType +public final class GetContactsRotationRecurrenceMonthlySettingHandOffTime { + private Integer hourOfDay; + private Integer minuteOfHour; + + private GetContactsRotationRecurrenceMonthlySettingHandOffTime() {} + public Integer hourOfDay() { + return this.hourOfDay; + } + public Integer minuteOfHour() { + return this.minuteOfHour; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetContactsRotationRecurrenceMonthlySettingHandOffTime defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer hourOfDay; + private Integer minuteOfHour; + public Builder() {} + public Builder(GetContactsRotationRecurrenceMonthlySettingHandOffTime defaults) { + Objects.requireNonNull(defaults); + this.hourOfDay = defaults.hourOfDay; + this.minuteOfHour = defaults.minuteOfHour; + } + + @CustomType.Setter + public Builder hourOfDay(Integer hourOfDay) { + if (hourOfDay == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceMonthlySettingHandOffTime", "hourOfDay"); + } + this.hourOfDay = hourOfDay; + return this; + } + @CustomType.Setter + public Builder minuteOfHour(Integer minuteOfHour) { + if (minuteOfHour == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceMonthlySettingHandOffTime", "minuteOfHour"); + } + this.minuteOfHour = minuteOfHour; + return this; + } + public GetContactsRotationRecurrenceMonthlySettingHandOffTime build() { + final var _resultValue = new GetContactsRotationRecurrenceMonthlySettingHandOffTime(); + _resultValue.hourOfDay = hourOfDay; + _resultValue.minuteOfHour = minuteOfHour; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceShiftCoverage.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceShiftCoverage.java new file mode 100644 index 00000000000..a95dac01eca --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceShiftCoverage.java @@ -0,0 +1,70 @@ +// *** 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.ssm.outputs; + +import com.pulumi.aws.ssm.outputs.GetContactsRotationRecurrenceShiftCoverageCoverageTime; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetContactsRotationRecurrenceShiftCoverage { + private List coverageTimes; + private String mapBlockKey; + + private GetContactsRotationRecurrenceShiftCoverage() {} + public List coverageTimes() { + return this.coverageTimes; + } + public String mapBlockKey() { + return this.mapBlockKey; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetContactsRotationRecurrenceShiftCoverage defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List coverageTimes; + private String mapBlockKey; + public Builder() {} + public Builder(GetContactsRotationRecurrenceShiftCoverage defaults) { + Objects.requireNonNull(defaults); + this.coverageTimes = defaults.coverageTimes; + this.mapBlockKey = defaults.mapBlockKey; + } + + @CustomType.Setter + public Builder coverageTimes(List coverageTimes) { + if (coverageTimes == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceShiftCoverage", "coverageTimes"); + } + this.coverageTimes = coverageTimes; + return this; + } + public Builder coverageTimes(GetContactsRotationRecurrenceShiftCoverageCoverageTime... coverageTimes) { + return coverageTimes(List.of(coverageTimes)); + } + @CustomType.Setter + public Builder mapBlockKey(String mapBlockKey) { + if (mapBlockKey == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceShiftCoverage", "mapBlockKey"); + } + this.mapBlockKey = mapBlockKey; + return this; + } + public GetContactsRotationRecurrenceShiftCoverage build() { + final var _resultValue = new GetContactsRotationRecurrenceShiftCoverage(); + _resultValue.coverageTimes = coverageTimes; + _resultValue.mapBlockKey = mapBlockKey; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTime.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTime.java new file mode 100644 index 00000000000..15fbcaa8eec --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTime.java @@ -0,0 +1,73 @@ +// *** 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.ssm.outputs; + +import com.pulumi.aws.ssm.outputs.GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd; +import com.pulumi.aws.ssm.outputs.GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetContactsRotationRecurrenceShiftCoverageCoverageTime { + private List ends; + private List starts; + + private GetContactsRotationRecurrenceShiftCoverageCoverageTime() {} + public List ends() { + return this.ends; + } + public List starts() { + return this.starts; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetContactsRotationRecurrenceShiftCoverageCoverageTime defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List ends; + private List starts; + public Builder() {} + public Builder(GetContactsRotationRecurrenceShiftCoverageCoverageTime defaults) { + Objects.requireNonNull(defaults); + this.ends = defaults.ends; + this.starts = defaults.starts; + } + + @CustomType.Setter + public Builder ends(List ends) { + if (ends == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceShiftCoverageCoverageTime", "ends"); + } + this.ends = ends; + return this; + } + public Builder ends(GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd... ends) { + return ends(List.of(ends)); + } + @CustomType.Setter + public Builder starts(List starts) { + if (starts == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceShiftCoverageCoverageTime", "starts"); + } + this.starts = starts; + return this; + } + public Builder starts(GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart... starts) { + return starts(List.of(starts)); + } + public GetContactsRotationRecurrenceShiftCoverageCoverageTime build() { + final var _resultValue = new GetContactsRotationRecurrenceShiftCoverageCoverageTime(); + _resultValue.ends = ends; + _resultValue.starts = starts; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd.java new file mode 100644 index 00000000000..a14cc6b7467 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd.java @@ -0,0 +1,65 @@ +// *** 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.ssm.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.util.Objects; + +@CustomType +public final class GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd { + private Integer hourOfDay; + private Integer minuteOfHour; + + private GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd() {} + public Integer hourOfDay() { + return this.hourOfDay; + } + public Integer minuteOfHour() { + return this.minuteOfHour; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer hourOfDay; + private Integer minuteOfHour; + public Builder() {} + public Builder(GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd defaults) { + Objects.requireNonNull(defaults); + this.hourOfDay = defaults.hourOfDay; + this.minuteOfHour = defaults.minuteOfHour; + } + + @CustomType.Setter + public Builder hourOfDay(Integer hourOfDay) { + if (hourOfDay == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd", "hourOfDay"); + } + this.hourOfDay = hourOfDay; + return this; + } + @CustomType.Setter + public Builder minuteOfHour(Integer minuteOfHour) { + if (minuteOfHour == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd", "minuteOfHour"); + } + this.minuteOfHour = minuteOfHour; + return this; + } + public GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd build() { + final var _resultValue = new GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd(); + _resultValue.hourOfDay = hourOfDay; + _resultValue.minuteOfHour = minuteOfHour; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart.java new file mode 100644 index 00000000000..b34bf5cd158 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart.java @@ -0,0 +1,65 @@ +// *** 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.ssm.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.util.Objects; + +@CustomType +public final class GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart { + private Integer hourOfDay; + private Integer minuteOfHour; + + private GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart() {} + public Integer hourOfDay() { + return this.hourOfDay; + } + public Integer minuteOfHour() { + return this.minuteOfHour; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer hourOfDay; + private Integer minuteOfHour; + public Builder() {} + public Builder(GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart defaults) { + Objects.requireNonNull(defaults); + this.hourOfDay = defaults.hourOfDay; + this.minuteOfHour = defaults.minuteOfHour; + } + + @CustomType.Setter + public Builder hourOfDay(Integer hourOfDay) { + if (hourOfDay == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart", "hourOfDay"); + } + this.hourOfDay = hourOfDay; + return this; + } + @CustomType.Setter + public Builder minuteOfHour(Integer minuteOfHour) { + if (minuteOfHour == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart", "minuteOfHour"); + } + this.minuteOfHour = minuteOfHour; + return this; + } + public GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart build() { + final var _resultValue = new GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart(); + _resultValue.hourOfDay = hourOfDay; + _resultValue.minuteOfHour = minuteOfHour; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceWeeklySetting.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceWeeklySetting.java new file mode 100644 index 00000000000..63e75cc5f34 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceWeeklySetting.java @@ -0,0 +1,70 @@ +// *** 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.ssm.outputs; + +import com.pulumi.aws.ssm.outputs.GetContactsRotationRecurrenceWeeklySettingHandOffTime; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetContactsRotationRecurrenceWeeklySetting { + private String dayOfWeek; + private List handOffTimes; + + private GetContactsRotationRecurrenceWeeklySetting() {} + public String dayOfWeek() { + return this.dayOfWeek; + } + public List handOffTimes() { + return this.handOffTimes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetContactsRotationRecurrenceWeeklySetting defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String dayOfWeek; + private List handOffTimes; + public Builder() {} + public Builder(GetContactsRotationRecurrenceWeeklySetting defaults) { + Objects.requireNonNull(defaults); + this.dayOfWeek = defaults.dayOfWeek; + this.handOffTimes = defaults.handOffTimes; + } + + @CustomType.Setter + public Builder dayOfWeek(String dayOfWeek) { + if (dayOfWeek == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceWeeklySetting", "dayOfWeek"); + } + this.dayOfWeek = dayOfWeek; + return this; + } + @CustomType.Setter + public Builder handOffTimes(List handOffTimes) { + if (handOffTimes == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceWeeklySetting", "handOffTimes"); + } + this.handOffTimes = handOffTimes; + return this; + } + public Builder handOffTimes(GetContactsRotationRecurrenceWeeklySettingHandOffTime... handOffTimes) { + return handOffTimes(List.of(handOffTimes)); + } + public GetContactsRotationRecurrenceWeeklySetting build() { + final var _resultValue = new GetContactsRotationRecurrenceWeeklySetting(); + _resultValue.dayOfWeek = dayOfWeek; + _resultValue.handOffTimes = handOffTimes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceWeeklySettingHandOffTime.java b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceWeeklySettingHandOffTime.java new file mode 100644 index 00000000000..0f79633043c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/aws/ssm/outputs/GetContactsRotationRecurrenceWeeklySettingHandOffTime.java @@ -0,0 +1,65 @@ +// *** 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.ssm.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.util.Objects; + +@CustomType +public final class GetContactsRotationRecurrenceWeeklySettingHandOffTime { + private Integer hourOfDay; + private Integer minuteOfHour; + + private GetContactsRotationRecurrenceWeeklySettingHandOffTime() {} + public Integer hourOfDay() { + return this.hourOfDay; + } + public Integer minuteOfHour() { + return this.minuteOfHour; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetContactsRotationRecurrenceWeeklySettingHandOffTime defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer hourOfDay; + private Integer minuteOfHour; + public Builder() {} + public Builder(GetContactsRotationRecurrenceWeeklySettingHandOffTime defaults) { + Objects.requireNonNull(defaults); + this.hourOfDay = defaults.hourOfDay; + this.minuteOfHour = defaults.minuteOfHour; + } + + @CustomType.Setter + public Builder hourOfDay(Integer hourOfDay) { + if (hourOfDay == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceWeeklySettingHandOffTime", "hourOfDay"); + } + this.hourOfDay = hourOfDay; + return this; + } + @CustomType.Setter + public Builder minuteOfHour(Integer minuteOfHour) { + if (minuteOfHour == null) { + throw new MissingRequiredPropertyException("GetContactsRotationRecurrenceWeeklySettingHandOffTime", "minuteOfHour"); + } + this.minuteOfHour = minuteOfHour; + return this; + } + public GetContactsRotationRecurrenceWeeklySettingHandOffTime build() { + final var _resultValue = new GetContactsRotationRecurrenceWeeklySettingHandOffTime(); + _resultValue.hourOfDay = hourOfDay; + _resultValue.minuteOfHour = minuteOfHour; + return _resultValue; + } + } +} diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index ceb34d91dab..4604a8e5f85 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -9450,7 +9450,57 @@ export namespace bedrock { /** * Configurations to override a prompt template in one part of an agent sequence. See `promptConfigurations` block for details. */ - promptConfigurations: pulumi.Input; + promptConfigurations: pulumi.Input[]>; + } + + export interface AgentAgentPromptOverrideConfigurationPromptConfiguration { + /** + * prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + */ + basePromptTemplate: pulumi.Input; + /** + * Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `promptType`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inferenceConfiguration` block for details. + */ + inferenceConfigurations: pulumi.Input[]>; + /** + * Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `promptType`. If you set the argument as `OVERRIDDEN`, the `overrideLambda` argument in the `promptOverrideConfiguration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + */ + parserMode: pulumi.Input; + /** + * Whether to override the default prompt template for this `promptType`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `basePromptTemplate`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + */ + promptCreationMode: pulumi.Input; + /** + * Whether to allow the agent to carry out the step specified in the `promptType`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + */ + promptState: pulumi.Input; + /** + * Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + */ + promptType: pulumi.Input; + } + + export interface AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration { + /** + * Maximum number of tokens to allow in the generated response. + */ + maxLength: pulumi.Input; + /** + * List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + */ + stopSequences: pulumi.Input[]>; + /** + * Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + */ + temperature: pulumi.Input; + /** + * Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + */ + topK: pulumi.Input; + /** + * Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + */ + topP: pulumi.Input; } export interface AgentAgentTimeouts { @@ -30010,7 +30060,14 @@ export namespace guardduty { /** * Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. */ - taggings: pulumi.Input; + taggings: pulumi.Input[]>; + } + + export interface MalwareProtectionPlanActionTagging { + /** + * Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + */ + status: pulumi.Input; } export interface MalwareProtectionPlanProtectedResource { @@ -48110,7 +48167,17 @@ export namespace lex { /** * Subslots in the composite slot. Contains filtered or unexported fields. See [`subSlotTypeComposition` argument reference] below. */ - subSlots: pulumi.Input; + subSlots: pulumi.Input[]>; + } + + export interface V2modelsSlotTypeCompositeSlotTypeSettingSubSlot { + /** + * Name of the slot type + * + * The following arguments are optional: + */ + name: pulumi.Input; + subSlotId: pulumi.Input; } export interface V2modelsSlotTypeExternalSourceSetting { @@ -48137,13 +48204,17 @@ export namespace lex { /** * List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slotTypeValues` argument reference below. */ - slotTypeValues: pulumi.Input; + slotTypeValues: pulumi.Input[]>; /** * Additional values related to the slot type entry. See `sampleValue` argument reference below. */ synonyms?: pulumi.Input[]>; } + export interface V2modelsSlotTypeSlotTypeValuesSlotTypeValue { + value: pulumi.Input; + } + export interface V2modelsSlotTypeSlotTypeValuesSynonym { value: pulumi.Input; } diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 3e113191c8e..bc83246d26c 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -9566,7 +9566,185 @@ export namespace batch { /** * The properties for the Kubernetes pod resources of a job. */ - podProperties: any[]; + podProperties: outputs.batch.GetJobDefinitionEksPropertyPodProperty[]; + } + + export interface GetJobDefinitionEksPropertyPodProperty { + /** + * The properties of the container that's used on the Amazon EKS pod. Array of EksContainer objects. + */ + containers: outputs.batch.GetJobDefinitionEksPropertyPodPropertyContainer[]; + /** + * The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. + */ + dnsPolicy: string; + /** + * Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. + */ + hostNetwork: boolean; + /** + * Metadata about the Kubernetes pod. + */ + metadatas: outputs.batch.GetJobDefinitionEksPropertyPodPropertyMetadata[]; + /** + * The name of the service account that's used to run the pod. + */ + serviceAccountName: boolean; + /** + * A list of data volumes used in a job. + */ + volumes: outputs.batch.GetJobDefinitionEksPropertyPodPropertyVolume[]; + } + + export interface GetJobDefinitionEksPropertyPodPropertyContainer { + /** + * An array of arguments to the entrypoint + */ + args: string[]; + /** + * The command that's passed to the container. + */ + commands: string[]; + /** + * The environment variables to pass to a container. Array of EksContainerEnvironmentVariable objects. + */ + envs: outputs.batch.GetJobDefinitionEksPropertyPodPropertyContainerEnv[]; + /** + * The image used to start a container. + */ + image: string; + /** + * The image pull policy for the container. + */ + imagePullPolicy: string; + /** + * The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + */ + name: string; + /** + * The type and amount of resources to assign to a container. + */ + resources: outputs.batch.GetJobDefinitionEksPropertyPodPropertyContainerResource[]; + /** + * The security context for a job. + */ + securityContexts: outputs.batch.GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext[]; + /** + * The volume mounts for the container. + */ + volumeMounts: outputs.batch.GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount[]; + } + + export interface GetJobDefinitionEksPropertyPodPropertyContainerEnv { + /** + * The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + */ + name: string; + /** + * The quantity of the specified resource to reserve for the container. + */ + value: string; + } + + export interface GetJobDefinitionEksPropertyPodPropertyContainerResource { + /** + * The type and quantity of the resources to reserve for the container. + */ + limits: {[key: string]: any}; + /** + * The type and quantity of the resources to request for the container. + */ + requests: {[key: string]: any}; + } + + export interface GetJobDefinitionEksPropertyPodPropertyContainerSecurityContext { + /** + * When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). + */ + privileged: boolean; + readOnlyRootFileSystem: boolean; + /** + * When this parameter is specified, the container is run as the specified group ID (gid). If this parameter isn't specified, the default is the group that's specified in the image metadata. + */ + runAsGroup: number; + /** + * When this parameter is specified, the container is run as a user with a uid other than 0. If this parameter isn't specified, so such rule is enforced. + */ + runAsNonRoot: boolean; + /** + * When this parameter is specified, the container is run as the specified user ID (uid). If this parameter isn't specified, the default is the user that's specified in the image metadata. + */ + runAsUser: number; + } + + export interface GetJobDefinitionEksPropertyPodPropertyContainerVolumeMount { + /** + * The path on the container where the volume is mounted. + */ + mountPath: string; + /** + * The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + */ + name: string; + /** + * If this value is true, the container has read-only access to the volume. + */ + readOnly: boolean; + } + + export interface GetJobDefinitionEksPropertyPodPropertyMetadata { + /** + * Key-value pairs used to identify, sort, and organize cube resources. + */ + labels: {[key: string]: any}; + } + + export interface GetJobDefinitionEksPropertyPodPropertyVolume { + /** + * Specifies the configuration of a Kubernetes emptyDir volume. + */ + emptyDirs: outputs.batch.GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir[]; + /** + * The path for the device on the host container instance. + */ + hostPaths: outputs.batch.GetJobDefinitionEksPropertyPodPropertyVolumeHostPath[]; + /** + * The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + */ + name: string; + /** + * Specifies the configuration of a Kubernetes secret volume. + */ + secrets: outputs.batch.GetJobDefinitionEksPropertyPodPropertyVolumeSecret[]; + } + + export interface GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDir { + /** + * The medium to store the volume. + */ + medium: string; + /** + * The maximum size of the volume. By default, there's no maximum size defined. + */ + sizeLimit: string; + } + + export interface GetJobDefinitionEksPropertyPodPropertyVolumeHostPath { + /** + * The path of the file or directory on the host to mount into containers on the pod. + */ + path: string; + } + + export interface GetJobDefinitionEksPropertyPodPropertyVolumeSecret { + /** + * Specifies whether the secret or the secret's keys must be defined. + */ + optional: boolean; + /** + * The name of the secret. The name must be allowed as a DNS subdomain name + */ + secretName: string; } export interface GetJobDefinitionNodeProperty { @@ -9577,13 +9755,338 @@ export namespace batch { /** * A list of node ranges and their properties that are associated with a multi-node parallel job. */ - nodeRangeProperties: any[]; + nodeRangeProperties: outputs.batch.GetJobDefinitionNodePropertyNodeRangeProperty[]; /** * The number of nodes that are associated with a multi-node parallel job. */ numNodes: number; } + export interface GetJobDefinitionNodePropertyNodeRangeProperty { + /** + * The container details for the node range. + */ + containers: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainer[]; + /** + * The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. I + */ + targetNodes: string; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainer { + /** + * The command that's passed to the container. + */ + commands: string[]; + /** + * The environment variables to pass to a container. + */ + environments: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment[]; + /** + * The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. + */ + ephemeralStorages: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage[]; + /** + * The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. + */ + executionRoleArn: string; + /** + * The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter. + */ + fargatePlatformConfigurations: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration[]; + /** + * The image used to start a container. + */ + image: string; + /** + * The instance type to use for a multi-node parallel job. + */ + instanceType: string; + /** + * The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. + */ + jobRoleArn: string; + /** + * Linux-specific modifications that are applied to the container. + */ + linuxParameters: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter[]; + /** + * The log configuration specification for the container. + */ + logConfigurations: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration[]; + /** + * The mount points for data volumes in your container. + */ + mountPoints: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint[]; + /** + * The network configuration for jobs that are running on Fargate resources. + */ + networkConfigurations: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration[]; + /** + * When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). + */ + privileged: boolean; + /** + * When this parameter is true, the container is given read-only access to its root file system. + */ + readonlyRootFilesystem: boolean; + /** + * The type and amount of resources to assign to a container. + */ + resourceRequirements: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement[]; + /** + * An object that represents the compute environment architecture for AWS Batch jobs on Fargate. + */ + runtimePlatforms: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform[]; + /** + * The secrets for the container. + */ + secrets: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret[]; + /** + * A list of ulimits to set in the container. + */ + ulimits: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit[]; + /** + * The user name to use inside the container. + */ + user: string; + /** + * A list of data volumes used in a job. + */ + volumes: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume[]; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironment { + /** + * The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + */ + name: string; + /** + * The quantity of the specified resource to reserve for the container. + */ + value: string; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorage { + sizeInGib: number; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfiguration { + /** + * The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. + */ + platformVersion: string; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameter { + /** + * Any of the host devices to expose to the container. + */ + devices: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice[]; + /** + * If true, run an init process inside the container that forwards signals and reaps processes. + */ + initProcessEnabled: boolean; + /** + * The total amount of swap memory (in MiB) a container can use. + */ + maxSwap: number; + /** + * The value for the size (in MiB) of the `/dev/shm` volume. + */ + sharedMemorySize: number; + /** + * You can use this parameter to tune a container's memory swappiness behavior. + */ + swappiness: number; + /** + * The container path, mount options, and size (in MiB) of the tmpfs mount. + */ + tmpfs: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf[]; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDevice { + /** + * The absolute file path in the container where the tmpfs volume is mounted. + */ + containerPath: string; + /** + * The path for the device on the host container instance. + */ + hostPath: string; + /** + * The explicit permissions to provide to the container for the device. + */ + permissions: string[]; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpf { + /** + * The absolute file path in the container where the tmpfs volume is mounted. + */ + containerPath: string; + /** + * The list of tmpfs volume mount options. + */ + mountOptions: string[]; + /** + * The size (in MiB) of the tmpfs volume. + */ + size: number; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfiguration { + /** + * The log driver to use for the container. + */ + logDriver: string; + /** + * The configuration options to send to the log driver. + */ + options: {[key: string]: any}; + /** + * The secrets to pass to the log configuration. + */ + secretOptions: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption[]; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOption { + /** + * The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + */ + name: string; + /** + * The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + */ + valueFrom: string; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPoint { + /** + * The absolute file path in the container where the tmpfs volume is mounted. + */ + containerPath: string; + /** + * If this value is true, the container has read-only access to the volume. + */ + readOnly: boolean; + /** + * The name of the volume to mount. + */ + sourceVolume: string; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfiguration { + /** + * Indicates whether the job has a public IP address. + */ + assignPublicIp: boolean; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirement { + /** + * The type of resource to assign to a container. The supported resources include `GPU`, `MEMORY`, and `VCPU`. + */ + type: string; + /** + * The quantity of the specified resource to reserve for the container. + */ + value: string; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatform { + /** + * The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64. + */ + cpuArchitecture: string; + /** + * The operating system for the compute environment. V + */ + operatingSystemFamily: string; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerSecret { + /** + * The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + */ + name: string; + /** + * The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + */ + valueFrom: string; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimit { + /** + * The hard limit for the ulimit type. + */ + hardLimit: number; + /** + * The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + */ + name: string; + /** + * The soft limit for the ulimit type. + */ + softLimit: number; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerVolume { + /** + * This parameter is specified when you're using an Amazon Elastic File System file system for job storage. + */ + efsVolumeConfigurations: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration[]; + /** + * The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored. + */ + hosts: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost[]; + /** + * The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + */ + name: string; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfiguration { + /** + * The authorization configuration details for the Amazon EFS file system. + */ + authorizationConfigs: outputs.batch.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig[]; + /** + * The Amazon EFS file system ID to use. + */ + fileSystemId: string; + /** + * The directory within the Amazon EFS file system to mount as the root directory inside the host. + */ + rootDirectory: string; + /** + * Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server + */ + transitEncryption: string; + /** + * The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. + */ + transitEncryptionPort: number; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfig { + /** + * The Amazon EFS access point ID to use. + */ + accessPointId: string; + /** + * Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. + */ + iam: string; + } + + export interface GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHost { + /** + * The path on the host container instance that's presented to the container. + */ + sourcePath: string; + } + export interface GetJobDefinitionRetryStrategy { /** * The number of times to move a job to the RUNNABLE status. @@ -9592,7 +10095,26 @@ export namespace batch { /** * Array of up to 5 objects that specify the conditions where jobs are retried or failed. */ - evaluateOnExits: any[]; + evaluateOnExits: outputs.batch.GetJobDefinitionRetryStrategyEvaluateOnExit[]; + } + + export interface GetJobDefinitionRetryStrategyEvaluateOnExit { + /** + * Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive. + */ + action: string; + /** + * Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job. + */ + onExitCode: string; + /** + * Contains a glob pattern to match against the Reason returned for a job. + */ + onReason: string; + /** + * Contains a glob pattern to match against the StatusReason returned for a job. + */ + onStatusReason: string; } export interface GetJobDefinitionTimeout { @@ -10007,7 +10529,57 @@ export namespace bedrock { /** * Configurations to override a prompt template in one part of an agent sequence. See `promptConfigurations` block for details. */ - promptConfigurations: any[]; + promptConfigurations: outputs.bedrock.AgentAgentPromptOverrideConfigurationPromptConfiguration[]; + } + + export interface AgentAgentPromptOverrideConfigurationPromptConfiguration { + /** + * prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + */ + basePromptTemplate: string; + /** + * Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `promptType`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inferenceConfiguration` block for details. + */ + inferenceConfigurations: outputs.bedrock.AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration[]; + /** + * Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `promptType`. If you set the argument as `OVERRIDDEN`, the `overrideLambda` argument in the `promptOverrideConfiguration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + */ + parserMode: string; + /** + * Whether to override the default prompt template for this `promptType`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `basePromptTemplate`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + */ + promptCreationMode: string; + /** + * Whether to allow the agent to carry out the step specified in the `promptType`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + */ + promptState: string; + /** + * Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + */ + promptType: string; + } + + export interface AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration { + /** + * Maximum number of tokens to allow in the generated response. + */ + maxLength: number; + /** + * List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + */ + stopSequences: string[]; + /** + * Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + */ + temperature: number; + /** + * Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + */ + topK: number; + /** + * Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + */ + topP: number; } export interface AgentAgentTimeouts { @@ -10370,7 +10942,14 @@ export namespace bedrock { /** * Information about the validators. */ - validators: any[]; + validators: outputs.bedrock.GetCustomModelValidationDataConfigValidator[]; + } + + export interface GetCustomModelValidationDataConfigValidator { + /** + * The S3 URI where the validation data is stored.. + */ + s3Uri: string; } export interface GetCustomModelValidationMetric { @@ -10409,15 +10988,15 @@ export namespace bedrockfoundation { /** * Customizations that the model supports. */ - customizationsSupporteds: any[]; + customizationsSupporteds: string[]; /** * Inference types that the model supports. */ - inferenceTypesSupporteds: any[]; + inferenceTypesSupporteds: string[]; /** * Input modalities that the model supports. */ - inputModalities: any[]; + inputModalities: string[]; /** * Model ARN. */ @@ -10433,7 +11012,7 @@ export namespace bedrockfoundation { /** * Output modalities that the model supports. */ - outputModalities: any[]; + outputModalities: string[]; /** * Model provider name. */ @@ -14452,7 +15031,12 @@ export namespace codeguruprofiler { export interface GetProfilingGroupProfilingStatus { latestAgentOrchestratedAt: string; latestAgentProfileReportedAt: string; - latestAggregatedProfiles: any[]; + latestAggregatedProfiles: outputs.codeguruprofiler.GetProfilingGroupProfilingStatusLatestAggregatedProfile[]; + } + + export interface GetProfilingGroupProfilingStatusLatestAggregatedProfile { + period: string; + start: string; } export interface ProfilingGroupAgentOrchestrationConfig { @@ -35298,7 +35882,14 @@ export namespace guardduty { /** * Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. */ - taggings: any[]; + taggings: outputs.guardduty.MalwareProtectionPlanActionTagging[]; + } + + export interface MalwareProtectionPlanActionTagging { + /** + * Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + */ + status: string; } export interface MalwareProtectionPlanProtectedResource { @@ -35654,7 +36245,7 @@ export namespace identitystore { /** * List of identifiers issued to this resource by an external identity provider. */ - externalIds: any[]; + externalIds: outputs.identitystore.GetGroupsGroupExternalId[]; /** * Identifier of the group in the Identity Store. */ @@ -35665,6 +36256,17 @@ export namespace identitystore { identityStoreId: string; } + export interface GetGroupsGroupExternalId { + /** + * Identifier issued to this resource by an external identity provider. + */ + id: string; + /** + * Issuer for an external identifier. + */ + issuer: string; + } + export interface GetUserAddress { /** * The country that this address is in. @@ -54202,7 +54804,17 @@ export namespace lex { /** * Subslots in the composite slot. Contains filtered or unexported fields. See [`subSlotTypeComposition` argument reference] below. */ - subSlots: any[]; + subSlots: outputs.lex.V2modelsSlotTypeCompositeSlotTypeSettingSubSlot[]; + } + + export interface V2modelsSlotTypeCompositeSlotTypeSettingSubSlot { + /** + * Name of the slot type + * + * The following arguments are optional: + */ + name: string; + subSlotId: string; } export interface V2modelsSlotTypeExternalSourceSetting { @@ -54229,13 +54841,17 @@ export namespace lex { /** * List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slotTypeValues` argument reference below. */ - slotTypeValues: any[]; + slotTypeValues: outputs.lex.V2modelsSlotTypeSlotTypeValuesSlotTypeValue[]; /** * Additional values related to the slot type entry. See `sampleValue` argument reference below. */ synonyms?: outputs.lex.V2modelsSlotTypeSlotTypeValuesSynonym[]; } + export interface V2modelsSlotTypeSlotTypeValuesSlotTypeValue { + value: string; + } + export interface V2modelsSlotTypeSlotTypeValuesSynonym { value: string; } @@ -57752,7 +58368,12 @@ export namespace medialive { ip: string; port: string; url: string; - vpcs: any[]; + vpcs: outputs.medialive.GetInputDestinationVpc[]; + } + + export interface GetInputDestinationVpc { + availabilityZone: string; + networkInterfaceId: string; } export interface GetInputInputDevice { @@ -65792,7 +66413,7 @@ export namespace resourceexplorer { /** * Structure with additional type-specific details about the resource. See `properties` below. */ - properties: any[]; + properties: outputs.resourceexplorer.SearchResourceProperty[]; /** * Amazon Web Services Region in which the resource was created and exists. */ @@ -65818,6 +66439,21 @@ export namespace resourceexplorer { totalResources: number; } + export interface SearchResourceProperty { + /** + * Details about this property. The content of this field is a JSON object that varies based on the resource type. + */ + data: string; + /** + * The date and time that the information about this resource property was last updated. + */ + lastReportedAt: string; + /** + * Name of this property of the resource. + */ + name: string; + } + export interface ViewFilters { /** * The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a search operation. For more details, see [Search query syntax](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html). @@ -75057,12 +75693,57 @@ export namespace ssm { } export interface GetContactsRotationRecurrence { - dailySettings: any[]; - monthlySettings: any[]; + dailySettings: outputs.ssm.GetContactsRotationRecurrenceDailySetting[]; + monthlySettings: outputs.ssm.GetContactsRotationRecurrenceMonthlySetting[]; numberOfOnCalls: number; recurrenceMultiplier: number; - shiftCoverages: any[]; - weeklySettings: any[]; + shiftCoverages: outputs.ssm.GetContactsRotationRecurrenceShiftCoverage[]; + weeklySettings: outputs.ssm.GetContactsRotationRecurrenceWeeklySetting[]; + } + + export interface GetContactsRotationRecurrenceDailySetting { + hourOfDay: number; + minuteOfHour: number; + } + + export interface GetContactsRotationRecurrenceMonthlySetting { + dayOfMonth: number; + handOffTimes: outputs.ssm.GetContactsRotationRecurrenceMonthlySettingHandOffTime[]; + } + + export interface GetContactsRotationRecurrenceMonthlySettingHandOffTime { + hourOfDay: number; + minuteOfHour: number; + } + + export interface GetContactsRotationRecurrenceShiftCoverage { + coverageTimes: outputs.ssm.GetContactsRotationRecurrenceShiftCoverageCoverageTime[]; + mapBlockKey: string; + } + + export interface GetContactsRotationRecurrenceShiftCoverageCoverageTime { + ends: outputs.ssm.GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd[]; + starts: outputs.ssm.GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart[]; + } + + export interface GetContactsRotationRecurrenceShiftCoverageCoverageTimeEnd { + hourOfDay: number; + minuteOfHour: number; + } + + export interface GetContactsRotationRecurrenceShiftCoverageCoverageTimeStart { + hourOfDay: number; + minuteOfHour: number; + } + + export interface GetContactsRotationRecurrenceWeeklySetting { + dayOfWeek: string; + handOffTimes: outputs.ssm.GetContactsRotationRecurrenceWeeklySettingHandOffTime[]; + } + + export interface GetContactsRotationRecurrenceWeeklySettingHandOffTime { + hourOfDay: number; + minuteOfHour: number; } export interface GetInstancesFilter { diff --git a/sdk/python/pulumi_aws/batch/outputs.py b/sdk/python/pulumi_aws/batch/outputs.py index ad5a0befbfc..d734843bbd1 100644 --- a/sdk/python/pulumi_aws/batch/outputs.py +++ b/sdk/python/pulumi_aws/batch/outputs.py @@ -42,8 +42,40 @@ 'SchedulingPolicyFairSharePolicyShareDistribution', 'GetComputeEnvironmentUpdatePolicyResult', 'GetJobDefinitionEksPropertyResult', + 'GetJobDefinitionEksPropertyPodPropertyResult', + 'GetJobDefinitionEksPropertyPodPropertyContainerResult', + 'GetJobDefinitionEksPropertyPodPropertyContainerEnvResult', + 'GetJobDefinitionEksPropertyPodPropertyContainerResourceResult', + 'GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextResult', + 'GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountResult', + 'GetJobDefinitionEksPropertyPodPropertyMetadataResult', + 'GetJobDefinitionEksPropertyPodPropertyVolumeResult', + 'GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirResult', + 'GetJobDefinitionEksPropertyPodPropertyVolumeHostPathResult', + 'GetJobDefinitionEksPropertyPodPropertyVolumeSecretResult', 'GetJobDefinitionNodePropertyResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigResult', + 'GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostResult', 'GetJobDefinitionRetryStrategyResult', + 'GetJobDefinitionRetryStrategyEvaluateOnExitResult', 'GetJobDefinitionTimeoutResult', 'GetJobQueueComputeEnvironmentOrderResult', 'GetSchedulingPolicyFairSharePolicyResult', @@ -1474,69 +1506,1420 @@ def terminate_jobs_on_update(self) -> bool: @pulumi.output_type class GetJobDefinitionEksPropertyResult(dict): def __init__(__self__, *, - pod_properties: Sequence[Any]): + pod_properties: Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyResult']): """ - :param Sequence[Any] pod_properties: The properties for the Kubernetes pod resources of a job. + :param Sequence['GetJobDefinitionEksPropertyPodPropertyArgs'] pod_properties: The properties for the Kubernetes pod resources of a job. """ pulumi.set(__self__, "pod_properties", pod_properties) @property @pulumi.getter(name="podProperties") - def pod_properties(self) -> Sequence[Any]: + def pod_properties(self) -> Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyResult']: """ The properties for the Kubernetes pod resources of a job. """ return pulumi.get(self, "pod_properties") +@pulumi.output_type +class GetJobDefinitionEksPropertyPodPropertyResult(dict): + def __init__(__self__, *, + containers: Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyContainerResult'], + dns_policy: str, + host_network: bool, + metadatas: Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyMetadataResult'], + service_account_name: bool, + volumes: Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyVolumeResult']): + """ + :param Sequence['GetJobDefinitionEksPropertyPodPropertyContainerArgs'] containers: The properties of the container that's used on the Amazon EKS pod. Array of EksContainer objects. + :param str dns_policy: The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. + :param bool host_network: Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. + :param Sequence['GetJobDefinitionEksPropertyPodPropertyMetadataArgs'] metadatas: Metadata about the Kubernetes pod. + :param bool service_account_name: The name of the service account that's used to run the pod. + :param Sequence['GetJobDefinitionEksPropertyPodPropertyVolumeArgs'] volumes: A list of data volumes used in a job. + """ + pulumi.set(__self__, "containers", containers) + pulumi.set(__self__, "dns_policy", dns_policy) + pulumi.set(__self__, "host_network", host_network) + pulumi.set(__self__, "metadatas", metadatas) + pulumi.set(__self__, "service_account_name", service_account_name) + pulumi.set(__self__, "volumes", volumes) + + @property + @pulumi.getter + def containers(self) -> Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyContainerResult']: + """ + The properties of the container that's used on the Amazon EKS pod. Array of EksContainer objects. + """ + return pulumi.get(self, "containers") + + @property + @pulumi.getter(name="dnsPolicy") + def dns_policy(self) -> str: + """ + The DNS policy for the pod. The default value is ClusterFirst. If the hostNetwork parameter is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. + """ + return pulumi.get(self, "dns_policy") + + @property + @pulumi.getter(name="hostNetwork") + def host_network(self) -> bool: + """ + Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. + """ + return pulumi.get(self, "host_network") + + @property + @pulumi.getter + def metadatas(self) -> Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyMetadataResult']: + """ + Metadata about the Kubernetes pod. + """ + return pulumi.get(self, "metadatas") + + @property + @pulumi.getter(name="serviceAccountName") + def service_account_name(self) -> bool: + """ + The name of the service account that's used to run the pod. + """ + return pulumi.get(self, "service_account_name") + + @property + @pulumi.getter + def volumes(self) -> Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyVolumeResult']: + """ + A list of data volumes used in a job. + """ + return pulumi.get(self, "volumes") + + +@pulumi.output_type +class GetJobDefinitionEksPropertyPodPropertyContainerResult(dict): + def __init__(__self__, *, + args: Sequence[str], + commands: Sequence[str], + envs: Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyContainerEnvResult'], + image: str, + image_pull_policy: str, + name: str, + resources: Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyContainerResourceResult'], + security_contexts: Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextResult'], + volume_mounts: Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountResult']): + """ + :param Sequence[str] args: An array of arguments to the entrypoint + :param Sequence[str] commands: The command that's passed to the container. + :param Sequence['GetJobDefinitionEksPropertyPodPropertyContainerEnvArgs'] envs: The environment variables to pass to a container. Array of EksContainerEnvironmentVariable objects. + :param str image: The image used to start a container. + :param str image_pull_policy: The image pull policy for the container. + :param str name: The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + :param Sequence['GetJobDefinitionEksPropertyPodPropertyContainerResourceArgs'] resources: The type and amount of resources to assign to a container. + :param Sequence['GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextArgs'] security_contexts: The security context for a job. + :param Sequence['GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountArgs'] volume_mounts: The volume mounts for the container. + """ + pulumi.set(__self__, "args", args) + pulumi.set(__self__, "commands", commands) + pulumi.set(__self__, "envs", envs) + pulumi.set(__self__, "image", image) + pulumi.set(__self__, "image_pull_policy", image_pull_policy) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "resources", resources) + pulumi.set(__self__, "security_contexts", security_contexts) + pulumi.set(__self__, "volume_mounts", volume_mounts) + + @property + @pulumi.getter + def args(self) -> Sequence[str]: + """ + An array of arguments to the entrypoint + """ + return pulumi.get(self, "args") + + @property + @pulumi.getter + def commands(self) -> Sequence[str]: + """ + The command that's passed to the container. + """ + return pulumi.get(self, "commands") + + @property + @pulumi.getter + def envs(self) -> Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyContainerEnvResult']: + """ + The environment variables to pass to a container. Array of EksContainerEnvironmentVariable objects. + """ + return pulumi.get(self, "envs") + + @property + @pulumi.getter + def image(self) -> str: + """ + The image used to start a container. + """ + return pulumi.get(self, "image") + + @property + @pulumi.getter(name="imagePullPolicy") + def image_pull_policy(self) -> str: + """ + The image pull policy for the container. + """ + return pulumi.get(self, "image_pull_policy") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def resources(self) -> Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyContainerResourceResult']: + """ + The type and amount of resources to assign to a container. + """ + return pulumi.get(self, "resources") + + @property + @pulumi.getter(name="securityContexts") + def security_contexts(self) -> Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextResult']: + """ + The security context for a job. + """ + return pulumi.get(self, "security_contexts") + + @property + @pulumi.getter(name="volumeMounts") + def volume_mounts(self) -> Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountResult']: + """ + The volume mounts for the container. + """ + return pulumi.get(self, "volume_mounts") + + +@pulumi.output_type +class GetJobDefinitionEksPropertyPodPropertyContainerEnvResult(dict): + def __init__(__self__, *, + name: str, + value: str): + """ + :param str name: The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + :param str value: The quantity of the specified resource to reserve for the container. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def value(self) -> str: + """ + The quantity of the specified resource to reserve for the container. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class GetJobDefinitionEksPropertyPodPropertyContainerResourceResult(dict): + def __init__(__self__, *, + limits: Mapping[str, Any], + requests: Mapping[str, Any]): + """ + :param Mapping[str, Any] limits: The type and quantity of the resources to reserve for the container. + :param Mapping[str, Any] requests: The type and quantity of the resources to request for the container. + """ + pulumi.set(__self__, "limits", limits) + pulumi.set(__self__, "requests", requests) + + @property + @pulumi.getter + def limits(self) -> Mapping[str, Any]: + """ + The type and quantity of the resources to reserve for the container. + """ + return pulumi.get(self, "limits") + + @property + @pulumi.getter + def requests(self) -> Mapping[str, Any]: + """ + The type and quantity of the resources to request for the container. + """ + return pulumi.get(self, "requests") + + +@pulumi.output_type +class GetJobDefinitionEksPropertyPodPropertyContainerSecurityContextResult(dict): + def __init__(__self__, *, + privileged: bool, + read_only_root_file_system: bool, + run_as_group: int, + run_as_non_root: bool, + run_as_user: int): + """ + :param bool privileged: When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). + :param int run_as_group: When this parameter is specified, the container is run as the specified group ID (gid). If this parameter isn't specified, the default is the group that's specified in the image metadata. + :param bool run_as_non_root: When this parameter is specified, the container is run as a user with a uid other than 0. If this parameter isn't specified, so such rule is enforced. + :param int run_as_user: When this parameter is specified, the container is run as the specified user ID (uid). If this parameter isn't specified, the default is the user that's specified in the image metadata. + """ + pulumi.set(__self__, "privileged", privileged) + pulumi.set(__self__, "read_only_root_file_system", read_only_root_file_system) + pulumi.set(__self__, "run_as_group", run_as_group) + pulumi.set(__self__, "run_as_non_root", run_as_non_root) + pulumi.set(__self__, "run_as_user", run_as_user) + + @property + @pulumi.getter + def privileged(self) -> bool: + """ + When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). + """ + return pulumi.get(self, "privileged") + + @property + @pulumi.getter(name="readOnlyRootFileSystem") + def read_only_root_file_system(self) -> bool: + return pulumi.get(self, "read_only_root_file_system") + + @property + @pulumi.getter(name="runAsGroup") + def run_as_group(self) -> int: + """ + When this parameter is specified, the container is run as the specified group ID (gid). If this parameter isn't specified, the default is the group that's specified in the image metadata. + """ + return pulumi.get(self, "run_as_group") + + @property + @pulumi.getter(name="runAsNonRoot") + def run_as_non_root(self) -> bool: + """ + When this parameter is specified, the container is run as a user with a uid other than 0. If this parameter isn't specified, so such rule is enforced. + """ + return pulumi.get(self, "run_as_non_root") + + @property + @pulumi.getter(name="runAsUser") + def run_as_user(self) -> int: + """ + When this parameter is specified, the container is run as the specified user ID (uid). If this parameter isn't specified, the default is the user that's specified in the image metadata. + """ + return pulumi.get(self, "run_as_user") + + +@pulumi.output_type +class GetJobDefinitionEksPropertyPodPropertyContainerVolumeMountResult(dict): + def __init__(__self__, *, + mount_path: str, + name: str, + read_only: bool): + """ + :param str mount_path: The path on the container where the volume is mounted. + :param str name: The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + :param bool read_only: If this value is true, the container has read-only access to the volume. + """ + pulumi.set(__self__, "mount_path", mount_path) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "read_only", read_only) + + @property + @pulumi.getter(name="mountPath") + def mount_path(self) -> str: + """ + The path on the container where the volume is mounted. + """ + return pulumi.get(self, "mount_path") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="readOnly") + def read_only(self) -> bool: + """ + If this value is true, the container has read-only access to the volume. + """ + return pulumi.get(self, "read_only") + + +@pulumi.output_type +class GetJobDefinitionEksPropertyPodPropertyMetadataResult(dict): + def __init__(__self__, *, + labels: Mapping[str, Any]): + """ + :param Mapping[str, Any] labels: Key-value pairs used to identify, sort, and organize cube resources. + """ + pulumi.set(__self__, "labels", labels) + + @property + @pulumi.getter + def labels(self) -> Mapping[str, Any]: + """ + Key-value pairs used to identify, sort, and organize cube resources. + """ + return pulumi.get(self, "labels") + + +@pulumi.output_type +class GetJobDefinitionEksPropertyPodPropertyVolumeResult(dict): + def __init__(__self__, *, + empty_dirs: Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirResult'], + host_paths: Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyVolumeHostPathResult'], + name: str, + secrets: Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyVolumeSecretResult']): + """ + :param Sequence['GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirArgs'] empty_dirs: Specifies the configuration of a Kubernetes emptyDir volume. + :param Sequence['GetJobDefinitionEksPropertyPodPropertyVolumeHostPathArgs'] host_paths: The path for the device on the host container instance. + :param str name: The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + :param Sequence['GetJobDefinitionEksPropertyPodPropertyVolumeSecretArgs'] secrets: Specifies the configuration of a Kubernetes secret volume. + """ + pulumi.set(__self__, "empty_dirs", empty_dirs) + pulumi.set(__self__, "host_paths", host_paths) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "secrets", secrets) + + @property + @pulumi.getter(name="emptyDirs") + def empty_dirs(self) -> Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirResult']: + """ + Specifies the configuration of a Kubernetes emptyDir volume. + """ + return pulumi.get(self, "empty_dirs") + + @property + @pulumi.getter(name="hostPaths") + def host_paths(self) -> Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyVolumeHostPathResult']: + """ + The path for the device on the host container instance. + """ + return pulumi.get(self, "host_paths") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def secrets(self) -> Sequence['outputs.GetJobDefinitionEksPropertyPodPropertyVolumeSecretResult']: + """ + Specifies the configuration of a Kubernetes secret volume. + """ + return pulumi.get(self, "secrets") + + +@pulumi.output_type +class GetJobDefinitionEksPropertyPodPropertyVolumeEmptyDirResult(dict): + def __init__(__self__, *, + medium: str, + size_limit: str): + """ + :param str medium: The medium to store the volume. + :param str size_limit: The maximum size of the volume. By default, there's no maximum size defined. + """ + pulumi.set(__self__, "medium", medium) + pulumi.set(__self__, "size_limit", size_limit) + + @property + @pulumi.getter + def medium(self) -> str: + """ + The medium to store the volume. + """ + return pulumi.get(self, "medium") + + @property + @pulumi.getter(name="sizeLimit") + def size_limit(self) -> str: + """ + The maximum size of the volume. By default, there's no maximum size defined. + """ + return pulumi.get(self, "size_limit") + + +@pulumi.output_type +class GetJobDefinitionEksPropertyPodPropertyVolumeHostPathResult(dict): + def __init__(__self__, *, + path: str): + """ + :param str path: The path of the file or directory on the host to mount into containers on the pod. + """ + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter + def path(self) -> str: + """ + The path of the file or directory on the host to mount into containers on the pod. + """ + return pulumi.get(self, "path") + + +@pulumi.output_type +class GetJobDefinitionEksPropertyPodPropertyVolumeSecretResult(dict): + def __init__(__self__, *, + optional: bool, + secret_name: str): + """ + :param bool optional: Specifies whether the secret or the secret's keys must be defined. + :param str secret_name: The name of the secret. The name must be allowed as a DNS subdomain name + """ + pulumi.set(__self__, "optional", optional) + pulumi.set(__self__, "secret_name", secret_name) + + @property + @pulumi.getter + def optional(self) -> bool: + """ + Specifies whether the secret or the secret's keys must be defined. + """ + return pulumi.get(self, "optional") + + @property + @pulumi.getter(name="secretName") + def secret_name(self) -> str: + """ + The name of the secret. The name must be allowed as a DNS subdomain name + """ + return pulumi.get(self, "secret_name") + + @pulumi.output_type class GetJobDefinitionNodePropertyResult(dict): def __init__(__self__, *, - main_node: int, - node_range_properties: Sequence[Any], - num_nodes: int): + main_node: int, + node_range_properties: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyResult'], + num_nodes: int): + """ + :param int main_node: Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes. + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyArgs'] node_range_properties: A list of node ranges and their properties that are associated with a multi-node parallel job. + :param int num_nodes: The number of nodes that are associated with a multi-node parallel job. + """ + pulumi.set(__self__, "main_node", main_node) + pulumi.set(__self__, "node_range_properties", node_range_properties) + pulumi.set(__self__, "num_nodes", num_nodes) + + @property + @pulumi.getter(name="mainNode") + def main_node(self) -> int: + """ + Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes. + """ + return pulumi.get(self, "main_node") + + @property + @pulumi.getter(name="nodeRangeProperties") + def node_range_properties(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyResult']: + """ + A list of node ranges and their properties that are associated with a multi-node parallel job. + """ + return pulumi.get(self, "node_range_properties") + + @property + @pulumi.getter(name="numNodes") + def num_nodes(self) -> int: + """ + The number of nodes that are associated with a multi-node parallel job. + """ + return pulumi.get(self, "num_nodes") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyResult(dict): + def __init__(__self__, *, + containers: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerResult'], + target_nodes: str): + """ + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerArgs'] containers: The container details for the node range. + :param str target_nodes: The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. I + """ + pulumi.set(__self__, "containers", containers) + pulumi.set(__self__, "target_nodes", target_nodes) + + @property + @pulumi.getter + def containers(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerResult']: + """ + The container details for the node range. + """ + return pulumi.get(self, "containers") + + @property + @pulumi.getter(name="targetNodes") + def target_nodes(self) -> str: + """ + The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. I + """ + return pulumi.get(self, "target_nodes") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerResult(dict): + def __init__(__self__, *, + commands: Sequence[str], + environments: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentResult'], + ephemeral_storages: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageResult'], + execution_role_arn: str, + fargate_platform_configurations: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationResult'], + image: str, + instance_type: str, + job_role_arn: str, + linux_parameters: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterResult'], + log_configurations: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationResult'], + mount_points: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointResult'], + network_configurations: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationResult'], + privileged: bool, + readonly_root_filesystem: bool, + resource_requirements: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementResult'], + runtime_platforms: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformResult'], + secrets: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretResult'], + ulimits: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitResult'], + user: str, + volumes: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeResult']): + """ + :param Sequence[str] commands: The command that's passed to the container. + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentArgs'] environments: The environment variables to pass to a container. + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageArgs'] ephemeral_storages: The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. + :param str execution_role_arn: The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationArgs'] fargate_platform_configurations: The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter. + :param str image: The image used to start a container. + :param str instance_type: The instance type to use for a multi-node parallel job. + :param str job_role_arn: The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterArgs'] linux_parameters: Linux-specific modifications that are applied to the container. + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationArgs'] log_configurations: The log configuration specification for the container. + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointArgs'] mount_points: The mount points for data volumes in your container. + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationArgs'] network_configurations: The network configuration for jobs that are running on Fargate resources. + :param bool privileged: When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). + :param bool readonly_root_filesystem: When this parameter is true, the container is given read-only access to its root file system. + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementArgs'] resource_requirements: The type and amount of resources to assign to a container. + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformArgs'] runtime_platforms: An object that represents the compute environment architecture for AWS Batch jobs on Fargate. + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretArgs'] secrets: The secrets for the container. + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitArgs'] ulimits: A list of ulimits to set in the container. + :param str user: The user name to use inside the container. + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeArgs'] volumes: A list of data volumes used in a job. + """ + pulumi.set(__self__, "commands", commands) + pulumi.set(__self__, "environments", environments) + pulumi.set(__self__, "ephemeral_storages", ephemeral_storages) + pulumi.set(__self__, "execution_role_arn", execution_role_arn) + pulumi.set(__self__, "fargate_platform_configurations", fargate_platform_configurations) + pulumi.set(__self__, "image", image) + pulumi.set(__self__, "instance_type", instance_type) + pulumi.set(__self__, "job_role_arn", job_role_arn) + pulumi.set(__self__, "linux_parameters", linux_parameters) + pulumi.set(__self__, "log_configurations", log_configurations) + pulumi.set(__self__, "mount_points", mount_points) + pulumi.set(__self__, "network_configurations", network_configurations) + pulumi.set(__self__, "privileged", privileged) + pulumi.set(__self__, "readonly_root_filesystem", readonly_root_filesystem) + pulumi.set(__self__, "resource_requirements", resource_requirements) + pulumi.set(__self__, "runtime_platforms", runtime_platforms) + pulumi.set(__self__, "secrets", secrets) + pulumi.set(__self__, "ulimits", ulimits) + pulumi.set(__self__, "user", user) + pulumi.set(__self__, "volumes", volumes) + + @property + @pulumi.getter + def commands(self) -> Sequence[str]: + """ + The command that's passed to the container. + """ + return pulumi.get(self, "commands") + + @property + @pulumi.getter + def environments(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentResult']: + """ + The environment variables to pass to a container. + """ + return pulumi.get(self, "environments") + + @property + @pulumi.getter(name="ephemeralStorages") + def ephemeral_storages(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageResult']: + """ + The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. + """ + return pulumi.get(self, "ephemeral_storages") + + @property + @pulumi.getter(name="executionRoleArn") + def execution_role_arn(self) -> str: + """ + The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. + """ + return pulumi.get(self, "execution_role_arn") + + @property + @pulumi.getter(name="fargatePlatformConfigurations") + def fargate_platform_configurations(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationResult']: + """ + The platform configuration for jobs that are running on Fargate resources. Jobs that are running on EC2 resources must not specify this parameter. + """ + return pulumi.get(self, "fargate_platform_configurations") + + @property + @pulumi.getter + def image(self) -> str: + """ + The image used to start a container. + """ + return pulumi.get(self, "image") + + @property + @pulumi.getter(name="instanceType") + def instance_type(self) -> str: + """ + The instance type to use for a multi-node parallel job. + """ + return pulumi.get(self, "instance_type") + + @property + @pulumi.getter(name="jobRoleArn") + def job_role_arn(self) -> str: + """ + The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. + """ + return pulumi.get(self, "job_role_arn") + + @property + @pulumi.getter(name="linuxParameters") + def linux_parameters(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterResult']: + """ + Linux-specific modifications that are applied to the container. + """ + return pulumi.get(self, "linux_parameters") + + @property + @pulumi.getter(name="logConfigurations") + def log_configurations(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationResult']: + """ + The log configuration specification for the container. + """ + return pulumi.get(self, "log_configurations") + + @property + @pulumi.getter(name="mountPoints") + def mount_points(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointResult']: + """ + The mount points for data volumes in your container. + """ + return pulumi.get(self, "mount_points") + + @property + @pulumi.getter(name="networkConfigurations") + def network_configurations(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationResult']: + """ + The network configuration for jobs that are running on Fargate resources. + """ + return pulumi.get(self, "network_configurations") + + @property + @pulumi.getter + def privileged(self) -> bool: + """ + When this parameter is true, the container is given elevated permissions on the host container instance (similar to the root user). + """ + return pulumi.get(self, "privileged") + + @property + @pulumi.getter(name="readonlyRootFilesystem") + def readonly_root_filesystem(self) -> bool: + """ + When this parameter is true, the container is given read-only access to its root file system. + """ + return pulumi.get(self, "readonly_root_filesystem") + + @property + @pulumi.getter(name="resourceRequirements") + def resource_requirements(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementResult']: + """ + The type and amount of resources to assign to a container. + """ + return pulumi.get(self, "resource_requirements") + + @property + @pulumi.getter(name="runtimePlatforms") + def runtime_platforms(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformResult']: + """ + An object that represents the compute environment architecture for AWS Batch jobs on Fargate. + """ + return pulumi.get(self, "runtime_platforms") + + @property + @pulumi.getter + def secrets(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretResult']: + """ + The secrets for the container. + """ + return pulumi.get(self, "secrets") + + @property + @pulumi.getter + def ulimits(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitResult']: + """ + A list of ulimits to set in the container. + """ + return pulumi.get(self, "ulimits") + + @property + @pulumi.getter + def user(self) -> str: + """ + The user name to use inside the container. + """ + return pulumi.get(self, "user") + + @property + @pulumi.getter + def volumes(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeResult']: + """ + A list of data volumes used in a job. + """ + return pulumi.get(self, "volumes") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerEnvironmentResult(dict): + def __init__(__self__, *, + name: str, + value: str): + """ + :param str name: The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + :param str value: The quantity of the specified resource to reserve for the container. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def value(self) -> str: + """ + The quantity of the specified resource to reserve for the container. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerEphemeralStorageResult(dict): + def __init__(__self__, *, + size_in_gib: int): + pulumi.set(__self__, "size_in_gib", size_in_gib) + + @property + @pulumi.getter(name="sizeInGib") + def size_in_gib(self) -> int: + return pulumi.get(self, "size_in_gib") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerFargatePlatformConfigurationResult(dict): + def __init__(__self__, *, + platform_version: str): + """ + :param str platform_version: The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. + """ + pulumi.set(__self__, "platform_version", platform_version) + + @property + @pulumi.getter(name="platformVersion") + def platform_version(self) -> str: + """ + The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. + """ + return pulumi.get(self, "platform_version") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterResult(dict): + def __init__(__self__, *, + devices: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceResult'], + init_process_enabled: bool, + max_swap: int, + shared_memory_size: int, + swappiness: int, + tmpfs: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfResult']): + """ + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceArgs'] devices: Any of the host devices to expose to the container. + :param bool init_process_enabled: If true, run an init process inside the container that forwards signals and reaps processes. + :param int max_swap: The total amount of swap memory (in MiB) a container can use. + :param int shared_memory_size: The value for the size (in MiB) of the `/dev/shm` volume. + :param int swappiness: You can use this parameter to tune a container's memory swappiness behavior. + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfArgs'] tmpfs: The container path, mount options, and size (in MiB) of the tmpfs mount. + """ + pulumi.set(__self__, "devices", devices) + pulumi.set(__self__, "init_process_enabled", init_process_enabled) + pulumi.set(__self__, "max_swap", max_swap) + pulumi.set(__self__, "shared_memory_size", shared_memory_size) + pulumi.set(__self__, "swappiness", swappiness) + pulumi.set(__self__, "tmpfs", tmpfs) + + @property + @pulumi.getter + def devices(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceResult']: + """ + Any of the host devices to expose to the container. + """ + return pulumi.get(self, "devices") + + @property + @pulumi.getter(name="initProcessEnabled") + def init_process_enabled(self) -> bool: + """ + If true, run an init process inside the container that forwards signals and reaps processes. + """ + return pulumi.get(self, "init_process_enabled") + + @property + @pulumi.getter(name="maxSwap") + def max_swap(self) -> int: + """ + The total amount of swap memory (in MiB) a container can use. + """ + return pulumi.get(self, "max_swap") + + @property + @pulumi.getter(name="sharedMemorySize") + def shared_memory_size(self) -> int: + """ + The value for the size (in MiB) of the `/dev/shm` volume. + """ + return pulumi.get(self, "shared_memory_size") + + @property + @pulumi.getter + def swappiness(self) -> int: + """ + You can use this parameter to tune a container's memory swappiness behavior. + """ + return pulumi.get(self, "swappiness") + + @property + @pulumi.getter + def tmpfs(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfResult']: + """ + The container path, mount options, and size (in MiB) of the tmpfs mount. + """ + return pulumi.get(self, "tmpfs") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterDeviceResult(dict): + def __init__(__self__, *, + container_path: str, + host_path: str, + permissions: Sequence[str]): + """ + :param str container_path: The absolute file path in the container where the tmpfs volume is mounted. + :param str host_path: The path for the device on the host container instance. + :param Sequence[str] permissions: The explicit permissions to provide to the container for the device. + """ + pulumi.set(__self__, "container_path", container_path) + pulumi.set(__self__, "host_path", host_path) + pulumi.set(__self__, "permissions", permissions) + + @property + @pulumi.getter(name="containerPath") + def container_path(self) -> str: + """ + The absolute file path in the container where the tmpfs volume is mounted. + """ + return pulumi.get(self, "container_path") + + @property + @pulumi.getter(name="hostPath") + def host_path(self) -> str: + """ + The path for the device on the host container instance. + """ + return pulumi.get(self, "host_path") + + @property + @pulumi.getter + def permissions(self) -> Sequence[str]: + """ + The explicit permissions to provide to the container for the device. + """ + return pulumi.get(self, "permissions") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerLinuxParameterTmpfResult(dict): + def __init__(__self__, *, + container_path: str, + mount_options: Sequence[str], + size: int): + """ + :param str container_path: The absolute file path in the container where the tmpfs volume is mounted. + :param Sequence[str] mount_options: The list of tmpfs volume mount options. + :param int size: The size (in MiB) of the tmpfs volume. + """ + pulumi.set(__self__, "container_path", container_path) + pulumi.set(__self__, "mount_options", mount_options) + pulumi.set(__self__, "size", size) + + @property + @pulumi.getter(name="containerPath") + def container_path(self) -> str: + """ + The absolute file path in the container where the tmpfs volume is mounted. + """ + return pulumi.get(self, "container_path") + + @property + @pulumi.getter(name="mountOptions") + def mount_options(self) -> Sequence[str]: + """ + The list of tmpfs volume mount options. + """ + return pulumi.get(self, "mount_options") + + @property + @pulumi.getter + def size(self) -> int: + """ + The size (in MiB) of the tmpfs volume. + """ + return pulumi.get(self, "size") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationResult(dict): + def __init__(__self__, *, + log_driver: str, + options: Mapping[str, Any], + secret_options: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionResult']): """ - :param int main_node: Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes. - :param Sequence[Any] node_range_properties: A list of node ranges and their properties that are associated with a multi-node parallel job. - :param int num_nodes: The number of nodes that are associated with a multi-node parallel job. + :param str log_driver: The log driver to use for the container. + :param Mapping[str, Any] options: The configuration options to send to the log driver. + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionArgs'] secret_options: The secrets to pass to the log configuration. """ - pulumi.set(__self__, "main_node", main_node) - pulumi.set(__self__, "node_range_properties", node_range_properties) - pulumi.set(__self__, "num_nodes", num_nodes) + pulumi.set(__self__, "log_driver", log_driver) + pulumi.set(__self__, "options", options) + pulumi.set(__self__, "secret_options", secret_options) @property - @pulumi.getter(name="mainNode") - def main_node(self) -> int: + @pulumi.getter(name="logDriver") + def log_driver(self) -> str: """ - Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes. + The log driver to use for the container. """ - return pulumi.get(self, "main_node") + return pulumi.get(self, "log_driver") @property - @pulumi.getter(name="nodeRangeProperties") - def node_range_properties(self) -> Sequence[Any]: + @pulumi.getter + def options(self) -> Mapping[str, Any]: """ - A list of node ranges and their properties that are associated with a multi-node parallel job. + The configuration options to send to the log driver. """ - return pulumi.get(self, "node_range_properties") + return pulumi.get(self, "options") @property - @pulumi.getter(name="numNodes") - def num_nodes(self) -> int: + @pulumi.getter(name="secretOptions") + def secret_options(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionResult']: """ - The number of nodes that are associated with a multi-node parallel job. + The secrets to pass to the log configuration. """ - return pulumi.get(self, "num_nodes") + return pulumi.get(self, "secret_options") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerLogConfigurationSecretOptionResult(dict): + def __init__(__self__, *, + name: str, + value_from: str): + """ + :param str name: The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + :param str value_from: The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "value_from", value_from) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="valueFrom") + def value_from(self) -> str: + """ + The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + """ + return pulumi.get(self, "value_from") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerMountPointResult(dict): + def __init__(__self__, *, + container_path: str, + read_only: bool, + source_volume: str): + """ + :param str container_path: The absolute file path in the container where the tmpfs volume is mounted. + :param bool read_only: If this value is true, the container has read-only access to the volume. + :param str source_volume: The name of the volume to mount. + """ + pulumi.set(__self__, "container_path", container_path) + pulumi.set(__self__, "read_only", read_only) + pulumi.set(__self__, "source_volume", source_volume) + + @property + @pulumi.getter(name="containerPath") + def container_path(self) -> str: + """ + The absolute file path in the container where the tmpfs volume is mounted. + """ + return pulumi.get(self, "container_path") + + @property + @pulumi.getter(name="readOnly") + def read_only(self) -> bool: + """ + If this value is true, the container has read-only access to the volume. + """ + return pulumi.get(self, "read_only") + + @property + @pulumi.getter(name="sourceVolume") + def source_volume(self) -> str: + """ + The name of the volume to mount. + """ + return pulumi.get(self, "source_volume") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerNetworkConfigurationResult(dict): + def __init__(__self__, *, + assign_public_ip: bool): + """ + :param bool assign_public_ip: Indicates whether the job has a public IP address. + """ + pulumi.set(__self__, "assign_public_ip", assign_public_ip) + + @property + @pulumi.getter(name="assignPublicIp") + def assign_public_ip(self) -> bool: + """ + Indicates whether the job has a public IP address. + """ + return pulumi.get(self, "assign_public_ip") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerResourceRequirementResult(dict): + def __init__(__self__, *, + type: str, + value: str): + """ + :param str type: The type of resource to assign to a container. The supported resources include `GPU`, `MEMORY`, and `VCPU`. + :param str value: The quantity of the specified resource to reserve for the container. + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of resource to assign to a container. The supported resources include `GPU`, `MEMORY`, and `VCPU`. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def value(self) -> str: + """ + The quantity of the specified resource to reserve for the container. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerRuntimePlatformResult(dict): + def __init__(__self__, *, + cpu_architecture: str, + operating_system_family: str): + """ + :param str cpu_architecture: The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64. + :param str operating_system_family: The operating system for the compute environment. V + """ + pulumi.set(__self__, "cpu_architecture", cpu_architecture) + pulumi.set(__self__, "operating_system_family", operating_system_family) + + @property + @pulumi.getter(name="cpuArchitecture") + def cpu_architecture(self) -> str: + """ + The vCPU architecture. The default value is X86_64. Valid values are X86_64 and ARM64. + """ + return pulumi.get(self, "cpu_architecture") + + @property + @pulumi.getter(name="operatingSystemFamily") + def operating_system_family(self) -> str: + """ + The operating system for the compute environment. V + """ + return pulumi.get(self, "operating_system_family") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerSecretResult(dict): + def __init__(__self__, *, + name: str, + value_from: str): + """ + :param str name: The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + :param str value_from: The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "value_from", value_from) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="valueFrom") + def value_from(self) -> str: + """ + The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + """ + return pulumi.get(self, "value_from") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerUlimitResult(dict): + def __init__(__self__, *, + hard_limit: int, + name: str, + soft_limit: int): + """ + :param int hard_limit: The hard limit for the ulimit type. + :param str name: The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + :param int soft_limit: The soft limit for the ulimit type. + """ + pulumi.set(__self__, "hard_limit", hard_limit) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "soft_limit", soft_limit) + + @property + @pulumi.getter(name="hardLimit") + def hard_limit(self) -> int: + """ + The hard limit for the ulimit type. + """ + return pulumi.get(self, "hard_limit") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="softLimit") + def soft_limit(self) -> int: + """ + The soft limit for the ulimit type. + """ + return pulumi.get(self, "soft_limit") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeResult(dict): + def __init__(__self__, *, + efs_volume_configurations: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationResult'], + hosts: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostResult'], + name: str): + """ + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationArgs'] efs_volume_configurations: This parameter is specified when you're using an Amazon Elastic File System file system for job storage. + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostArgs'] hosts: The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored. + :param str name: The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + """ + pulumi.set(__self__, "efs_volume_configurations", efs_volume_configurations) + pulumi.set(__self__, "hosts", hosts) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="efsVolumeConfigurations") + def efs_volume_configurations(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationResult']: + """ + This parameter is specified when you're using an Amazon Elastic File System file system for job storage. + """ + return pulumi.get(self, "efs_volume_configurations") + + @property + @pulumi.getter + def hosts(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostResult']: + """ + The contents of the host parameter determine whether your data volume persists on the host container instance and where it's stored. + """ + return pulumi.get(self, "hosts") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationResult(dict): + def __init__(__self__, *, + authorization_configs: Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigResult'], + file_system_id: str, + root_directory: str, + transit_encryption: str, + transit_encryption_port: int): + """ + :param Sequence['GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigArgs'] authorization_configs: The authorization configuration details for the Amazon EFS file system. + :param str file_system_id: The Amazon EFS file system ID to use. + :param str root_directory: The directory within the Amazon EFS file system to mount as the root directory inside the host. + :param str transit_encryption: Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server + :param int transit_encryption_port: The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. + """ + pulumi.set(__self__, "authorization_configs", authorization_configs) + pulumi.set(__self__, "file_system_id", file_system_id) + pulumi.set(__self__, "root_directory", root_directory) + pulumi.set(__self__, "transit_encryption", transit_encryption) + pulumi.set(__self__, "transit_encryption_port", transit_encryption_port) + + @property + @pulumi.getter(name="authorizationConfigs") + def authorization_configs(self) -> Sequence['outputs.GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigResult']: + """ + The authorization configuration details for the Amazon EFS file system. + """ + return pulumi.get(self, "authorization_configs") + + @property + @pulumi.getter(name="fileSystemId") + def file_system_id(self) -> str: + """ + The Amazon EFS file system ID to use. + """ + return pulumi.get(self, "file_system_id") + + @property + @pulumi.getter(name="rootDirectory") + def root_directory(self) -> str: + """ + The directory within the Amazon EFS file system to mount as the root directory inside the host. + """ + return pulumi.get(self, "root_directory") + + @property + @pulumi.getter(name="transitEncryption") + def transit_encryption(self) -> str: + """ + Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server + """ + return pulumi.get(self, "transit_encryption") + + @property + @pulumi.getter(name="transitEncryptionPort") + def transit_encryption_port(self) -> int: + """ + The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. + """ + return pulumi.get(self, "transit_encryption_port") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeEfsVolumeConfigurationAuthorizationConfigResult(dict): + def __init__(__self__, *, + access_point_id: str, + iam: str): + """ + :param str access_point_id: The Amazon EFS access point ID to use. + :param str iam: Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. + """ + pulumi.set(__self__, "access_point_id", access_point_id) + pulumi.set(__self__, "iam", iam) + + @property + @pulumi.getter(name="accessPointId") + def access_point_id(self) -> str: + """ + The Amazon EFS access point ID to use. + """ + return pulumi.get(self, "access_point_id") + + @property + @pulumi.getter + def iam(self) -> str: + """ + Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. + """ + return pulumi.get(self, "iam") + + +@pulumi.output_type +class GetJobDefinitionNodePropertyNodeRangePropertyContainerVolumeHostResult(dict): + def __init__(__self__, *, + source_path: str): + """ + :param str source_path: The path on the host container instance that's presented to the container. + """ + pulumi.set(__self__, "source_path", source_path) + + @property + @pulumi.getter(name="sourcePath") + def source_path(self) -> str: + """ + The path on the host container instance that's presented to the container. + """ + return pulumi.get(self, "source_path") @pulumi.output_type class GetJobDefinitionRetryStrategyResult(dict): def __init__(__self__, *, attempts: int, - evaluate_on_exits: Sequence[Any]): + evaluate_on_exits: Sequence['outputs.GetJobDefinitionRetryStrategyEvaluateOnExitResult']): """ :param int attempts: The number of times to move a job to the RUNNABLE status. - :param Sequence[Any] evaluate_on_exits: Array of up to 5 objects that specify the conditions where jobs are retried or failed. + :param Sequence['GetJobDefinitionRetryStrategyEvaluateOnExitArgs'] evaluate_on_exits: Array of up to 5 objects that specify the conditions where jobs are retried or failed. """ pulumi.set(__self__, "attempts", attempts) pulumi.set(__self__, "evaluate_on_exits", evaluate_on_exits) @@ -1551,13 +2934,64 @@ def attempts(self) -> int: @property @pulumi.getter(name="evaluateOnExits") - def evaluate_on_exits(self) -> Sequence[Any]: + def evaluate_on_exits(self) -> Sequence['outputs.GetJobDefinitionRetryStrategyEvaluateOnExitResult']: """ Array of up to 5 objects that specify the conditions where jobs are retried or failed. """ return pulumi.get(self, "evaluate_on_exits") +@pulumi.output_type +class GetJobDefinitionRetryStrategyEvaluateOnExitResult(dict): + def __init__(__self__, *, + action: str, + on_exit_code: str, + on_reason: str, + on_status_reason: str): + """ + :param str action: Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive. + :param str on_exit_code: Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job. + :param str on_reason: Contains a glob pattern to match against the Reason returned for a job. + :param str on_status_reason: Contains a glob pattern to match against the StatusReason returned for a job. + """ + pulumi.set(__self__, "action", action) + pulumi.set(__self__, "on_exit_code", on_exit_code) + pulumi.set(__self__, "on_reason", on_reason) + pulumi.set(__self__, "on_status_reason", on_status_reason) + + @property + @pulumi.getter + def action(self) -> str: + """ + Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met. The values aren't case sensitive. + """ + return pulumi.get(self, "action") + + @property + @pulumi.getter(name="onExitCode") + def on_exit_code(self) -> str: + """ + Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job. + """ + return pulumi.get(self, "on_exit_code") + + @property + @pulumi.getter(name="onReason") + def on_reason(self) -> str: + """ + Contains a glob pattern to match against the Reason returned for a job. + """ + return pulumi.get(self, "on_reason") + + @property + @pulumi.getter(name="onStatusReason") + def on_status_reason(self) -> str: + """ + Contains a glob pattern to match against the StatusReason returned for a job. + """ + return pulumi.get(self, "on_status_reason") + + @pulumi.output_type class GetJobDefinitionTimeoutResult(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws/bedrock/_inputs.py b/sdk/python/pulumi_aws/bedrock/_inputs.py index 841e27f03aa..f97a3e478cb 100644 --- a/sdk/python/pulumi_aws/bedrock/_inputs.py +++ b/sdk/python/pulumi_aws/bedrock/_inputs.py @@ -27,6 +27,10 @@ 'AgentAgentAliasTimeoutsArgsDict', 'AgentAgentPromptOverrideConfigurationArgs', 'AgentAgentPromptOverrideConfigurationArgsDict', + 'AgentAgentPromptOverrideConfigurationPromptConfigurationArgs', + 'AgentAgentPromptOverrideConfigurationPromptConfigurationArgsDict', + 'AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs', + 'AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgsDict', 'AgentAgentTimeoutsArgs', 'AgentAgentTimeoutsArgsDict', 'AgentDataSourceDataSourceConfigurationArgs', @@ -334,7 +338,7 @@ class AgentAgentPromptOverrideConfigurationArgsDict(TypedDict): """ ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the `prompt_configurations` block must contain a `parser_mode` value that is set to `OVERRIDDEN`. """ - prompt_configurations: pulumi.Input[Sequence[Any]] + prompt_configurations: pulumi.Input[Sequence[pulumi.Input['AgentAgentPromptOverrideConfigurationPromptConfigurationArgsDict']]] """ Configurations to override a prompt template in one part of an agent sequence. See `prompt_configurations` block for details. """ @@ -345,10 +349,10 @@ class AgentAgentPromptOverrideConfigurationArgsDict(TypedDict): class AgentAgentPromptOverrideConfigurationArgs: def __init__(__self__, *, override_lambda: pulumi.Input[str], - prompt_configurations: pulumi.Input[Sequence[Any]]): + prompt_configurations: pulumi.Input[Sequence[pulumi.Input['AgentAgentPromptOverrideConfigurationPromptConfigurationArgs']]]): """ :param pulumi.Input[str] override_lambda: ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the `prompt_configurations` block must contain a `parser_mode` value that is set to `OVERRIDDEN`. - :param pulumi.Input[Sequence[Any]] prompt_configurations: Configurations to override a prompt template in one part of an agent sequence. See `prompt_configurations` block for details. + :param pulumi.Input[Sequence[pulumi.Input['AgentAgentPromptOverrideConfigurationPromptConfigurationArgs']]] prompt_configurations: Configurations to override a prompt template in one part of an agent sequence. See `prompt_configurations` block for details. """ pulumi.set(__self__, "override_lambda", override_lambda) pulumi.set(__self__, "prompt_configurations", prompt_configurations) @@ -367,17 +371,250 @@ def override_lambda(self, value: pulumi.Input[str]): @property @pulumi.getter(name="promptConfigurations") - def prompt_configurations(self) -> pulumi.Input[Sequence[Any]]: + def prompt_configurations(self) -> pulumi.Input[Sequence[pulumi.Input['AgentAgentPromptOverrideConfigurationPromptConfigurationArgs']]]: """ Configurations to override a prompt template in one part of an agent sequence. See `prompt_configurations` block for details. """ return pulumi.get(self, "prompt_configurations") @prompt_configurations.setter - def prompt_configurations(self, value: pulumi.Input[Sequence[Any]]): + def prompt_configurations(self, value: pulumi.Input[Sequence[pulumi.Input['AgentAgentPromptOverrideConfigurationPromptConfigurationArgs']]]): pulumi.set(self, "prompt_configurations", value) +if not MYPY: + class AgentAgentPromptOverrideConfigurationPromptConfigurationArgsDict(TypedDict): + base_prompt_template: pulumi.Input[str] + """ + prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + """ + inference_configurations: pulumi.Input[Sequence[pulumi.Input['AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgsDict']]] + """ + Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `prompt_type`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inference_configuration` block for details. + """ + parser_mode: pulumi.Input[str] + """ + Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `prompt_type`. If you set the argument as `OVERRIDDEN`, the `override_lambda` argument in the `prompt_override_configuration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + """ + prompt_creation_mode: pulumi.Input[str] + """ + Whether to override the default prompt template for this `prompt_type`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `base_prompt_template`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + """ + prompt_state: pulumi.Input[str] + """ + Whether to allow the agent to carry out the step specified in the `prompt_type`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + """ + prompt_type: pulumi.Input[str] + """ + Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + """ +elif False: + AgentAgentPromptOverrideConfigurationPromptConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AgentAgentPromptOverrideConfigurationPromptConfigurationArgs: + def __init__(__self__, *, + base_prompt_template: pulumi.Input[str], + inference_configurations: pulumi.Input[Sequence[pulumi.Input['AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs']]], + parser_mode: pulumi.Input[str], + prompt_creation_mode: pulumi.Input[str], + prompt_state: pulumi.Input[str], + prompt_type: pulumi.Input[str]): + """ + :param pulumi.Input[str] base_prompt_template: prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + :param pulumi.Input[Sequence[pulumi.Input['AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs']]] inference_configurations: Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `prompt_type`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inference_configuration` block for details. + :param pulumi.Input[str] parser_mode: Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `prompt_type`. If you set the argument as `OVERRIDDEN`, the `override_lambda` argument in the `prompt_override_configuration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + :param pulumi.Input[str] prompt_creation_mode: Whether to override the default prompt template for this `prompt_type`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `base_prompt_template`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + :param pulumi.Input[str] prompt_state: Whether to allow the agent to carry out the step specified in the `prompt_type`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + :param pulumi.Input[str] prompt_type: Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + """ + pulumi.set(__self__, "base_prompt_template", base_prompt_template) + pulumi.set(__self__, "inference_configurations", inference_configurations) + pulumi.set(__self__, "parser_mode", parser_mode) + pulumi.set(__self__, "prompt_creation_mode", prompt_creation_mode) + pulumi.set(__self__, "prompt_state", prompt_state) + pulumi.set(__self__, "prompt_type", prompt_type) + + @property + @pulumi.getter(name="basePromptTemplate") + def base_prompt_template(self) -> pulumi.Input[str]: + """ + prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + """ + return pulumi.get(self, "base_prompt_template") + + @base_prompt_template.setter + def base_prompt_template(self, value: pulumi.Input[str]): + pulumi.set(self, "base_prompt_template", value) + + @property + @pulumi.getter(name="inferenceConfigurations") + def inference_configurations(self) -> pulumi.Input[Sequence[pulumi.Input['AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs']]]: + """ + Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `prompt_type`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inference_configuration` block for details. + """ + return pulumi.get(self, "inference_configurations") + + @inference_configurations.setter + def inference_configurations(self, value: pulumi.Input[Sequence[pulumi.Input['AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs']]]): + pulumi.set(self, "inference_configurations", value) + + @property + @pulumi.getter(name="parserMode") + def parser_mode(self) -> pulumi.Input[str]: + """ + Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `prompt_type`. If you set the argument as `OVERRIDDEN`, the `override_lambda` argument in the `prompt_override_configuration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + """ + return pulumi.get(self, "parser_mode") + + @parser_mode.setter + def parser_mode(self, value: pulumi.Input[str]): + pulumi.set(self, "parser_mode", value) + + @property + @pulumi.getter(name="promptCreationMode") + def prompt_creation_mode(self) -> pulumi.Input[str]: + """ + Whether to override the default prompt template for this `prompt_type`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `base_prompt_template`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + """ + return pulumi.get(self, "prompt_creation_mode") + + @prompt_creation_mode.setter + def prompt_creation_mode(self, value: pulumi.Input[str]): + pulumi.set(self, "prompt_creation_mode", value) + + @property + @pulumi.getter(name="promptState") + def prompt_state(self) -> pulumi.Input[str]: + """ + Whether to allow the agent to carry out the step specified in the `prompt_type`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + """ + return pulumi.get(self, "prompt_state") + + @prompt_state.setter + def prompt_state(self, value: pulumi.Input[str]): + pulumi.set(self, "prompt_state", value) + + @property + @pulumi.getter(name="promptType") + def prompt_type(self) -> pulumi.Input[str]: + """ + Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + """ + return pulumi.get(self, "prompt_type") + + @prompt_type.setter + def prompt_type(self, value: pulumi.Input[str]): + pulumi.set(self, "prompt_type", value) + + +if not MYPY: + class AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgsDict(TypedDict): + max_length: pulumi.Input[int] + """ + Maximum number of tokens to allow in the generated response. + """ + stop_sequences: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + """ + temperature: pulumi.Input[float] + """ + Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + """ + top_k: pulumi.Input[int] + """ + Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + """ + top_p: pulumi.Input[float] + """ + Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + """ +elif False: + AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs: + def __init__(__self__, *, + max_length: pulumi.Input[int], + stop_sequences: pulumi.Input[Sequence[pulumi.Input[str]]], + temperature: pulumi.Input[float], + top_k: pulumi.Input[int], + top_p: pulumi.Input[float]): + """ + :param pulumi.Input[int] max_length: Maximum number of tokens to allow in the generated response. + :param pulumi.Input[Sequence[pulumi.Input[str]]] stop_sequences: List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + :param pulumi.Input[float] temperature: Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + :param pulumi.Input[int] top_k: Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + :param pulumi.Input[float] top_p: Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + """ + pulumi.set(__self__, "max_length", max_length) + pulumi.set(__self__, "stop_sequences", stop_sequences) + pulumi.set(__self__, "temperature", temperature) + pulumi.set(__self__, "top_k", top_k) + pulumi.set(__self__, "top_p", top_p) + + @property + @pulumi.getter(name="maxLength") + def max_length(self) -> pulumi.Input[int]: + """ + Maximum number of tokens to allow in the generated response. + """ + return pulumi.get(self, "max_length") + + @max_length.setter + def max_length(self, value: pulumi.Input[int]): + pulumi.set(self, "max_length", value) + + @property + @pulumi.getter(name="stopSequences") + def stop_sequences(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + """ + return pulumi.get(self, "stop_sequences") + + @stop_sequences.setter + def stop_sequences(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "stop_sequences", value) + + @property + @pulumi.getter + def temperature(self) -> pulumi.Input[float]: + """ + Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + """ + return pulumi.get(self, "temperature") + + @temperature.setter + def temperature(self, value: pulumi.Input[float]): + pulumi.set(self, "temperature", value) + + @property + @pulumi.getter(name="topK") + def top_k(self) -> pulumi.Input[int]: + """ + Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + """ + return pulumi.get(self, "top_k") + + @top_k.setter + def top_k(self, value: pulumi.Input[int]): + pulumi.set(self, "top_k", value) + + @property + @pulumi.getter(name="topP") + def top_p(self) -> pulumi.Input[float]: + """ + Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + """ + return pulumi.get(self, "top_p") + + @top_p.setter + def top_p(self, value: pulumi.Input[float]): + pulumi.set(self, "top_p", value) + + if not MYPY: class AgentAgentTimeoutsArgsDict(TypedDict): create: NotRequired[pulumi.Input[str]] diff --git a/sdk/python/pulumi_aws/bedrock/outputs.py b/sdk/python/pulumi_aws/bedrock/outputs.py index 7aed2c872ea..14ebfa24bcf 100644 --- a/sdk/python/pulumi_aws/bedrock/outputs.py +++ b/sdk/python/pulumi_aws/bedrock/outputs.py @@ -22,6 +22,8 @@ 'AgentAgentAliasRoutingConfiguration', 'AgentAgentAliasTimeouts', 'AgentAgentPromptOverrideConfiguration', + 'AgentAgentPromptOverrideConfigurationPromptConfiguration', + 'AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration', 'AgentAgentTimeouts', 'AgentDataSourceDataSourceConfiguration', 'AgentDataSourceDataSourceConfigurationS3Configuration', @@ -55,6 +57,7 @@ 'GetCustomModelTrainingDataConfigResult', 'GetCustomModelTrainingMetricResult', 'GetCustomModelValidationDataConfigResult', + 'GetCustomModelValidationDataConfigValidatorResult', 'GetCustomModelValidationMetricResult', 'GetCustomModelsModelSummaryResult', ] @@ -277,10 +280,10 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, override_lambda: str, - prompt_configurations: Sequence[Any]): + prompt_configurations: Sequence['outputs.AgentAgentPromptOverrideConfigurationPromptConfiguration']): """ :param str override_lambda: ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. If you specify this field, at least one of the `prompt_configurations` block must contain a `parser_mode` value that is set to `OVERRIDDEN`. - :param Sequence[Any] prompt_configurations: Configurations to override a prompt template in one part of an agent sequence. See `prompt_configurations` block for details. + :param Sequence['AgentAgentPromptOverrideConfigurationPromptConfigurationArgs'] prompt_configurations: Configurations to override a prompt template in one part of an agent sequence. See `prompt_configurations` block for details. """ pulumi.set(__self__, "override_lambda", override_lambda) pulumi.set(__self__, "prompt_configurations", prompt_configurations) @@ -295,13 +298,198 @@ def override_lambda(self) -> str: @property @pulumi.getter(name="promptConfigurations") - def prompt_configurations(self) -> Sequence[Any]: + def prompt_configurations(self) -> Sequence['outputs.AgentAgentPromptOverrideConfigurationPromptConfiguration']: """ Configurations to override a prompt template in one part of an agent sequence. See `prompt_configurations` block for details. """ return pulumi.get(self, "prompt_configurations") +@pulumi.output_type +class AgentAgentPromptOverrideConfigurationPromptConfiguration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "basePromptTemplate": + suggest = "base_prompt_template" + elif key == "inferenceConfigurations": + suggest = "inference_configurations" + elif key == "parserMode": + suggest = "parser_mode" + elif key == "promptCreationMode": + suggest = "prompt_creation_mode" + elif key == "promptState": + suggest = "prompt_state" + elif key == "promptType": + suggest = "prompt_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AgentAgentPromptOverrideConfigurationPromptConfiguration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AgentAgentPromptOverrideConfigurationPromptConfiguration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AgentAgentPromptOverrideConfigurationPromptConfiguration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + base_prompt_template: str, + inference_configurations: Sequence['outputs.AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration'], + parser_mode: str, + prompt_creation_mode: str, + prompt_state: str, + prompt_type: str): + """ + :param str base_prompt_template: prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + :param Sequence['AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs'] inference_configurations: Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `prompt_type`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inference_configuration` block for details. + :param str parser_mode: Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `prompt_type`. If you set the argument as `OVERRIDDEN`, the `override_lambda` argument in the `prompt_override_configuration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + :param str prompt_creation_mode: Whether to override the default prompt template for this `prompt_type`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `base_prompt_template`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + :param str prompt_state: Whether to allow the agent to carry out the step specified in the `prompt_type`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + :param str prompt_type: Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + """ + pulumi.set(__self__, "base_prompt_template", base_prompt_template) + pulumi.set(__self__, "inference_configurations", inference_configurations) + pulumi.set(__self__, "parser_mode", parser_mode) + pulumi.set(__self__, "prompt_creation_mode", prompt_creation_mode) + pulumi.set(__self__, "prompt_state", prompt_state) + pulumi.set(__self__, "prompt_type", prompt_type) + + @property + @pulumi.getter(name="basePromptTemplate") + def base_prompt_template(self) -> str: + """ + prompt template with which to replace the default prompt template. You can use placeholder variables in the base prompt template to customize the prompt. For more information, see [Prompt template placeholder variables](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). + """ + return pulumi.get(self, "base_prompt_template") + + @property + @pulumi.getter(name="inferenceConfigurations") + def inference_configurations(self) -> Sequence['outputs.AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration']: + """ + Inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `prompt_type`. For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). See `inference_configuration` block for details. + """ + return pulumi.get(self, "inference_configurations") + + @property + @pulumi.getter(name="parserMode") + def parser_mode(self) -> str: + """ + Whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `prompt_type`. If you set the argument as `OVERRIDDEN`, the `override_lambda` argument in the `prompt_override_configuration` block must be specified with the ARN of a Lambda function. Valid values: `DEFAULT`, `OVERRIDDEN`. + """ + return pulumi.get(self, "parser_mode") + + @property + @pulumi.getter(name="promptCreationMode") + def prompt_creation_mode(self) -> str: + """ + Whether to override the default prompt template for this `prompt_type`. Set this argument to `OVERRIDDEN` to use the prompt that you provide in the `base_prompt_template`. If you leave it as `DEFAULT`, the agent uses a default prompt template. Valid values: `DEFAULT`, `OVERRIDDEN`. + """ + return pulumi.get(self, "prompt_creation_mode") + + @property + @pulumi.getter(name="promptState") + def prompt_state(self) -> str: + """ + Whether to allow the agent to carry out the step specified in the `prompt_type`. If you set this argument to `DISABLED`, the agent skips that step. Valid Values: `ENABLED`, `DISABLED`. + """ + return pulumi.get(self, "prompt_state") + + @property + @pulumi.getter(name="promptType") + def prompt_type(self) -> str: + """ + Step in the agent sequence that this prompt configuration applies to. Valid values: `PRE_PROCESSING`, `ORCHESTRATION`, `POST_PROCESSING`, `KNOWLEDGE_BASE_RESPONSE_GENERATION`. + """ + return pulumi.get(self, "prompt_type") + + +@pulumi.output_type +class AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "maxLength": + suggest = "max_length" + elif key == "stopSequences": + suggest = "stop_sequences" + elif key == "topK": + suggest = "top_k" + elif key == "topP": + suggest = "top_p" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfiguration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + max_length: int, + stop_sequences: Sequence[str], + temperature: float, + top_k: int, + top_p: float): + """ + :param int max_length: Maximum number of tokens to allow in the generated response. + :param Sequence[str] stop_sequences: List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + :param float temperature: Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + :param int top_k: Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + :param float top_p: Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + """ + pulumi.set(__self__, "max_length", max_length) + pulumi.set(__self__, "stop_sequences", stop_sequences) + pulumi.set(__self__, "temperature", temperature) + pulumi.set(__self__, "top_k", top_k) + pulumi.set(__self__, "top_p", top_p) + + @property + @pulumi.getter(name="maxLength") + def max_length(self) -> int: + """ + Maximum number of tokens to allow in the generated response. + """ + return pulumi.get(self, "max_length") + + @property + @pulumi.getter(name="stopSequences") + def stop_sequences(self) -> Sequence[str]: + """ + List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response. + """ + return pulumi.get(self, "stop_sequences") + + @property + @pulumi.getter + def temperature(self) -> float: + """ + Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options. + """ + return pulumi.get(self, "temperature") + + @property + @pulumi.getter(name="topK") + def top_k(self) -> int: + """ + Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence. + """ + return pulumi.get(self, "top_k") + + @property + @pulumi.getter(name="topP") + def top_p(self) -> float: + """ + Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence. + """ + return pulumi.get(self, "top_p") + + @pulumi.output_type class AgentAgentTimeouts(dict): def __init__(__self__, *, @@ -1753,21 +1941,39 @@ def training_loss(self) -> float: @pulumi.output_type class GetCustomModelValidationDataConfigResult(dict): def __init__(__self__, *, - validators: Sequence[Any]): + validators: Sequence['outputs.GetCustomModelValidationDataConfigValidatorResult']): """ - :param Sequence[Any] validators: Information about the validators. + :param Sequence['GetCustomModelValidationDataConfigValidatorArgs'] validators: Information about the validators. """ pulumi.set(__self__, "validators", validators) @property @pulumi.getter - def validators(self) -> Sequence[Any]: + def validators(self) -> Sequence['outputs.GetCustomModelValidationDataConfigValidatorResult']: """ Information about the validators. """ return pulumi.get(self, "validators") +@pulumi.output_type +class GetCustomModelValidationDataConfigValidatorResult(dict): + def __init__(__self__, *, + s3_uri: str): + """ + :param str s3_uri: The S3 URI where the validation data is stored.. + """ + pulumi.set(__self__, "s3_uri", s3_uri) + + @property + @pulumi.getter(name="s3Uri") + def s3_uri(self) -> str: + """ + The S3 URI where the validation data is stored.. + """ + return pulumi.get(self, "s3_uri") + + @pulumi.output_type class GetCustomModelValidationMetricResult(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws/bedrockfoundation/outputs.py b/sdk/python/pulumi_aws/bedrockfoundation/outputs.py index 967d954db71..3c7935e3486 100644 --- a/sdk/python/pulumi_aws/bedrockfoundation/outputs.py +++ b/sdk/python/pulumi_aws/bedrockfoundation/outputs.py @@ -21,23 +21,23 @@ @pulumi.output_type class GetModelsModelSummaryResult(dict): def __init__(__self__, *, - customizations_supporteds: Sequence[Any], - inference_types_supporteds: Sequence[Any], - input_modalities: Sequence[Any], + customizations_supporteds: Sequence[str], + inference_types_supporteds: Sequence[str], + input_modalities: Sequence[str], model_arn: str, model_id: str, model_name: str, - output_modalities: Sequence[Any], + output_modalities: Sequence[str], provider_name: str, response_streaming_supported: bool): """ - :param Sequence[Any] customizations_supporteds: Customizations that the model supports. - :param Sequence[Any] inference_types_supporteds: Inference types that the model supports. - :param Sequence[Any] input_modalities: Input modalities that the model supports. + :param Sequence[str] customizations_supporteds: Customizations that the model supports. + :param Sequence[str] inference_types_supporteds: Inference types that the model supports. + :param Sequence[str] input_modalities: Input modalities that the model supports. :param str model_arn: Model ARN. :param str model_id: Model identifier. :param str model_name: Model name. - :param Sequence[Any] output_modalities: Output modalities that the model supports. + :param Sequence[str] output_modalities: Output modalities that the model supports. :param str provider_name: Model provider name. :param bool response_streaming_supported: Indicates whether the model supports streaming. """ @@ -53,7 +53,7 @@ def __init__(__self__, *, @property @pulumi.getter(name="customizationsSupporteds") - def customizations_supporteds(self) -> Sequence[Any]: + def customizations_supporteds(self) -> Sequence[str]: """ Customizations that the model supports. """ @@ -61,7 +61,7 @@ def customizations_supporteds(self) -> Sequence[Any]: @property @pulumi.getter(name="inferenceTypesSupporteds") - def inference_types_supporteds(self) -> Sequence[Any]: + def inference_types_supporteds(self) -> Sequence[str]: """ Inference types that the model supports. """ @@ -69,7 +69,7 @@ def inference_types_supporteds(self) -> Sequence[Any]: @property @pulumi.getter(name="inputModalities") - def input_modalities(self) -> Sequence[Any]: + def input_modalities(self) -> Sequence[str]: """ Input modalities that the model supports. """ @@ -101,7 +101,7 @@ def model_name(self) -> str: @property @pulumi.getter(name="outputModalities") - def output_modalities(self) -> Sequence[Any]: + def output_modalities(self) -> Sequence[str]: """ Output modalities that the model supports. """ diff --git a/sdk/python/pulumi_aws/codeguruprofiler/outputs.py b/sdk/python/pulumi_aws/codeguruprofiler/outputs.py index e2611eeda95..c5989292194 100644 --- a/sdk/python/pulumi_aws/codeguruprofiler/outputs.py +++ b/sdk/python/pulumi_aws/codeguruprofiler/outputs.py @@ -13,11 +13,13 @@ else: from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities +from . import outputs __all__ = [ 'ProfilingGroupAgentOrchestrationConfig', 'GetProfilingGroupAgentOrchestrationConfigResult', 'GetProfilingGroupProfilingStatusResult', + 'GetProfilingGroupProfilingStatusLatestAggregatedProfileResult', ] @pulumi.output_type @@ -72,7 +74,7 @@ class GetProfilingGroupProfilingStatusResult(dict): def __init__(__self__, *, latest_agent_orchestrated_at: str, latest_agent_profile_reported_at: str, - latest_aggregated_profiles: Sequence[Any]): + latest_aggregated_profiles: Sequence['outputs.GetProfilingGroupProfilingStatusLatestAggregatedProfileResult']): pulumi.set(__self__, "latest_agent_orchestrated_at", latest_agent_orchestrated_at) pulumi.set(__self__, "latest_agent_profile_reported_at", latest_agent_profile_reported_at) pulumi.set(__self__, "latest_aggregated_profiles", latest_aggregated_profiles) @@ -89,7 +91,26 @@ def latest_agent_profile_reported_at(self) -> str: @property @pulumi.getter(name="latestAggregatedProfiles") - def latest_aggregated_profiles(self) -> Sequence[Any]: + def latest_aggregated_profiles(self) -> Sequence['outputs.GetProfilingGroupProfilingStatusLatestAggregatedProfileResult']: return pulumi.get(self, "latest_aggregated_profiles") +@pulumi.output_type +class GetProfilingGroupProfilingStatusLatestAggregatedProfileResult(dict): + def __init__(__self__, *, + period: str, + start: str): + pulumi.set(__self__, "period", period) + pulumi.set(__self__, "start", start) + + @property + @pulumi.getter + def period(self) -> str: + return pulumi.get(self, "period") + + @property + @pulumi.getter + def start(self) -> str: + return pulumi.get(self, "start") + + diff --git a/sdk/python/pulumi_aws/guardduty/_inputs.py b/sdk/python/pulumi_aws/guardduty/_inputs.py index d0ed9003d9a..cc7e2c562cf 100644 --- a/sdk/python/pulumi_aws/guardduty/_inputs.py +++ b/sdk/python/pulumi_aws/guardduty/_inputs.py @@ -37,6 +37,8 @@ 'FilterFindingCriteriaCriterionArgsDict', 'MalwareProtectionPlanActionArgs', 'MalwareProtectionPlanActionArgsDict', + 'MalwareProtectionPlanActionTaggingArgs', + 'MalwareProtectionPlanActionTaggingArgsDict', 'MalwareProtectionPlanProtectedResourceArgs', 'MalwareProtectionPlanProtectedResourceArgsDict', 'MalwareProtectionPlanProtectedResourceS3BucketArgs', @@ -571,7 +573,7 @@ def not_equals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) if not MYPY: class MalwareProtectionPlanActionArgsDict(TypedDict): - taggings: pulumi.Input[Sequence[Any]] + taggings: pulumi.Input[Sequence[pulumi.Input['MalwareProtectionPlanActionTaggingArgsDict']]] """ Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. """ @@ -581,25 +583,56 @@ class MalwareProtectionPlanActionArgsDict(TypedDict): @pulumi.input_type class MalwareProtectionPlanActionArgs: def __init__(__self__, *, - taggings: pulumi.Input[Sequence[Any]]): + taggings: pulumi.Input[Sequence[pulumi.Input['MalwareProtectionPlanActionTaggingArgs']]]): """ - :param pulumi.Input[Sequence[Any]] taggings: Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. + :param pulumi.Input[Sequence[pulumi.Input['MalwareProtectionPlanActionTaggingArgs']]] taggings: Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. """ pulumi.set(__self__, "taggings", taggings) @property @pulumi.getter - def taggings(self) -> pulumi.Input[Sequence[Any]]: + def taggings(self) -> pulumi.Input[Sequence[pulumi.Input['MalwareProtectionPlanActionTaggingArgs']]]: """ Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. """ return pulumi.get(self, "taggings") @taggings.setter - def taggings(self, value: pulumi.Input[Sequence[Any]]): + def taggings(self, value: pulumi.Input[Sequence[pulumi.Input['MalwareProtectionPlanActionTaggingArgs']]]): pulumi.set(self, "taggings", value) +if not MYPY: + class MalwareProtectionPlanActionTaggingArgsDict(TypedDict): + status: pulumi.Input[str] + """ + Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + """ +elif False: + MalwareProtectionPlanActionTaggingArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class MalwareProtectionPlanActionTaggingArgs: + def __init__(__self__, *, + status: pulumi.Input[str]): + """ + :param pulumi.Input[str] status: Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + """ + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def status(self) -> pulumi.Input[str]: + """ + Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: pulumi.Input[str]): + pulumi.set(self, "status", value) + + if not MYPY: class MalwareProtectionPlanProtectedResourceArgsDict(TypedDict): s3_bucket: NotRequired[pulumi.Input['MalwareProtectionPlanProtectedResourceS3BucketArgsDict']] diff --git a/sdk/python/pulumi_aws/guardduty/outputs.py b/sdk/python/pulumi_aws/guardduty/outputs.py index 265947cada0..4432aa93239 100644 --- a/sdk/python/pulumi_aws/guardduty/outputs.py +++ b/sdk/python/pulumi_aws/guardduty/outputs.py @@ -27,6 +27,7 @@ 'FilterFindingCriteria', 'FilterFindingCriteriaCriterion', 'MalwareProtectionPlanAction', + 'MalwareProtectionPlanActionTagging', 'MalwareProtectionPlanProtectedResource', 'MalwareProtectionPlanProtectedResourceS3Bucket', 'OrganizationConfigurationDatasources', @@ -439,21 +440,39 @@ def not_equals(self) -> Optional[Sequence[str]]: @pulumi.output_type class MalwareProtectionPlanAction(dict): def __init__(__self__, *, - taggings: Sequence[Any]): + taggings: Sequence['outputs.MalwareProtectionPlanActionTagging']): """ - :param Sequence[Any] taggings: Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. + :param Sequence['MalwareProtectionPlanActionTaggingArgs'] taggings: Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. """ pulumi.set(__self__, "taggings", taggings) @property @pulumi.getter - def taggings(self) -> Sequence[Any]: + def taggings(self) -> Sequence['outputs.MalwareProtectionPlanActionTagging']: """ Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below. """ return pulumi.get(self, "taggings") +@pulumi.output_type +class MalwareProtectionPlanActionTagging(dict): + def __init__(__self__, *, + status: str): + """ + :param str status: Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + """ + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter + def status(self) -> str: + """ + Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED` + """ + return pulumi.get(self, "status") + + @pulumi.output_type class MalwareProtectionPlanProtectedResource(dict): @staticmethod diff --git a/sdk/python/pulumi_aws/identitystore/outputs.py b/sdk/python/pulumi_aws/identitystore/outputs.py index f19d7830c61..904a0e11277 100644 --- a/sdk/python/pulumi_aws/identitystore/outputs.py +++ b/sdk/python/pulumi_aws/identitystore/outputs.py @@ -28,6 +28,7 @@ 'GetGroupExternalIdResult', 'GetGroupFilterResult', 'GetGroupsGroupResult', + 'GetGroupsGroupExternalIdResult', 'GetUserAddressResult', 'GetUserAlternateIdentifierResult', 'GetUserAlternateIdentifierExternalIdResult', @@ -571,13 +572,13 @@ class GetGroupsGroupResult(dict): def __init__(__self__, *, description: str, display_name: str, - external_ids: Sequence[Any], + external_ids: Sequence['outputs.GetGroupsGroupExternalIdResult'], group_id: str, identity_store_id: str): """ :param str description: Description of the specified group. :param str display_name: Group's display name. - :param Sequence[Any] external_ids: List of identifiers issued to this resource by an external identity provider. + :param Sequence['GetGroupsGroupExternalIdArgs'] external_ids: List of identifiers issued to this resource by an external identity provider. :param str group_id: Identifier of the group in the Identity Store. :param str identity_store_id: Identity Store ID associated with the Single Sign-On (SSO) Instance. """ @@ -605,7 +606,7 @@ def display_name(self) -> str: @property @pulumi.getter(name="externalIds") - def external_ids(self) -> Sequence[Any]: + def external_ids(self) -> Sequence['outputs.GetGroupsGroupExternalIdResult']: """ List of identifiers issued to this resource by an external identity provider. """ @@ -628,6 +629,35 @@ def identity_store_id(self) -> str: return pulumi.get(self, "identity_store_id") +@pulumi.output_type +class GetGroupsGroupExternalIdResult(dict): + def __init__(__self__, *, + id: str, + issuer: str): + """ + :param str id: Identifier issued to this resource by an external identity provider. + :param str issuer: Issuer for an external identifier. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "issuer", issuer) + + @property + @pulumi.getter + def id(self) -> str: + """ + Identifier issued to this resource by an external identity provider. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def issuer(self) -> str: + """ + Issuer for an external identifier. + """ + return pulumi.get(self, "issuer") + + @pulumi.output_type class GetUserAddressResult(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws/lex/_inputs.py b/sdk/python/pulumi_aws/lex/_inputs.py index 1d9ceeaaf85..c92fee6f09c 100644 --- a/sdk/python/pulumi_aws/lex/_inputs.py +++ b/sdk/python/pulumi_aws/lex/_inputs.py @@ -1927,6 +1927,8 @@ 'V2modelsSlotTimeoutsArgsDict', 'V2modelsSlotTypeCompositeSlotTypeSettingArgs', 'V2modelsSlotTypeCompositeSlotTypeSettingArgsDict', + 'V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs', + 'V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgsDict', 'V2modelsSlotTypeExternalSourceSettingArgs', 'V2modelsSlotTypeExternalSourceSettingArgsDict', 'V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingArgs', @@ -1935,6 +1937,8 @@ 'V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingSourceArgsDict', 'V2modelsSlotTypeSlotTypeValuesArgs', 'V2modelsSlotTypeSlotTypeValuesArgsDict', + 'V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs', + 'V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgsDict', 'V2modelsSlotTypeSlotTypeValuesSynonymArgs', 'V2modelsSlotTypeSlotTypeValuesSynonymArgsDict', 'V2modelsSlotTypeTimeoutsArgs', @@ -54409,7 +54413,7 @@ def update(self, value: Optional[pulumi.Input[str]]): if not MYPY: class V2modelsSlotTypeCompositeSlotTypeSettingArgsDict(TypedDict): - sub_slots: pulumi.Input[Sequence[Any]] + sub_slots: pulumi.Input[Sequence[pulumi.Input['V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgsDict']]] """ Subslots in the composite slot. Contains filtered or unexported fields. See [`sub_slot_type_composition` argument reference] below. """ @@ -54419,25 +54423,74 @@ class V2modelsSlotTypeCompositeSlotTypeSettingArgsDict(TypedDict): @pulumi.input_type class V2modelsSlotTypeCompositeSlotTypeSettingArgs: def __init__(__self__, *, - sub_slots: pulumi.Input[Sequence[Any]]): + sub_slots: pulumi.Input[Sequence[pulumi.Input['V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs']]]): """ - :param pulumi.Input[Sequence[Any]] sub_slots: Subslots in the composite slot. Contains filtered or unexported fields. See [`sub_slot_type_composition` argument reference] below. + :param pulumi.Input[Sequence[pulumi.Input['V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs']]] sub_slots: Subslots in the composite slot. Contains filtered or unexported fields. See [`sub_slot_type_composition` argument reference] below. """ pulumi.set(__self__, "sub_slots", sub_slots) @property @pulumi.getter(name="subSlots") - def sub_slots(self) -> pulumi.Input[Sequence[Any]]: + def sub_slots(self) -> pulumi.Input[Sequence[pulumi.Input['V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs']]]: """ Subslots in the composite slot. Contains filtered or unexported fields. See [`sub_slot_type_composition` argument reference] below. """ return pulumi.get(self, "sub_slots") @sub_slots.setter - def sub_slots(self, value: pulumi.Input[Sequence[Any]]): + def sub_slots(self, value: pulumi.Input[Sequence[pulumi.Input['V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs']]]): pulumi.set(self, "sub_slots", value) +if not MYPY: + class V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgsDict(TypedDict): + name: pulumi.Input[str] + """ + Name of the slot type + + The following arguments are optional: + """ + sub_slot_id: pulumi.Input[str] +elif False: + V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs: + def __init__(__self__, *, + name: pulumi.Input[str], + sub_slot_id: pulumi.Input[str]): + """ + :param pulumi.Input[str] name: Name of the slot type + + The following arguments are optional: + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "sub_slot_id", sub_slot_id) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + Name of the slot type + + The following arguments are optional: + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="subSlotId") + def sub_slot_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "sub_slot_id") + + @sub_slot_id.setter + def sub_slot_id(self, value: pulumi.Input[str]): + pulumi.set(self, "sub_slot_id", value) + + if not MYPY: class V2modelsSlotTypeExternalSourceSettingArgsDict(TypedDict): grammar_slot_type_setting: NotRequired[pulumi.Input['V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingArgsDict']] @@ -54550,7 +54603,7 @@ def s3_object_key(self, value: pulumi.Input[str]): if not MYPY: class V2modelsSlotTypeSlotTypeValuesArgsDict(TypedDict): - slot_type_values: pulumi.Input[Sequence[Any]] + slot_type_values: pulumi.Input[Sequence[pulumi.Input['V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgsDict']]] """ List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slot_type_values` argument reference below. """ @@ -54564,10 +54617,10 @@ class V2modelsSlotTypeSlotTypeValuesArgsDict(TypedDict): @pulumi.input_type class V2modelsSlotTypeSlotTypeValuesArgs: def __init__(__self__, *, - slot_type_values: pulumi.Input[Sequence[Any]], + slot_type_values: pulumi.Input[Sequence[pulumi.Input['V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs']]], synonyms: Optional[pulumi.Input[Sequence[pulumi.Input['V2modelsSlotTypeSlotTypeValuesSynonymArgs']]]] = None): """ - :param pulumi.Input[Sequence[Any]] slot_type_values: List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slot_type_values` argument reference below. + :param pulumi.Input[Sequence[pulumi.Input['V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs']]] slot_type_values: List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slot_type_values` argument reference below. :param pulumi.Input[Sequence[pulumi.Input['V2modelsSlotTypeSlotTypeValuesSynonymArgs']]] synonyms: Additional values related to the slot type entry. See `sample_value` argument reference below. """ pulumi.set(__self__, "slot_type_values", slot_type_values) @@ -54576,14 +54629,14 @@ def __init__(__self__, *, @property @pulumi.getter(name="slotTypeValues") - def slot_type_values(self) -> pulumi.Input[Sequence[Any]]: + def slot_type_values(self) -> pulumi.Input[Sequence[pulumi.Input['V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs']]]: """ List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slot_type_values` argument reference below. """ return pulumi.get(self, "slot_type_values") @slot_type_values.setter - def slot_type_values(self, value: pulumi.Input[Sequence[Any]]): + def slot_type_values(self, value: pulumi.Input[Sequence[pulumi.Input['V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs']]]): pulumi.set(self, "slot_type_values", value) @property @@ -54599,6 +54652,28 @@ def synonyms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['V2modelsS pulumi.set(self, "synonyms", value) +if not MYPY: + class V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgsDict(TypedDict): + value: pulumi.Input[str] +elif False: + V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs: + def __init__(__self__, *, + value: pulumi.Input[str]): + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + if not MYPY: class V2modelsSlotTypeSlotTypeValuesSynonymArgsDict(TypedDict): value: pulumi.Input[str] diff --git a/sdk/python/pulumi_aws/lex/outputs.py b/sdk/python/pulumi_aws/lex/outputs.py index 6eb1ffefb16..30447f521b5 100644 --- a/sdk/python/pulumi_aws/lex/outputs.py +++ b/sdk/python/pulumi_aws/lex/outputs.py @@ -972,10 +972,12 @@ 'V2modelsSlotObfuscationSetting', 'V2modelsSlotTimeouts', 'V2modelsSlotTypeCompositeSlotTypeSetting', + 'V2modelsSlotTypeCompositeSlotTypeSettingSubSlot', 'V2modelsSlotTypeExternalSourceSetting', 'V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSetting', 'V2modelsSlotTypeExternalSourceSettingGrammarSlotTypeSettingSource', 'V2modelsSlotTypeSlotTypeValues', + 'V2modelsSlotTypeSlotTypeValuesSlotTypeValue', 'V2modelsSlotTypeSlotTypeValuesSynonym', 'V2modelsSlotTypeTimeouts', 'V2modelsSlotTypeValueSelectionSetting', @@ -41409,21 +41411,67 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - sub_slots: Sequence[Any]): + sub_slots: Sequence['outputs.V2modelsSlotTypeCompositeSlotTypeSettingSubSlot']): """ - :param Sequence[Any] sub_slots: Subslots in the composite slot. Contains filtered or unexported fields. See [`sub_slot_type_composition` argument reference] below. + :param Sequence['V2modelsSlotTypeCompositeSlotTypeSettingSubSlotArgs'] sub_slots: Subslots in the composite slot. Contains filtered or unexported fields. See [`sub_slot_type_composition` argument reference] below. """ pulumi.set(__self__, "sub_slots", sub_slots) @property @pulumi.getter(name="subSlots") - def sub_slots(self) -> Sequence[Any]: + def sub_slots(self) -> Sequence['outputs.V2modelsSlotTypeCompositeSlotTypeSettingSubSlot']: """ Subslots in the composite slot. Contains filtered or unexported fields. See [`sub_slot_type_composition` argument reference] below. """ return pulumi.get(self, "sub_slots") +@pulumi.output_type +class V2modelsSlotTypeCompositeSlotTypeSettingSubSlot(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "subSlotId": + suggest = "sub_slot_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in V2modelsSlotTypeCompositeSlotTypeSettingSubSlot. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + V2modelsSlotTypeCompositeSlotTypeSettingSubSlot.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + V2modelsSlotTypeCompositeSlotTypeSettingSubSlot.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: str, + sub_slot_id: str): + """ + :param str name: Name of the slot type + + The following arguments are optional: + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "sub_slot_id", sub_slot_id) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the slot type + + The following arguments are optional: + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="subSlotId") + def sub_slot_id(self) -> str: + return pulumi.get(self, "sub_slot_id") + + @pulumi.output_type class V2modelsSlotTypeExternalSourceSetting(dict): @staticmethod @@ -41546,10 +41594,10 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - slot_type_values: Sequence[Any], + slot_type_values: Sequence['outputs.V2modelsSlotTypeSlotTypeValuesSlotTypeValue'], synonyms: Optional[Sequence['outputs.V2modelsSlotTypeSlotTypeValuesSynonym']] = None): """ - :param Sequence[Any] slot_type_values: List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slot_type_values` argument reference below. + :param Sequence['V2modelsSlotTypeSlotTypeValuesSlotTypeValueArgs'] slot_type_values: List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slot_type_values` argument reference below. :param Sequence['V2modelsSlotTypeSlotTypeValuesSynonymArgs'] synonyms: Additional values related to the slot type entry. See `sample_value` argument reference below. """ pulumi.set(__self__, "slot_type_values", slot_type_values) @@ -41558,7 +41606,7 @@ def __init__(__self__, *, @property @pulumi.getter(name="slotTypeValues") - def slot_type_values(self) -> Sequence[Any]: + def slot_type_values(self) -> Sequence['outputs.V2modelsSlotTypeSlotTypeValuesSlotTypeValue']: """ List of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot. See `slot_type_values` argument reference below. """ @@ -41573,6 +41621,18 @@ def synonyms(self) -> Optional[Sequence['outputs.V2modelsSlotTypeSlotTypeValuesS return pulumi.get(self, "synonyms") +@pulumi.output_type +class V2modelsSlotTypeSlotTypeValuesSlotTypeValue(dict): + def __init__(__self__, *, + value: str): + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> str: + return pulumi.get(self, "value") + + @pulumi.output_type class V2modelsSlotTypeSlotTypeValuesSynonym(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws/medialive/outputs.py b/sdk/python/pulumi_aws/medialive/outputs.py index d18971f474c..c64b1b517c1 100644 --- a/sdk/python/pulumi_aws/medialive/outputs.py +++ b/sdk/python/pulumi_aws/medialive/outputs.py @@ -187,6 +187,7 @@ 'MultiplexProgramMultiplexProgramSettingsVideoSettings', 'MultiplexProgramMultiplexProgramSettingsVideoSettingsStatmuxSettings', 'GetInputDestinationResult', + 'GetInputDestinationVpcResult', 'GetInputInputDeviceResult', 'GetInputMediaConnectFlowResult', 'GetInputSourceResult', @@ -11756,7 +11757,7 @@ def __init__(__self__, *, ip: str, port: str, url: str, - vpcs: Sequence[Any]): + vpcs: Sequence['outputs.GetInputDestinationVpcResult']): pulumi.set(__self__, "ip", ip) pulumi.set(__self__, "port", port) pulumi.set(__self__, "url", url) @@ -11779,10 +11780,29 @@ def url(self) -> str: @property @pulumi.getter - def vpcs(self) -> Sequence[Any]: + def vpcs(self) -> Sequence['outputs.GetInputDestinationVpcResult']: return pulumi.get(self, "vpcs") +@pulumi.output_type +class GetInputDestinationVpcResult(dict): + def __init__(__self__, *, + availability_zone: str, + network_interface_id: str): + pulumi.set(__self__, "availability_zone", availability_zone) + pulumi.set(__self__, "network_interface_id", network_interface_id) + + @property + @pulumi.getter(name="availabilityZone") + def availability_zone(self) -> str: + return pulumi.get(self, "availability_zone") + + @property + @pulumi.getter(name="networkInterfaceId") + def network_interface_id(self) -> str: + return pulumi.get(self, "network_interface_id") + + @pulumi.output_type class GetInputInputDeviceResult(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws/resourceexplorer/outputs.py b/sdk/python/pulumi_aws/resourceexplorer/outputs.py index 20fd2809274..b0769bfa7a1 100644 --- a/sdk/python/pulumi_aws/resourceexplorer/outputs.py +++ b/sdk/python/pulumi_aws/resourceexplorer/outputs.py @@ -13,11 +13,13 @@ else: from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities +from . import outputs __all__ = [ 'IndexTimeouts', 'SearchResourceResult', 'SearchResourceCountResult', + 'SearchResourcePropertyResult', 'ViewFilters', 'ViewIncludedProperty', ] @@ -71,7 +73,7 @@ def __init__(__self__, *, arn: str, last_reported_at: str, owning_account_id: str, - properties: Sequence[Any], + properties: Sequence['outputs.SearchResourcePropertyResult'], region: str, resource_type: str, service: str): @@ -79,7 +81,7 @@ def __init__(__self__, *, :param str arn: Amazon resource name of resource. :param str last_reported_at: The date and time that the information about this resource property was last updated. :param str owning_account_id: Amazon Web Services account that owns the resource. - :param Sequence[Any] properties: Structure with additional type-specific details about the resource. See `properties` below. + :param Sequence['SearchResourcePropertyArgs'] properties: Structure with additional type-specific details about the resource. See `properties` below. :param str region: Amazon Web Services Region in which the resource was created and exists. :param str resource_type: Type of the resource. :param str service: Amazon Web Service that owns the resource and is responsible for creating and updating it. @@ -118,7 +120,7 @@ def owning_account_id(self) -> str: @property @pulumi.getter - def properties(self) -> Sequence[Any]: + def properties(self) -> Sequence['outputs.SearchResourcePropertyResult']: """ Structure with additional type-specific details about the resource. See `properties` below. """ @@ -178,6 +180,46 @@ def total_resources(self) -> int: return pulumi.get(self, "total_resources") +@pulumi.output_type +class SearchResourcePropertyResult(dict): + def __init__(__self__, *, + data: str, + last_reported_at: str, + name: str): + """ + :param str data: Details about this property. The content of this field is a JSON object that varies based on the resource type. + :param str last_reported_at: The date and time that the information about this resource property was last updated. + :param str name: Name of this property of the resource. + """ + pulumi.set(__self__, "data", data) + pulumi.set(__self__, "last_reported_at", last_reported_at) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def data(self) -> str: + """ + Details about this property. The content of this field is a JSON object that varies based on the resource type. + """ + return pulumi.get(self, "data") + + @property + @pulumi.getter(name="lastReportedAt") + def last_reported_at(self) -> str: + """ + The date and time that the information about this resource property was last updated. + """ + return pulumi.get(self, "last_reported_at") + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of this property of the resource. + """ + return pulumi.get(self, "name") + + @pulumi.output_type class ViewFilters(dict): @staticmethod diff --git a/sdk/python/pulumi_aws/ssm/outputs.py b/sdk/python/pulumi_aws/ssm/outputs.py index 13ec9784de2..b3c281b5bbb 100644 --- a/sdk/python/pulumi_aws/ssm/outputs.py +++ b/sdk/python/pulumi_aws/ssm/outputs.py @@ -48,6 +48,15 @@ 'PatchBaselineSource', 'ResourceDataSyncS3Destination', 'GetContactsRotationRecurrenceResult', + 'GetContactsRotationRecurrenceDailySettingResult', + 'GetContactsRotationRecurrenceMonthlySettingResult', + 'GetContactsRotationRecurrenceMonthlySettingHandOffTimeResult', + 'GetContactsRotationRecurrenceShiftCoverageResult', + 'GetContactsRotationRecurrenceShiftCoverageCoverageTimeResult', + 'GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndResult', + 'GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartResult', + 'GetContactsRotationRecurrenceWeeklySettingResult', + 'GetContactsRotationRecurrenceWeeklySettingHandOffTimeResult', 'GetInstancesFilterResult', 'GetMaintenanceWindowsFilterResult', 'GetPatchBaselineApprovalRuleResult', @@ -1632,12 +1641,12 @@ def sync_format(self) -> Optional[str]: @pulumi.output_type class GetContactsRotationRecurrenceResult(dict): def __init__(__self__, *, - daily_settings: Sequence[Any], - monthly_settings: Sequence[Any], + daily_settings: Sequence['outputs.GetContactsRotationRecurrenceDailySettingResult'], + monthly_settings: Sequence['outputs.GetContactsRotationRecurrenceMonthlySettingResult'], number_of_on_calls: int, recurrence_multiplier: int, - shift_coverages: Sequence[Any], - weekly_settings: Sequence[Any]): + shift_coverages: Sequence['outputs.GetContactsRotationRecurrenceShiftCoverageResult'], + weekly_settings: Sequence['outputs.GetContactsRotationRecurrenceWeeklySettingResult']): pulumi.set(__self__, "daily_settings", daily_settings) pulumi.set(__self__, "monthly_settings", monthly_settings) pulumi.set(__self__, "number_of_on_calls", number_of_on_calls) @@ -1647,12 +1656,12 @@ def __init__(__self__, *, @property @pulumi.getter(name="dailySettings") - def daily_settings(self) -> Sequence[Any]: + def daily_settings(self) -> Sequence['outputs.GetContactsRotationRecurrenceDailySettingResult']: return pulumi.get(self, "daily_settings") @property @pulumi.getter(name="monthlySettings") - def monthly_settings(self) -> Sequence[Any]: + def monthly_settings(self) -> Sequence['outputs.GetContactsRotationRecurrenceMonthlySettingResult']: return pulumi.get(self, "monthly_settings") @property @@ -1667,15 +1676,186 @@ def recurrence_multiplier(self) -> int: @property @pulumi.getter(name="shiftCoverages") - def shift_coverages(self) -> Sequence[Any]: + def shift_coverages(self) -> Sequence['outputs.GetContactsRotationRecurrenceShiftCoverageResult']: return pulumi.get(self, "shift_coverages") @property @pulumi.getter(name="weeklySettings") - def weekly_settings(self) -> Sequence[Any]: + def weekly_settings(self) -> Sequence['outputs.GetContactsRotationRecurrenceWeeklySettingResult']: return pulumi.get(self, "weekly_settings") +@pulumi.output_type +class GetContactsRotationRecurrenceDailySettingResult(dict): + def __init__(__self__, *, + hour_of_day: int, + minute_of_hour: int): + pulumi.set(__self__, "hour_of_day", hour_of_day) + pulumi.set(__self__, "minute_of_hour", minute_of_hour) + + @property + @pulumi.getter(name="hourOfDay") + def hour_of_day(self) -> int: + return pulumi.get(self, "hour_of_day") + + @property + @pulumi.getter(name="minuteOfHour") + def minute_of_hour(self) -> int: + return pulumi.get(self, "minute_of_hour") + + +@pulumi.output_type +class GetContactsRotationRecurrenceMonthlySettingResult(dict): + def __init__(__self__, *, + day_of_month: int, + hand_off_times: Sequence['outputs.GetContactsRotationRecurrenceMonthlySettingHandOffTimeResult']): + pulumi.set(__self__, "day_of_month", day_of_month) + pulumi.set(__self__, "hand_off_times", hand_off_times) + + @property + @pulumi.getter(name="dayOfMonth") + def day_of_month(self) -> int: + return pulumi.get(self, "day_of_month") + + @property + @pulumi.getter(name="handOffTimes") + def hand_off_times(self) -> Sequence['outputs.GetContactsRotationRecurrenceMonthlySettingHandOffTimeResult']: + return pulumi.get(self, "hand_off_times") + + +@pulumi.output_type +class GetContactsRotationRecurrenceMonthlySettingHandOffTimeResult(dict): + def __init__(__self__, *, + hour_of_day: int, + minute_of_hour: int): + pulumi.set(__self__, "hour_of_day", hour_of_day) + pulumi.set(__self__, "minute_of_hour", minute_of_hour) + + @property + @pulumi.getter(name="hourOfDay") + def hour_of_day(self) -> int: + return pulumi.get(self, "hour_of_day") + + @property + @pulumi.getter(name="minuteOfHour") + def minute_of_hour(self) -> int: + return pulumi.get(self, "minute_of_hour") + + +@pulumi.output_type +class GetContactsRotationRecurrenceShiftCoverageResult(dict): + def __init__(__self__, *, + coverage_times: Sequence['outputs.GetContactsRotationRecurrenceShiftCoverageCoverageTimeResult'], + map_block_key: str): + pulumi.set(__self__, "coverage_times", coverage_times) + pulumi.set(__self__, "map_block_key", map_block_key) + + @property + @pulumi.getter(name="coverageTimes") + def coverage_times(self) -> Sequence['outputs.GetContactsRotationRecurrenceShiftCoverageCoverageTimeResult']: + return pulumi.get(self, "coverage_times") + + @property + @pulumi.getter(name="mapBlockKey") + def map_block_key(self) -> str: + return pulumi.get(self, "map_block_key") + + +@pulumi.output_type +class GetContactsRotationRecurrenceShiftCoverageCoverageTimeResult(dict): + def __init__(__self__, *, + ends: Sequence['outputs.GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndResult'], + starts: Sequence['outputs.GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartResult']): + pulumi.set(__self__, "ends", ends) + pulumi.set(__self__, "starts", starts) + + @property + @pulumi.getter + def ends(self) -> Sequence['outputs.GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndResult']: + return pulumi.get(self, "ends") + + @property + @pulumi.getter + def starts(self) -> Sequence['outputs.GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartResult']: + return pulumi.get(self, "starts") + + +@pulumi.output_type +class GetContactsRotationRecurrenceShiftCoverageCoverageTimeEndResult(dict): + def __init__(__self__, *, + hour_of_day: int, + minute_of_hour: int): + pulumi.set(__self__, "hour_of_day", hour_of_day) + pulumi.set(__self__, "minute_of_hour", minute_of_hour) + + @property + @pulumi.getter(name="hourOfDay") + def hour_of_day(self) -> int: + return pulumi.get(self, "hour_of_day") + + @property + @pulumi.getter(name="minuteOfHour") + def minute_of_hour(self) -> int: + return pulumi.get(self, "minute_of_hour") + + +@pulumi.output_type +class GetContactsRotationRecurrenceShiftCoverageCoverageTimeStartResult(dict): + def __init__(__self__, *, + hour_of_day: int, + minute_of_hour: int): + pulumi.set(__self__, "hour_of_day", hour_of_day) + pulumi.set(__self__, "minute_of_hour", minute_of_hour) + + @property + @pulumi.getter(name="hourOfDay") + def hour_of_day(self) -> int: + return pulumi.get(self, "hour_of_day") + + @property + @pulumi.getter(name="minuteOfHour") + def minute_of_hour(self) -> int: + return pulumi.get(self, "minute_of_hour") + + +@pulumi.output_type +class GetContactsRotationRecurrenceWeeklySettingResult(dict): + def __init__(__self__, *, + day_of_week: str, + hand_off_times: Sequence['outputs.GetContactsRotationRecurrenceWeeklySettingHandOffTimeResult']): + pulumi.set(__self__, "day_of_week", day_of_week) + pulumi.set(__self__, "hand_off_times", hand_off_times) + + @property + @pulumi.getter(name="dayOfWeek") + def day_of_week(self) -> str: + return pulumi.get(self, "day_of_week") + + @property + @pulumi.getter(name="handOffTimes") + def hand_off_times(self) -> Sequence['outputs.GetContactsRotationRecurrenceWeeklySettingHandOffTimeResult']: + return pulumi.get(self, "hand_off_times") + + +@pulumi.output_type +class GetContactsRotationRecurrenceWeeklySettingHandOffTimeResult(dict): + def __init__(__self__, *, + hour_of_day: int, + minute_of_hour: int): + pulumi.set(__self__, "hour_of_day", hour_of_day) + pulumi.set(__self__, "minute_of_hour", minute_of_hour) + + @property + @pulumi.getter(name="hourOfDay") + def hour_of_day(self) -> int: + return pulumi.get(self, "hour_of_day") + + @property + @pulumi.getter(name="minuteOfHour") + def minute_of_hour(self) -> int: + return pulumi.get(self, "minute_of_hour") + + @pulumi.output_type class GetInstancesFilterResult(dict): def __init__(__self__, *,