def METHOD_NAME(self) -> image_builder.CfnInfrastructureConfiguration:
    """
    https://docs.aws.amazon.com/imagebuilder/latest/userguide/manage-infra-config.html
    Infrastructure configurations specify the Amazon EC2 infrastructure
    that Image Builder uses to build and test your EC2 Image Builder image
    :param instance_profile:
    :return:
    """
    # Make the profile that will be used by the image builder for this
    # instance
    instance_profile = self.make_instance_profile()
    infraconfig = image_builder.CfnInfrastructureConfiguration(
        self,
        "EEImageInfraConfig",
        name="EEImageInfraConfig",
        instance_types=["t3.xlarge"],
        instance_profile_name="EEImageInstanceProfile",
    )
    # infrastructure need to wait for instance profile
    # to complete before beginning deployment.
    infraconfig.add_depends_on(instance_profile)
    return infraconfig