Class TestTypeRequest

    • Method Detail

      • arn

        public final String arn()

        The Amazon Resource Name (ARN) of the extension.

        Conditional: You must specify Arn, or TypeName and Type.

        Returns:
        The Amazon Resource Name (ARN) of the extension.

        Conditional: You must specify Arn, or TypeName and Type.

      • type

        public final ThirdPartyType type()

        The type of the extension to test.

        Conditional: You must specify Arn, or TypeName and Type.

        If the service returns an enum value that is not available in the current SDK version, type will return ThirdPartyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        The type of the extension to test.

        Conditional: You must specify Arn, or TypeName and Type.

        See Also:
        ThirdPartyType
      • typeAsString

        public final String typeAsString()

        The type of the extension to test.

        Conditional: You must specify Arn, or TypeName and Type.

        If the service returns an enum value that is not available in the current SDK version, type will return ThirdPartyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        The type of the extension to test.

        Conditional: You must specify Arn, or TypeName and Type.

        See Also:
        ThirdPartyType
      • typeName

        public final String typeName()

        The name of the extension to test.

        Conditional: You must specify Arn, or TypeName and Type.

        Returns:
        The name of the extension to test.

        Conditional: You must specify Arn, or TypeName and Type.

      • versionId

        public final String versionId()

        The version of the extension to test.

        You can specify the version id with either Arn, or with TypeName and Type.

        If you don't specify a version, CloudFormation uses the default version of the extension in this account and Region for testing.

        Returns:
        The version of the extension to test.

        You can specify the version id with either Arn, or with TypeName and Type.

        If you don't specify a version, CloudFormation uses the default version of the extension in this account and Region for testing.

      • logDeliveryBucket

        public final String logDeliveryBucket()

        The S3 bucket to which CloudFormation delivers the contract test execution logs.

        CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a test type status of PASSED or FAILED.

        The user calling TestType must be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions:

        • GetObject

        • PutObject

        For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide.

        Returns:
        The S3 bucket to which CloudFormation delivers the contract test execution logs.

        CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a test type status of PASSED or FAILED.

        The user calling TestType must be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions:

        • GetObject

        • PutObject

        For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide.

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object