Class FunctionState


  • public final class FunctionState
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FunctionState.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()  
      static FunctionState.Builder builder()  
      static FunctionState.Builder builder​(FunctionState defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> code()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> comment()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> etag()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> liveStageEtag()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> publish()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> runtime()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        Amazon Resource Name (ARN) identifying your CloudFront Function.
      • code

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> code()
        Returns:
        Source code of the function
      • comment

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> comment()
        Returns:
        Comment.
      • etag

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> etag()
        Returns:
        ETag hash of the function. This is the value for the `DEVELOPMENT` stage of the function.
      • liveStageEtag

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> liveStageEtag()
        Returns:
        ETag hash of any `LIVE` stage of the function.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Unique name for your CloudFront Function.
      • publish

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> publish()
        Returns:
        Whether to publish creation/change as Live CloudFront Function Version. Defaults to `true`.
      • runtime

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> runtime()
        Returns:
        Identifier of the function's runtime. Valid values are `cloudfront-js-1.0` and `cloudfront-js-2.0`. The following arguments are optional:
      • status

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
        Returns:
        Status of the function. Can be `UNPUBLISHED`, `UNASSOCIATED` or `ASSOCIATED`.