1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. frauddetector
  6. Label

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    An label for fraud detector.

    Create Label Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Label(name: string, args?: LabelArgs, opts?: CustomResourceOptions);
    @overload
    def Label(resource_name: str,
              args: Optional[LabelArgs] = None,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Label(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              description: Optional[str] = None,
              name: Optional[str] = None,
              tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewLabel(ctx *Context, name string, args *LabelArgs, opts ...ResourceOption) (*Label, error)
    public Label(string name, LabelArgs? args = null, CustomResourceOptions? opts = null)
    public Label(String name, LabelArgs args)
    public Label(String name, LabelArgs args, CustomResourceOptions options)
    
    type: aws-native:frauddetector:Label
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_frauddetector_label" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args LabelArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LabelArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LabelArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LabelArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LabelArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Label Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Label resource accepts the following input properties:

    Description string
    The label description.
    Name string
    The name of the label.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    Tags associated with this label.
    Description string
    The label description.
    Name string
    The name of the label.
    Tags TagArgs
    Tags associated with this label.
    description string
    The label description.
    name string
    The name of the label.
    tags list(object)
    Tags associated with this label.
    description String
    The label description.
    name String
    The name of the label.
    tags List<Tag>
    Tags associated with this label.
    description string
    The label description.
    name string
    The name of the label.
    tags Tag[]
    Tags associated with this label.
    description str
    The label description.
    name str
    The name of the label.
    tags Sequence[TagArgs]
    Tags associated with this label.
    description String
    The label description.
    name String
    The name of the label.
    tags List<Property Map>
    Tags associated with this label.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Label resource produces the following output properties:

    Arn string
    The label ARN.
    CreatedTime string
    The timestamp when the label was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTime string
    The timestamp when the label was last updated.
    Arn string
    The label ARN.
    CreatedTime string
    The timestamp when the label was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTime string
    The timestamp when the label was last updated.
    arn string
    The label ARN.
    created_time string
    The timestamp when the label was created.
    id string
    The provider-assigned unique ID for this managed resource.
    last_updated_time string
    The timestamp when the label was last updated.
    arn String
    The label ARN.
    createdTime String
    The timestamp when the label was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime String
    The timestamp when the label was last updated.
    arn string
    The label ARN.
    createdTime string
    The timestamp when the label was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime string
    The timestamp when the label was last updated.
    arn str
    The label ARN.
    created_time str
    The timestamp when the label was created.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated_time str
    The timestamp when the label was last updated.
    arn String
    The label ARN.
    createdTime String
    The timestamp when the label was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime String
    The timestamp when the label was last updated.

    Look up Existing Label Resource

    Get an existing Label resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Label
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Label
    func GetLabel(ctx *Context, name string, id IDInput, state *LabelState, opts ...ResourceOption) (*Label, error)
    public static Label Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Label get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingLabel:    type: aws-native:frauddetector:Label    get:      id: ${id}
    import {
      to = aws-native_frauddetector_label.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state LabelState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    Tag, TagArgs

    A set of tags to apply to the resource.

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial